Note: This feature is only available in RStudio Preview, 1.1 or higher.
RStudio provides support for 3 global themes that customize RStudio's user interface: Classic, Modern and Sky. By default, the Modern theme is selected.
To switch between themes, from the "Global Options" menu, use the "RStudio theme" dropdown:
The modern theme uses a similar color palette to RStudio 1.0 but flattens all user interface elements: Panels, buttons, dialogs, etc. making it looks as follows:
The Sky theme is similar to the Modern theme, except for the tab and toolbar headers:
The dark theme is a superset to the Modern and Sky themes that is activated whenever the Editor theme uses a dark palette.
The following editor themes make use of a dark palette and would cause the RStudio Dark theme to become active:
- Clouds midnight
- Idle Fingers
- Kr Theme
- Merbivore Soft
- Mono Industrial
- Pastel on Dark
- Solarized Dark
- Tomorrow Night Blue
- Tomorrow Night Bright
- Tomorrow Night 80s
- Tomorrow Night
- Vibrant Ink
The Classic theme does not flatten any of the elements in the user interface and looks the in the same way that RStudio 1.0 and other versions used to look like:
For those interested in authoring packages or integrate themes programmatically, you can make use of the rstudioapi package. At the time of this writing, this will require using the development verison of this package by running:
Then we can query the current theme using:
which, for the Modern theme and Xcode this function would return:
which can be used to properly customize the output from your package to match the RStudio theme selected by each user.