R/themes.R

#' Apply a light theme to RStudio
#'
#' @importFrom rstudioapi applyTheme
#' @export
light_mode <- function() {
  rstudioapi::applyTheme("textmate (default)")
}

#' Apply a dark theme to RStudio
#'
#' @importFrom rstudioapi applyTheme
#' @export
dark_mode <- function() {
  rstudioapi::applyTheme("monokai")
}
andrewheiss/raddath documentation built on May 10, 2019, 10:32 a.m.