where can I find good color themes for RStudio?

themes
#1

Yes, I am kind of lazy...

Are there any good repos of nicely crafted color themes for my new Rstudio 1.2 setup?
:innocent:

Thanks!

1 Like

#2

RStudio 1.2 supports .tmtheme files. There's a huge repository of them here:

https://tmtheme-editor.herokuapp.com/#!/editor/theme/Monokai

(click on the Gallery button on the upper left to see all the themes)

4 Likes

#3

haha pretty good my man

0 Likes

#4

I dont know if this is a bug or not, but I am unable to delete a theme I just installed (using the appearance pane, I click delete but the theme is still there after I confirm I want to delete it). Where are the themes files stored?

0 Likes

#5

Check this link: https://blog.rstudio.com/2018/10/29/rstudio-ide-custom-theme-support/

Summary of steps from the above link:

  1. Navigate to Tools > Global Options > Appearance.
  2. If the theme to be removed is the active theme, switch to a different theme.
  3. Select the theme to be removed from the list and click Remove.
  4. Select โ€œYesโ€ when prompted.
0 Likes

#6

hello yes I did that. switched to another theme before hitting delete.
but my theme is still on the list

0 Likes

#7

You're right. It stays on the list.

I had the theme in this location: C:\Users\Anirban\.R\rstudio\themes. Deleting this works for me on Windows 10.

From the above link:

rstheme files can be found in the .R directory under your home directory. On Windows, the path is C:\Users\<your user account>\Documents\.R\rstudio\themes . On all other operating systems, the path is ~/.R/rstudio/themes .

1 Like

#8

@Yarnabrina @jonathan I actually created a nice theme using your link. But now Rstudio complains about it:

Warning message:
In readLines(themeFile, encoding = "UTF-8") :
incomplete final line found on '/mydata/custom.tmTheme'

What should I do?

0 Likes

#9

Add a blank line to the end of your theme.

1 Like

#10

maravelous! :slight_smile: thanks!

1 Like

#11

@mara bonus question (if you have 2 min)

do you know what is the correct setting to change the box color here? I like my selection highlighting color being yellow but the second mara highlight (which is automatic because it matches the first one) is very very light...

Capture

0 Likes

#12

I do notโ€ฆ My method: use right-click "inspect element." It opens up the devtools pane just like in Chrome, and you can see what rules are applied.

1 Like

#13

@mara not sure this is something that can get customized actually.... :sob:

0 Likes