shiny_lum_0_100 {R.AlphA.Home}R 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.


[Package R.AlphA.Home version 1.0.0 Index]