Design Tokens
Design tokens are the foundational elements of our design system, defining key aspects of our product's visual language. They enable consistency and flexibility, allowing us to maintain a unified look and feel across all user interfaces.
Colors
Our color tokens are organized by their functional role, making it easy to apply the right color for backgrounds, text, borders, and more. This structured approach not only maintains a consistent and recognizable palette but also supports dynamic theming and customization.
If you are not sure which token to use, please visit our design token guideline page.
Stone
| Name | Color |
|---|---|
stone-50 | |
stone-100 | |
stone-200 | |
stone-300 | |
stone-400 | |
stone-500 | |
stone-600 | |
stone-700 | |
stone-800 | |
stone-900 | |
stone-950 |
Orange
| Name | Color |
|---|---|
orange-50 | |
orange-100 | |
orange-200 | |
orange-300 | |
orange-400 | |
orange-500 | |
orange-600 | |
orange-700 | |
orange-800 | |
orange-900 | |
orange-950 |
Blue
| Name | Color |
|---|---|
blue-50 | |
blue-100 | |
blue-200 | |
blue-300 | |
blue-400 | |
blue-500 | |
blue-600 | |
blue-700 | |
blue-800 | |
blue-900 | |
blue-950 |
Yellow
| Name | Color |
|---|---|
yellow-50 | |
yellow-100 | |
yellow-200 | |
yellow-300 | |
yellow-400 | |
yellow-500 | |
yellow-600 | |
yellow-700 | |
yellow-800 | |
yellow-900 | |
yellow-950 |
Green
| Name | Color |
|---|---|
green-50 | |
green-100 | |
green-200 | |
green-300 | |
green-400 | |
green-500 | |
green-600 | |
green-700 | |
green-800 | |
green-900 | |
green-950 |
Red
| Name | Color |
|---|---|
red-50 | |
red-100 | |
red-200 | |
red-300 | |
red-400 | |
red-500 | |
red-600 | |
red-700 | |
red-800 | |
red-900 | |
red-950 |
Base Semantic Tokens
| Name | Color |
|---|---|
background | |
foreground | |
brand | |
brand-foreground | |
secondary | |
secondary-foreground | |
hover | |
hover-foreground |
Feedback Semantic Tokens
| Name | Color |
|---|---|
destructive | |
destructive-foreground | |
destructive-muted | |
destructive-muted-foreground | |
destructive-muted-accent | |
success | |
success-foreground | |
success-muted | |
success-muted-foreground | |
success-muted-accent | |
warning | |
warning-foreground | |
warning-muted | |
warning-muted-foreground | |
warning-muted-accent | |
info | |
info-foreground | |
info-muted | |
info-muted-foreground | |
info-muted-accent | |
access-admin | |
access-admin-foreground | |
access-master | |
access-master-foreground |
State Semantic Tokens
| Name | Color |
|---|---|
muted | |
muted-foreground | |
disabled | |
disabled-foreground | |
placeholder | |
ring | |
input |
Typography
With a defined font family and various font sizes and weights, our typography maintains readability and hierarchy. The consistent use of typography contributes to a polished and cohesive user experience. For formatting dates or numbers we already have some helper components: NumericFormat, DateFormat.
The Value corresponds to the class name from Tailwind CSS.
We have tokens for:
| Name | Value | Example |
|---|---|---|
xs | text-xs | Marigolds bloom with vibrant colors. |
sm | text-sm | Marigolds bloom with vibrant colors. |
base | text-base | Marigolds bloom with vibrant colors. |
lg | text-lg | Marigolds bloom with vibrant colors. |
xl | text-xl | Marigolds bloom with vibrant colors. |
2xl | text-2xl | Marigolds bloom with vibrant colors. |
3xl | text-3xl | Marigolds bloom with vibrant colors. |
4xl | text-4xl | Marigolds bloom with vibrant colors. |
5xl | text-5xl | Marigolds bloom with vibrant colors. |
6xl | text-6xl | Marigolds bloom with vibrant colors. |
7xl | text-7xl | Marigolds bloom with vibrant colors. |
8xl | text-8xl | Marigolds bloom with vibrant colors. |
9xl | text-9xl | Marigolds bloom with vibrant colors. |
Headlines
The <Headline> component supports by default certain styles. They are listed as Tailwind class names.
| Level | Example | Styles |
|---|---|---|
| level-1 | Discover the Beauty of Marigold | text-3xl font-extrabold |
| level-2 | Discover the Beauty of Marigold | text-2xl font-bold |
| level-3 | Discover the Beauty of Marigold | text-xl font-semibold |
| level-4 | Discover the Beauty of Marigold | text-lg font-semibold |
| level-5 | Discover the Beauty of Marigold | text-base font-medium |
| level-6 | Discover the Beauty of Marigold | text-base font-normal |
Spacing
Consistent spacing ensures harmonious layouts and enhances visual flow. The defined spacing scale helps create balanced and accessible interfaces across different screen sizes. It's used for gap, padding, width and margin.
| Name | Value | Example |
|---|---|---|
0 | 0px | |
0.5 | 2px | |
1 | 4px | |
1.5 | 6px | |
2 | 8px | |
2.5 | 10px | |
3 | 12px | |
3.5 | 14px | |
4 | 16px | |
5 | 20px | |
6 | 24px | |
7 | 28px | |
8 | 32px | |
9 | 36px | |
10 | 40px | |
11 | 44px | |
12 | 48px | |
14 | 56px | |
16 | 64px | |
20 | 80px | |
24 | 96px | |
28 | 112px | |
32 | 128px | |
36 | 144px | |
40 | 160px | |
44 | 176px | |
48 | 192px | |
52 | 208px | |
56 | 224px | |
60 | 240px | |
64 | 256px | |
72 | 288px | |
80 | 320px | |
96 | 384px |
Besides this there are percentage values available for width property, which is found in form components. You can use them similar to the tokens above. Here is a list of the values: Tailwind percentage tokens
Radius
Standardized border radius contribute to a clean and modern design. These properties are applied to components, ensuring a cohesive appearance throughout our product.
rounded-sm 2pxrounded 4pxrounded-md 6pxrounded-lg 8pxrounded-xl 12pxrounded-2xl 16pxrounded-full 9999pxAlignment
Consistent alignment ensures that elements are arranged in a purposeful manner, enhancing clarity and user comprehension.
leftcenterrightbetweenaroundevenly