Color customization
StartupJS separates palette colors (raw swatches) from semantic colors (named roles like bg-main or text-main). You can customize either layer depending on how much control you need.
Option 1: Static overrides (quick and simple)
Use CSS variable overrides when you just need to replace a few colors without changing the entire theme. This keeps derived colors intact and only swaps the variables you list.
Option 2: Theme switching (light/dark)
If you want to switch themes at runtime, generate full color sets from a palette.
Option 3: Advanced API (full control)
Use Palette when you need explicit control over how palette values map to semantic colors. This is useful when you want to avoid accidental collisions or build multiple themes from the same base palette.
Supported color formats
Overrides and palettes can use hex, RGB/RGBA strings, or Color instances from the advanced API.