Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/patrickshox/Mojave-Dark-RStudio-Theme
A Total-IDE Dark RStudio Theme inspired by Apple's dark aestheticcc.
https://github.com/patrickshox/Mojave-Dark-RStudio-Theme
dark-mode dark-theme rstudio rstudio-theme rstudio-themes
Last synced: 3 months ago
JSON representation
A Total-IDE Dark RStudio Theme inspired by Apple's dark aestheticcc.
- Host: GitHub
- URL: https://github.com/patrickshox/Mojave-Dark-RStudio-Theme
- Owner: patrickshox
- License: mit
- Created: 2019-09-16T03:03:59.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-03-03T23:51:49.000Z (8 months ago)
- Last Synced: 2024-04-29T12:34:12.837Z (7 months ago)
- Topics: dark-mode, dark-theme, rstudio, rstudio-theme, rstudio-themes
- Homepage:
- Size: 7.61 MB
- Stars: 241
- Watchers: 6
- Forks: 25
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - patrickshox/Mojave-Dark-RStudio-Theme - A Total-IDE Dark RStudio Theme inspired by Apple's dark aestheticcc. (Others)
README
⚠️ I'm currently looking for someone interested in maintaining this project. As of now, I am no longer maintaining it. Email me at [email protected] if you're interested. ⚠️
# Mojave Dark: An RStudio Theme for Apple Lovers
![](https://github.com/patrickshox/Mojave-Dark-RStudio-Theme/blob/master/Demo%20Images%20and%20Gifs/Main.png)
### Dark styles across the entire IDE, not just the editor:
### *(Optional)* Dynamic darkening of plots and markdown:
Plot (white to alpha) | Markdown (invert colors)
:--------------------------------:|:-------------------------:
![](https://github.com/patrickshox/Mojave-Dark-RStudio-Theme/blob/master/Demo%20Images%20and%20Gifs/PlotsWhiteTransparencyDemo.gif) | ![](https://github.com/patrickshox/Mojave-Dark-RStudio-Theme/blob/master/Demo%20Images%20and%20Gifs/MarkdownColorInversionDemo.gif)### An Xcode-inspired debugger:
![](https://github.com/patrickshox/Mojave-Dark-RStudio-Theme/blob/master/Demo%20Images%20and%20Gifs/DebugStyles.png)### Code coloring inspired by Xcode:
Mojave Dark | Xcode
:-----------------------:|:-------------------------:
|## Installation
In RStudio Preferences > Appearance, **set the theme to Modern or Sky**. Currently, Mojave Dark doesn't work when the RStudio theme is set to Classic. Then, run the snippet in the RStudio console to install and apply Mojave Dark.
```
rstudioapi::addTheme("https://raw.githubusercontent.com/patrickshox/Mojave-Dark-RStudio-Theme/master/Mojave%20Dark.rstheme", apply=TRUE, force=TRUE)
rstudioapi::addTheme("https://raw.githubusercontent.com/patrickshox/Mojave-Dark-RStudio-Theme/master/Mojave%20Dark%20(Static).rstheme", apply=TRUE, force=TRUE)
```
The parameter `force=TRUE` will delete any other themes named "Mojave Dark" and the parameter `globally=TRUE` will install the theme for all users. This will also install a static version, "Mojave Dark (Static)", which does **not** dynamically darken plots and markdown.## Troubleshooting
- `Error in value[[3L]](cond): Unable to add the theme file "/var/folders/tj/w1l6l2hj11l4kpyhv4r2p6gh0000gn/T//RtmpZTjGp2/Mojave Dark.rstheme". The specified theme, "Mojave Dark", already exists in the target location. Please delete the existing theme and try again.`Go to the Folder (⌘ ⇧ G) `~/.R/rstudio/themes` and delete the file "Mojave Dark.rstheme". Then retry installing Mojave Dark.
- `Error in loadNamespace(name) : there is no package called ‘rstudioapi’`Run `install.packages("rstudioapi")`. Then retry installing Mojave Dark.