I recently updated to R 4.2. and RStudio 2022.02.2-485. When changing the appearance to a dark theme (e.g. Abdal Black Hackers 2), some parts in RStudio's "Files" or "Packages" pane are oddly displayed. As you see in the image below, e.g. the names of the packages are in a kind of hyperlink blue instead of white. The same is also with the names of the folders and files in the files pane.
I started to notice the issue after having used the "rsthemes" package which did not darken RStudio as intended (here the issue which I filed with the package's maintainer). But after having deinstalled the rsthemes packages, reinstalled R and RStudio the issue with the wrong appearance of the file and packages pane remains.
I can only assume that the reason why rsthemes didn't work properly is due to the same cause which doesn't render the appearance of the files and packages pane properly.
Any idea what I could do to resolve this issue? Many thanks.
A quick addition (without claiming that I have any solid understanding of these things): It seems to me the issue is related to this property in RStudio's css
Worth to note, that on my other laptop with the same RStudio version (same operation system) the appearance works well so I couldnt reproduce the issue.