Skip to content

β›„οΈπŸŽ„πŸ–₯ A Holiday Theme for RStudio

Notifications You must be signed in to change notification settings

gadenbuie/yule-rstudio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

17 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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

About

β›„οΈπŸŽ„πŸ–₯ A Holiday Theme for RStudio

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages