Overview#
Nova Tycho provides a structured system of design tokens that ensures consistency, accessibility, and scalability across all digital products. These tokens are exposed as CSS variables and Tailwind utility classes, allowing seamless integration into different front-end frameworks (Blazor, Web Components, Angular, React, and Vue).
Nova Tycho introduces intentional classes for colors to create meaningful and consistent designs. These classes convey meaning rather than arbitrary color values and are grouped into specific clusters to serve different purposes in UI design.
How tokens work#
Each design token is stored in the Figma Nova Tycho Library and is translated into:
- A CSS variable, ready to use in raw CSS styles.
- A Tailwind utility class, mapped to its corresponding CSS variable for easy use in different frameworks.
Example using Nova CSS variables#
Ready to use CSS variables (included in the package)
:root {
--color-level-00-background: var(--color-gray-spark-00);
--color-content-medium-text: var(--color-gray-spark-550);
}
<div class="custom-component">
This content will have a background of level 00 and medium emphasis color
text.
</div>
<style>
.custom-component {
background-color: var(--color-level-00-background);
color: var(--color-content-medium-text);
}
</style>
Example using Nova utility classes#
Ready to use Nova Utility classes (created with Tailwind and included in the package)
<div class="bg-level-00 text-medium">
This content will have a background of level 00
</div>
The definitive source for our design tokens is the Nova Library Figma file. These tokens are exported as JSON into our system and style dictionary, which generates CSS variables while preserving the exact structure from Figma.
Our system provides a corresponding set of CSS utility classes, readily available in the frontend, eliminating the need to write custom CSS.
In front-end stacks#
Nova Tycho integrates with various front-end frameworks by providing:
- CSS Variables: Directly usable in stylesheets or inline styles.
- Tailwind Utility Classes: Predefined classes to apply token values instantly.
- Scoped Theme Support: Tokens adapt dynamically to dark/light modes or custom themes.
By leveraging these tokens and utility classes, developers and designers can ensure consistency and scalability while maintaining flexibility in building unique UI components.
The tokens#
Content#
Used for body content, including text, icons, and borders. Ensures readability and contrast in UI elements.
Token structure:
- CSS variable:
--color-content-[high|low]-[border|icon|text] - Utility class:
[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:
- CSS variable:
--color-level-[00|05|10|15|20|30|40]-background - Utility class:
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:
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.
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.
Link tokens
The link token groups define the appearance of inline links and standalone links, ensuring clear distinction and accessibility.
Link tokens are meant to be used only in the design files since Nova provides a nv-link class.
Token structure
Branded button-like component:
- CSS variable:
--color-interaction-container-branded-[high|low]-[background|border|text|icon]-[default|active|hover] - Utility class:
[bg|border|text|icon]-interaction-container-branded-[high|low]-[default|active|hover]
Neutral button-like component:
- CSS variable:
--color-interaction-container-neutral-[background|border|text|icon]-[default|active|hover] - Utility class:
[bg|border|text|icon]-interaction-container-neutral-[default|active|hover]
Link component:
- CSS variable:
--color-interaction-link-[high|low]-[text|icon]-[default|active|hover] - Utility class:
[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:
- CSS variable:
--color-feedback-[information|warning|success|error|neutral]-[high|low]-[background|border|icon|text] - Utility class:
[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:
- CSS variable:
--color-chart-[1|2|3|4|5|6|7|8|9|10]-[background|border|icon|text] - Utility class:
[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:
- CSS variable:
--color-rainbow-[1|2|3|4|5|6|7|8|9|10]-[background|border|icon|text] - Utility class:
[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:
- CSS variable:
--color-content-inverted-[high|low]-[border|text|icon] - Utility class:
[bg|border|icon|text]-content-inverted-[high|low]
Inverted level:
- CSS variable:
--color-level-inverted-[00|05|10|15|20|30|40]-background - Utility class:
bg-level-inverted-[00|05|10|15|20|30|40]
Inverted link:
- CSS variable:
--color-interaction-link-inverted-[high|low]-[text|icon]-[default|active|hover] - Utility class:
[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 |
Summary#
Design tokens are transformed into CSS variables and utility classes, providing a scalable and consistent way to apply styles across the system.
- Nova Tycho provides intentional color classes grouped into meaningful clusters.
- Intentional tokens are exposed as CSS variables and Tailwind utility classes.
- Supports multiple front-end frameworks (Blazor, Web Components, Angular, React, Vue).
- Ensures design consistency while allowing customization and theme adaptability.
- It includes inverted tokens for content and level clusters, which are useful for footers and special content sections.
- Provides structured interaction tokens to create custom interactive components with distinct container and link styles.
- Branded containers use the theme’s interactive color (orange in Spark, petrol in Ocean), while neutral containers provide a gray-based interactive button.
- Feedback tokens are categorized by communication purpose (information, warning, error, neutral, success) and are available in high-contrast and low-contrast options.
Use these classes and tokens to create accessible, scalable, unified UI experiences with Nova Tycho.