shiny_lum_0_100: Set Shiny Background and Sidebar Colors to a Chosen Shade of...

View source: R/shiny_lum_0_100.R

shiny_lum_0_100R Documentation

Set Shiny Background and Sidebar Colors to a Chosen Shade of Grey

Description

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.

Usage

shiny_lum_0_100(lum)

Arguments

lum

Numeric. Luminosity level, ranging from 0 (black) to 100 (white).

Value

The HTML tags for setting the background and sidebar colors.


R.AlphA.Home documentation built on April 3, 2025, 5:53 p.m.