switchTheme: switchTheme

Description Usage Details Examples

View source: R/switchTheme.R

Description

This funcions checks if the current theme is dark. If this is the case, it changes to the light variant. Likewise, the theme is changed to the dark one if it wasn't previously.

Usage

1

Details

You need the environment variables RSTUDIO_LIGHT_THEME and RSTUDIO_DARK_THEME in your .Renviron file. Run 'usethis::edit_r_environ()' to edit it.

Examples

1
# Use the addins browser or activate via the addins menue to switch between themes.

jannikbuhr/themeSwitch documentation built on Feb. 13, 2020, 12:34 a.m.