File: getThemeInfo.Rd

package info (click to toggle)
r-cran-rstudioapi 0.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 592 kB
  • sloc: makefile: 2
file content (24 lines) | stat: -rw-r--r-- 950 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/themes.R
\name{getThemeInfo}
\alias{getThemeInfo}
\title{Retrieve Themes}
\usage{
getThemeInfo()
}
\description{
Retrieves a list with information about the current color theme used by RStudio.
}
\details{
A list is returned with the following elements:
\describe{
\item{editor}{The name of the current editor theme, such as \code{Textmate}.}
\item{global}{The name of the current global theme. One of \code{Modern}, \code{Classic}, or
\code{Sky}.}
\item{dark}{\code{TRUE} if the editor theme is dark, \code{FALSE} otherwise.}
\item{foreground}{The current editor theme's default text foreground color, formatted as a
CSS-compatible color string, such as \code{rgb(1, 22, 39)}. Supported since RStudio 1.2.1214.}
\item{background}{The current editor theme's default text background color, formatted as a
CSS-compatible color string. Supported since RStudio 1.2.1214.}
}
}