β›„οΈπŸŽ„πŸ–₯ A Holiday Theme for RStudio
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
images
.gitignore
README.md
Yule-RStudio.rstheme

README.md

Yule RStudio β˜ƒοΈ πŸŽ„ 🎁

A Holiday Theme for RStudio

πŸŽ… 🀢 'Tis the season to be jolly!

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:

Installation

You'll need RStudio version 1.2. Grab the preview version here.

  1. 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)
  2. β˜• Make a cup of hot coco,

    πŸ“» turn on SomaFM's Christmas Lounge,

    πŸ’» and enjoy coding by the open fire.

Manual Installation

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.

Disclaimer: This theme may waste some CPU cycles in the spirit of the holidays!

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;
  */
}