On MacOS run the following in R:
repo <- "https://github.com/dyavorsky/my-rstudio-themes/blob/main/"
url <- paste0(repo, "atom_inspired", ".rstheme")
url <- paste0(repo, "catppuccin-mocha_inspired", ".rstheme")
rstudioapi::addTheme(url, apply = TRUE, force = TRUE)
This will appear in Tools > Global Options > Appearance > Editor Theme as One Dark {DY} or Catppuccin-Mocha {DY}
On Windows (or if you have issues applying the theme programatically on MacOS):
- Download the .rstheme file from this github repo
- Go to RStudio's Tools > Global Options > Appearance
- Under Editor Theme, click "Add"
- Select the .rstheme file from it's location on your machine
- Click "Apply"
To remove this theme, go to RStudio's Tools > Global Options > Appearance and click "Remove" or simply run
rstudioapi::removeTheme("One Dark {DY}")
More information on custom RStudio themes can be found here:
- Posit's article "Using Themes in the RStudio IDE" [link]
- RStudio Extensions website for "Creating Custom Themes for RStudio" [link]
- tkrable's GitHub repo for One Dark [link]
- The official Catppuccin website [link]
If you like the dark RStudio theme (not the editor theme), check out darkstudio [link]

