Colors
A list of colors available in Cerberus.
Semantic Tokens
Cerberus provides a set of semantic colors that drive our themes.
Page
Used for pages, layouts, and any other container that is relative to a page.
Action
The primary palette for actions, such as buttons, links, and other interactive elements.
Secondary Action
The secondary palette for actions, such as buttons, links, and other interactive elements.
Info
Used for informational elements, such as badges, tags, and other non-interactive elements.
Success
Used for success states, such as success messages, notifications, and other positive feedback.
Warning
Used for warning states, such as warning messages, notifications, and other cautionary feedback.
Danger
Used for danger states, such as error messages, notifications, and other negative feedback.
Data-Visualization
Used for data visualization elements, such as charts, graphs, and other visual representations of data.
Naming Convention
Cerberus uses a consistent naming convention for colors to ensure clarity and maintainability. Each color is named based on its purpose and context, making it easier to understand its intended use.
1[palette?].[usage].[prominence?].[interaction?]
Name | Description |
---|---|
Palette | The category/context of where the color is used. |
Usage | How the color is used within the context. |
Prominence | The hierarchy of the color used within the page context. |
Interaction | The element interaction type the color should be applied to. |
On this page