StaticaddName for the new theme
Theme variables
StaticapplyApply a theme by name (must match folder name in /themes/)
Theme name (e.g., 'default', 'dark')
Optional base path for themes
Promise that resolves when theme is applied
StaticgetGet all available theme names
Array of available theme names
StaticgetGet the currently applied theme name
Current theme name or null if none applied
StaticgetGet theme variables for a specific theme
Theme name
Theme variables object or undefined if theme doesn't exist
StaticgetGet a CSS variable's current value
Variable name (e.g., '--primary-color')
CSS variable value
StatichasCheck if a theme exists in the predefined themes
Theme name to check
True if theme exists
StaticremoveRemove a custom theme
Name of the theme to remove
True if theme was removed, false if it didn't exist
StaticsetAlias for applyTheme method
Theme name to apply
Optional base path for themes
Promise that resolves when theme is applied
StaticsetSet theme variables from predefined themes
Theme name to apply variables from
StaticsetUpdate a single CSS variable globally
Variable name (e.g., '--primary-color')
CSS value (e.g., '#00aaff')
StaticsetSet multiple CSS variables at once
Object of variable name-value pairs
Add or update a custom theme