Tokens
Content
Used for body content, including text, icons, and borders. Ensures readability and contrast in UI elements.
Token structure
—color-content-[high|low]-[border|icon|text]
[border|icon|text]-[high|low]
Examples:
|
CSS Variable |
CSS Class Name |
|---|---|
|
var(--color-content-high-text) |
text-high |
|
var(--color-content-medium-border) |
border-medium |
|
var(--color-content-low-icon) |
icon-low |
Variables in Figma:
Level
Defines the background and surface colors of layouts. It helps in establishing depth and hierarchy.
Token structure:
—color-level-[00|05|10|15|20|30|40]-background
bg-level-[00|05|10|15|20|30|40]
Examples:
|
CSS Variable |
CSS Class |
|---|---|
|
var(--color-level-00-background) |
bg-level-00 |
|
var(--color-level-20-background) |
bg-level-20 |
|
var(--color-level-40-background) |
bg-level-40 |
Variables in Figma:
3. Interaction
Provides color definitions for interactive components such as buttons, links, and hover states.
Interaction Types
There are two types of interactive elements:
- Containers: Boxed shape components such as buttons.
- Links: Text-based interactive elements such as inline or standalone links.
a - Container Tokens
For containers, Nova Tycho provides two sets of tokens:
- High contrasted: Used for primary and critical actions.
- Low contrasted: Used for secondary and tertiary actions.
Although not the primary intention, these token sets allow you to recreate buttons with four levels of emphasis: high, medium, low, and lower.
Additionally, within the container group, there are two main variations:
- Branded Set: Uses interactive colors specific to the theme, such as orange in the Spark theme and petrol in the Ocean theme.
- Neutral Set: A gray-based interactive button is ideal for secondary actions requiring a more subtle appearance.
b - Link Tokens
The link token groups define the appearance of inline links and standalone links, ensuring clear distinction and accessibility.
Token structure:
- Branded button-like component:
—color-interaction-container-branded-[high|low]-[background|border|text|icon]-[default|active|hover]
[bg|border|text|icon]-interaction-container-branded-[high|low]-[default|active|hover]
- Neutral button-like component:
—color-interaction-container-neutral-[background|border|text|icon]-[default|active|hover]
[bg|border|text|icon]-interaction-container-neutral-[default|active|hover]
- Link component:
—color-interaction-link-[high|low]-[text|icon]-[default|active|hover]
[icon|text]-interaction-link-[high|low]-[text|icon]-[default|active|hover]
Examples:
|
CSS Variable |
CSS Class |
|---|---|
|
var(--color-interaction-container-branded-high-background) |
bg-interaction-container-branded-high |
|
var(--color-interaction-container-neutral-border-active) |
border-interaction-container-neutral-active |
|
var(--color-interaction-link-low-text-hover) |
text-interaction-link-low-hover |
Example of use in HTML:
<!-- High Emphasis Container -->
<div id="interactiveItemHigh" class="bg-interaction-container-branded-high
text-interaction-container-branded-high
border-interaction-container-branded-high
hover:bg-interaction-container-branded-high-hover"
>High Emphasis</div>
Variables in Figma:
Feedback
The feedback tokens are grouped based on their communication purpose, ensuring clarity and consistency when conveying different types of messages. These groups include:
- Information: Used for general notices and informative content.
- Warning: Indicates cautionary messages.
- Error: Highlights critical issues and errors.
- Neutral: Used for non-critical system messages.
- Success: Communicates positive outcomes and confirmations.
Each of these categories is available in two contrast levels:
- High Contrast: Ensures maximum visibility and emphasis.
- Low Contrast: Provides a more subtle, less intrusive presentation.
Token structure:
—color-feedback-[information|warning|success|error|neutral]-[high|low]-[background|border|icon|text]
[bg|border|icon|text]-feedback-[information|warning|success|error|neutral]-[high|low]
Examples:
|
CSS Variable |
CSS Class |
|---|---|
|
var(--color-feedback-success-high-background) |
bg-feedback-success-high |
|
var(--color-feedback-warning-low-icon) |
icon-feedback-warning-low |
|
var(--color-feedback-error-high-text) |
text-feedback-error-high |
Chart
Designed for visual data representation such as graphs, charts, and analytics.
Token structure:
—color-chart-[1|2|3|4|5|6|7|8|9|10]-[background|border|icon|text]
[bg|border|icon|text]-chart-[1|2|3|4|5|6|7|8|9|10]
Rainbow
Used for randomly assigned colors, such as avatars or category markers.
Token structure:
—color-rainbow-[1|2|3|4|5|6|7|8|9|10]-[background|border|icon|text]
[bg|border|icon|text]-rainbow-[1|2|3|4|5|6|7|8|9|10]
Inverted tokens
Additionally, a set of inverted tokens for the content, level, and link clusters allows designers to create content with inverted colors. This is particularly useful for specific sections such as footers or highlighted content blocks.
Token structure:
- Inverted content :
—color-content-inverted-[high|low]-[border|text|icon]
[bg|border|icon|text]-content-inverted-[high|low]
- Inverted level :
—color-level-inverted-[00|05|10|15|20|30|40]-background
bg-level-inverted-[00|05|10|15|20|30|40]
- Inverted link :
—color-interaction-link-inverted-[high|low]-[text|icon]-[default|active|hover]
[icon|text]-interaction-link-inverted-[high|low]-[text|icon]-[default|active|hover]
Examples:
|
CSS Variable |
CSS Class |
|---|---|
|
var(--color-level-inverted-00-background) |
bg-level-inverted-00 |
|
var(--color-content-inverted-text-medium) |
text-inverted-medium |
|
var(--color-interaction-link-inverted-high-icon-hover) |
icon-interaction-link-inverted-high-hover |