colors()
Sets color overrides, merged with existing colors.
colors(overrides: Partial<Record<UIColor.ColorName, UIColor | string>>): this;
Notes
- These colors are used in light mode, or always if no dark colors are set.
Parameters
- overrides — Color name to value mapping.
Return value
The theme itself, for method chaining.
Examples
theme.colors({
accent: "#FF5722",
background: "#FFFFFF",
text: "#333333",
});
Related
class WebTheme
A class that represents a complete visual theme configuration.
