getThemeInfo | R Documentation |
Retrieves a list with information about the current color theme used by RStudio.
getThemeInfo()
A list is returned with the following elements:
The
name of the current editor theme, such as Textmate
.
The name of the current global theme. One of Modern
,
Classic
, or Sky
.
TRUE
if the editor theme
is dark, FALSE
otherwise.
The current editor
theme's default text foreground color, formatted as a CSS-compatible color
string, such as rgb(1, 22, 39)
. Supported since RStudio 1.2.1214.
The current editor theme's default text background color, formatted as a CSS-compatible color string. Supported since RStudio 1.2.1214.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.