RStudio 2022.02.2-485: issue with appearance

Hello,

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.

image

image

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

image

Hey,

I have exactly the same problem with RStudio 2022.02.01 Build 461. Have you found workaround for this issue?

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.

I solved it:

Right click on a given filename from right bottom box, click Inspect element and set the color code.

I assume this is not a permanent solution. Just reopen the RStudio and the issue reappears.

By now there is an open issue pending at RStudio's repository. You might want to flag there that you are also experiencing the issue.

Thanks, I left there a comment too.