A 'Total IDE' build of the GitHub Dark theme for RStudio.
FIRST: In RStudio, go to Global Options -> Appearance and ensure either Modern
or Sky
are selected as the RStudio Theme
at the top
Run the following snippet in the RStudio Console:
rstudioapi::addTheme("https://raw.githubusercontent.com/rtjohnson12/rstudio-themes/master/src/github-dark.rstheme", apply=TRUE, force=TRUE)
Note that this will override any other theme named 'GitHub Dark' 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.
- Download the
github-dark.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
github-dark.rstheme
file, hitOpen
and you're good to go
This theme was adapted from this theme. 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.