Skip to content

CaswellRyder/RStudio-OneDarkPro-Theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

One Dark Pro for RStudio

A 'Total IDE' build of the One Dark Pro theme for RStudio!

Installation

FIRST: In RStudio, go to Global Options -> Appearance and ensure either Modern or Sky are selected as the RStudio Theme at the top

Automatic

Run the following snippet in the RStudio Console:

rstudioapi::addTheme('https://raw.githubusercontent.com/CaswellRyder/RStudio-OneDarkPro-Theme/main/OneDarkPro_v1.rstheme', apply=TRUE, force=TRUE)

Note that this will override any other theme named 'One Dark Pro' you may have (this can be controlled by removing the force=True argument).

If you get the error:

Error in loadNamespace(name) : there is no package called 'rstudioapi'

run install.packages('rstudioapi') and try again.

Manual

  • Download the OneDarkPro_v1.rstheme file from this repository (or clone)
  • In RStudio go to Global Options -> Appearance, and click the Add... button under Editor Theme
  • Navigate to the downloaded OneDarkPro_v1.rstheme file, hit Open and you're good to go

Info

This theme was adapted from this theme

Note: There can be versioning issues with some of the various UI components (different item class codes etc). These usually present themselves as parts of the UI with white text on a white background. If you do run into any UI issues, feel free to look through the issues listed here or create a new one for me to take a look at.

The editor font I use is Fira Code, and the majority of the UI font is Open Sans. It is not necessary to install these.

If you have any suggested improvements, let me know here!

About

RStudio OneDarkPro Theme

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published