A util function to transform light mode color to dark mode color
Map of known colors
Reset known color record, clean up registered color variables.
Update all known colors to root container.
Whether container is in dark mode. When in dark mode, we add CSS color variables for all known colors. When in light mode, we will remove all those CSS color variables
Register a known color, and update it to root container via CSS color variable when in dark mode
Whether container is in dark mode.
The key of color, normally it is the name of color variable
A pair value of light color and dark color
Generated using TypeDoc
A handler object for dark color, used for variable-based dark color solution