Giter VIP home page Giter VIP logo

yule-rstudio's Introduction

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

yule-rstudio's People

Contributors

gadenbuie avatar hlynurhallgrims avatar tjmahr avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.