Bring yuletide cheer and seasons greetings to your favorite R IDE. Based on the Yule tmTheme and modified to fit in well with RStudio Dark Mode. It's surprisingly pleasant and merrily festive!
Featuring magical additions such as a candy cane style line highlight and a blinking Christmas-light cursor:
You'll need RStudio version 1.2. Grab the preview version here.
-
Run the following code in RStudio to download and apply the theme.
yule_theme <- fs::path_temp("Yule-RStudio", ext = "rstheme") download.file("https://git.io/yule-rstudio", yule_theme) rstudioapi::addTheme(yule_theme, apply = TRUE)
-
☕ Make a cup of hot coco,
📻 turn on SomaFM's Christmas Lounge,
💻 and enjoy coding by the open fire.
If the steps above don't work, you can manually download the Yule-RStudio.rstheme file and place it in .R/rstudio/themes
in your R home directory (see path.expand("~")
). Then, in the RStudio appearance settings, select the Yule RStudio editor theme.
This theme adds an animation to the regular and vim normal mode cursors that may increase your CPU usage.
To disable animations, edit the theme file in ~/.R/rstudio/themes/Yule-RStudio.rstheme
rstudioapi::navigateToFile(
fs::path_home_r(".R", "rstudio", "themes", "Yule-RStudio.rstheme")
)
Find the CSS blocks for .ace_cursor
and .normal-mode .ace_cursor
and comment out the lines starting with animation-*
.
.ace_cursor {
color: #ff0010;
/*
animation-name: xmas-colors;
animation-duration: 30s;
animation-iteration-count: infinite;
animation-timing-function: steps;
*/
}