R themes not displaying as in theme editor

I am using Rstudio Version 1.2.1555 on OSX. I want to use a custom theme and so I used Tm Theme Editor. I used Monokai theme with only small changes. The issue is that in the result does not look like the Tm Theme Editor preview.

Here is what the Theme editor preview says the code should look like:

But it doesn't look the same in Rstudio. Any idea what's going on?

Apparently new users can only post one image per post, so here's what that same code looks like in Rstudio with the same theme loaded.

This is because the R tokenizer used with the Tm Theme Editor differs slightly from that included in RStudio. So, while the colors should match, how they're used in the theme may differ in some places.

If you have concerns about how we're highlighting the code, you could file a feature request at https://github.com/rstudio/rstudio/issues.

is there any way to fix it? i cant figure out a way to change the colors for variables

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.