StaticdarkStaticlightPass in functions that need conditional execution based on the current color scheme. The current color scheme is saved in ColorManager.current. This color scheme is used as reference. If ColorScheme.bsColorScheme is "dark" darkModeFn is executed, else lightModeFn.
{function} function to call when ColorScheme.bsColorScheme is "dark"
{function} function to call when ColorScheme.bsColorScheme is not "dark"
updates the bootstrap color scheme class attribute in an element
{HTMLElement}
{"bg" | "table" | "navbar"} bootstrap class that can take a color scheme as class attribute
Manages the change between ColorScheme Objects