Description Usage Arguments Value Examples
Explicit foreground/background theme color functions are provided along with the primary adaptive color switcher function.
1 2 3 4 5 6 7 8 9 10 11 12 13 | adaptive_color(mode = c("light", "dark", "rstudio"), light, dark)
theme_background_color(
mode = c("light", "dark", "rstudio"),
light = "white",
dark = "#121212"
)
theme_foreground_color(
mode = c("light", "dark", "rstudio"),
light = "#262626",
dark = "#e1e1e1"
)
|
mode |
|
light, dark |
light and dark colors to auto-select from |
dark |
dark color to use |
length 1 character vector that represents a valid color
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.