SkillAgentSearch skills...

ThemeSwitcher

Theme switcher addin for R Studio

Install / Use

/learn @bkam235/ThemeSwitcher
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Build Status

ThemeSwitcher

ThemeSwitcher enables R Studio users to quickly switch between a light and a dark theme of their preference through the R Studio addins functionality.

Demo:

Once the ThemeSwitcher package is installed, functionality is added automatically to the R Studio addins dropdown. No need to include library(ThemeSwitcher) in your R scripts.

Installation

# install.packages("devtools")
devtools::install_github("bkam235/ThemeSwitcher")

Setting theme preferences

ThemeSwitcher provides 2 function to set custom theme preferences:

  • ThemeSwitcher::set_light_theme(theme = "TextMate"): sets the light theme that the addin function "Light Theme" applies. Default is "TextMate" (R Studio default theme).
  • ThemeSwitcher::set_dark_theme(theme = "Material"): sets the light theme that the addin function "Dark Theme" applies. Default is "Material".

Both functions expect valid theme name as theme parameter. Valid theme names and their appearance can be found in R Studio under Tools/Global Options/Appearance/Editor Themes.

Valid theme names

As of R Studio 1.1.383, valid theme names are:

  • Ambiance
  • Chaos
  • Chrome
  • Clouds Midnight
  • Clouds
  • Cobalt
  • Crimson Editor
  • Dawn
  • Dracula
  • Dreamweaver
  • Eclipse
  • Idle Fingers
  • Katzenmilch
  • Kr Theme
  • Material
  • Merbivore Soft
  • Merbivore
  • Mono Industrial
  • Monokai
  • Pastel on Dark
  • Solarized Dark
  • Solarized Light
  • TextMate
  • Tomorrow Night Blue
  • Tomorrow Night Bright
  • Tomorrow Night 80
  • Vibrant Ink

Requirements

R Studio >= 0.99.878 (addins support)

Related Skills

View on GitHub
GitHub Stars8
CategoryDevelopment
Updated3y ago
Forks1

Languages

R

Security Score

75/100

Audited on Sep 17, 2022

No findings