View source: R/shiny_lum_0_100.R
shiny_lum_0_100 | R Documentation |
Adjust the background color of a Shiny app's main body and sidebar based on a specified luminosity level.
The purpose is the same as lum_0_100() function, avoiding problems with high contrast between with graphic windows and dark themes.
shiny_lum_0_100(lum)
lum |
Numeric. Luminosity level, ranging from 0 (black) to 100 (white). |
The HTML tags for setting the background and sidebar colors.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.