@uncinq/component-tokens 0.4.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/README.md +107 -55
  2. package/{tokens/component → dist/css/components}/alert.css +7 -1
  3. package/{tokens/component → dist/css/components}/badge.css +8 -4
  4. package/dist/css/components/breadcrumb.css +19 -0
  5. package/dist/css/components/button.css +36 -0
  6. package/dist/css/components/card.css +30 -0
  7. package/dist/css/components/container.css +23 -0
  8. package/dist/css/components/details.css +26 -0
  9. package/dist/css/components/drawer.css +26 -0
  10. package/dist/css/components/dropdown.css +30 -0
  11. package/dist/css/components/embed.css +16 -0
  12. package/dist/css/components/figure.css +13 -0
  13. package/dist/css/components/heading.css +11 -0
  14. package/dist/css/components/hero.css +20 -0
  15. package/dist/css/components/item.css +44 -0
  16. package/dist/css/components/items.css +13 -0
  17. package/{tokens/component → dist/css/components}/link.css +6 -2
  18. package/dist/css/components/list.css +15 -0
  19. package/dist/css/components/logo.css +16 -0
  20. package/dist/css/components/map.css +13 -0
  21. package/dist/css/components/media.css +11 -0
  22. package/dist/css/components/modal.css +22 -0
  23. package/dist/css/components/nav.css +21 -0
  24. package/dist/css/components/pagination.css +26 -0
  25. package/dist/css/components/surtitle.css +21 -0
  26. package/dist/css/components/table.css +15 -0
  27. package/package.json +19 -8
  28. package/tokens/components/alert.json +34 -0
  29. package/tokens/components/badge.json +42 -0
  30. package/tokens/components/breadcrumb.json +52 -0
  31. package/tokens/components/button.json +138 -0
  32. package/tokens/components/card.json +104 -0
  33. package/tokens/components/container.json +66 -0
  34. package/tokens/components/details.json +90 -0
  35. package/tokens/components/drawer.json +78 -0
  36. package/tokens/components/dropdown.json +105 -0
  37. package/tokens/components/embed.json +36 -0
  38. package/tokens/components/figure.json +24 -0
  39. package/tokens/components/heading.json +14 -0
  40. package/tokens/components/hero.json +56 -0
  41. package/tokens/components/item.json +178 -0
  42. package/tokens/components/items.json +20 -0
  43. package/tokens/components/link.json +24 -0
  44. package/tokens/components/list.json +36 -0
  45. package/tokens/components/logo.json +34 -0
  46. package/tokens/components/map.json +26 -0
  47. package/tokens/components/media.json +14 -0
  48. package/tokens/components/modal.json +62 -0
  49. package/tokens/components/nav.json +62 -0
  50. package/tokens/components/pagination.json +86 -0
  51. package/tokens/components/surtitle.json +58 -0
  52. package/tokens/components/table.json +36 -0
  53. package/tokens/component/breadcrumb.css +0 -23
  54. package/tokens/component/button.css +0 -54
  55. package/tokens/component/card.css +0 -42
  56. package/tokens/component/container.css +0 -26
  57. package/tokens/component/details.css +0 -20
  58. package/tokens/component/drawer.css +0 -31
  59. package/tokens/component/dropdown.css +0 -38
  60. package/tokens/component/embed.css +0 -20
  61. package/tokens/component/figure.css +0 -9
  62. package/tokens/component/heading.css +0 -11
  63. package/tokens/component/hero.css +0 -25
  64. package/tokens/component/item.css +0 -58
  65. package/tokens/component/items.css +0 -9
  66. package/tokens/component/list.css +0 -15
  67. package/tokens/component/logo.css +0 -15
  68. package/tokens/component/map.css +0 -9
  69. package/tokens/component/media.css +0 -7
  70. package/tokens/component/modal.css +0 -25
  71. package/tokens/component/nav.css +0 -22
  72. package/tokens/component/pagination.css +0 -31
  73. package/tokens/component/surtitle.css +0 -17
  74. package/tokens/component/table.css +0 -11
  75. /package/{tokens → dist/css}/index.css +0 -0
package/README.md CHANGED
@@ -20,7 +20,7 @@ Where primitive and semantic tokens are provided by [@uncinq/design-tokens](http
20
20
  --color-brand: var(--color-indigo-600);
21
21
 
22
22
  /* component token from @uncinq/component-tokens */
23
- --btn-color-bg: var(--color-brand);
23
+ --btn-background-color: var(--color-brand);
24
24
  ```
25
25
 
26
26
  A component token answers: **"which semantic value does this part of this component use?"**
@@ -29,23 +29,34 @@ A component token answers: **"which semantic value does this part of this compon
29
29
 
30
30
  ## Naming convention
31
31
 
32
- All component tokens follow the pattern: `--{component}-{category?}-{property}`
32
+ All component tokens follow the pattern: `--{component}-{property}-{sub-property?}-{state?}`
33
+
34
+ The property mirrors the CSS property name, so the token reads the same way as the CSS declaration it controls.
33
35
 
34
36
  ```text
35
- --{component} --btn
36
- -{category} --btn-color
37
- -{property} --btn-color-bg
38
- -{state} --btn-color-bg-hover
37
+ --{component} --btn
38
+ -{property} --btn-background-color
39
+ -{sub-property} --btn-text-decoration-color
40
+ -{state} --btn-background-color-hover
39
41
  ```
40
42
 
41
43
  ### Rules
42
44
 
43
45
  - **Lowercase kebab-case** — always
44
46
  - **Component name first** — `--btn-*`, `--badge-*`, `--hero-*`
45
- - **`color-*` for all color values** — background, border, text all use `color-` prefix
47
+ - **`color-[role]` for all color tokens** — `color` is the category prefix, the UI role follows: `color-background`, `color-border`, `color-text`, `color-accent`, `color-placeholder`. This groups all color tokens alphabetically under `color-*`. `background` is never abbreviated: `color-background` not `color-bg`.
46
48
  - **States at the end** — `-hover`, `-focus`, `-active`, `-disabled`
47
49
  - **Reference semantic tokens** — never raw values; always `var(--semantic-token)`
48
- - **Alphabetical order** — tokens within a file are sorted alphabetically; group related tokens with a comment when the component has many properties:
50
+ - **Alphabetical order** — tokens within a file are sorted alphabetically within each group; group related tokens with a comment when the component has many properties:
51
+
52
+ | Token | Role | CSS property |
53
+ | --- | --- | --- |
54
+ | `--btn-color-background` | background | `background-color` |
55
+ | `--btn-color-border` | border | `border-color` |
56
+ | `--btn-color-text` | text | `color` |
57
+ | `--btn-color-text-decoration` | text-decoration | `text-decoration-color` |
58
+ | `--form-color-accent` | accent | `color` |
59
+ | `--input-color-placeholder` | placeholder | `color` |
49
60
 
50
61
  ```css
51
62
  /* Border */
@@ -53,29 +64,33 @@ All component tokens follow the pattern: `--{component}-{category?}-{property}`
53
64
  --btn-border-width: var(--border-width-normal);
54
65
 
55
66
  /* Color */
56
- --btn-color-bg: var(--color-brand);
57
- --btn-color-text: var(--color-text-on-brand);
67
+ --btn-color-background: var(--color-brand);
68
+ --btn-color-border: var(--color-brand);
69
+ --btn-color-text: var(--color-text-on-brand);
70
+ --btn-color-text-decoration: transparent;
58
71
 
59
72
  /* Spacing */
60
- --btn-gap: var(--spacing-xs);
61
- --btn-padding-x: var(--spacing-control);
62
- --btn-padding-y: var(--spacing-control);
73
+ --btn-gap: var(--spacing-xs);
74
+ --btn-padding-inline: var(--spacing-control);
75
+ --btn-padding-block: var(--spacing-control);
63
76
  ```
64
77
 
65
78
  ### Examples
66
79
 
67
80
  ```css
68
- --btn-color-bg: var(--color-brand);
69
- --btn-color-text: var(--color-text-on-brand);
70
- --btn-border-radius: var(--radius-control);
71
- --btn-padding-x: var(--spacing-control);
72
- --btn-padding-y: var(--spacing-control);
73
-
74
- --badge-border-radius: var(--radius-sm);
75
- --badge-color-bg: var(--color-bg-muted);
76
-
77
- --hero-color-bg: var(--color-bg);
78
- --hero-min-height: 50svh;
81
+ --btn-color-background: var(--color-brand);
82
+ --btn-color-border: var(--color-brand);
83
+ --btn-color-text: var(--color-text-on-brand);
84
+ --btn-border-radius: var(--radius-control);
85
+ --btn-padding-inline: var(--spacing-control);
86
+ --btn-padding-block: var(--spacing-control);
87
+
88
+ --badge-border-radius: var(--radius-sm);
89
+ --badge-color-background: var(--color-background-muted);
90
+
91
+ --hero-color-background: var(--color-background);
92
+ --hero-color-text: var(--color-text);
93
+ --hero-min-height: 50svh;
79
94
  ```
80
95
 
81
96
  ---
@@ -90,7 +105,7 @@ All tokens are declared inside `@layer config`, the lowest-priority layer in the
90
105
  /* your project overrides — same layer, wins by source order */
91
106
  @layer config {
92
107
  :root {
93
- --btn-color-bg: var(--color-secondary);
108
+ --btn-color-background: var(--color-secondary);
94
109
  --hero-min-height: 80svh;
95
110
  }
96
111
  }
@@ -128,49 +143,86 @@ yarn add @uncinq/component-tokens
128
143
 
129
144
  ```css
130
145
  @import '@uncinq/design-tokens';
131
- @import '@uncinq/component-tokens/tokens/component/button.css';
132
- @import '@uncinq/component-tokens/tokens/component/badge.css';
146
+ @import '@uncinq/component-tokens/css/component/button.css';
147
+ @import '@uncinq/component-tokens/css/component/badge.css';
133
148
  ```
134
149
 
135
150
  ### Usage — CDN (no build step)
136
151
 
137
152
  ```html
138
- <link rel="stylesheet" href="https://unpkg.com/@uncinq/design-tokens/tokens/index.css">
139
- <link rel="stylesheet" href="https://unpkg.com/@uncinq/component-tokens/tokens/index.css">
153
+ <link rel="stylesheet" href="https://unpkg.com/@uncinq/design-tokens">
154
+ <link rel="stylesheet" href="https://unpkg.com/@uncinq/component-tokens">
140
155
  ```
141
156
 
142
157
  ---
143
158
 
159
+ ## Customization
160
+
161
+ ### CSS override (recommended)
162
+
163
+ Re-declare any token inside `@layer config` after the import. Same layer, later source order wins:
164
+
165
+ ```css
166
+ @import '@uncinq/component-tokens';
167
+
168
+ @layer config {
169
+ :root {
170
+ --btn-color-background: var(--color-secondary);
171
+ --btn-border-radius: 0;
172
+ }
173
+ }
174
+ ```
175
+
176
+ ### JSON + rebuild
177
+
178
+ For deeper changes (adding new tokens, renaming), fork the JSON source files and run the build pipeline locally:
179
+
180
+ ```bash
181
+ npm install
182
+ npm run build # generates dist/css/component/*.css
183
+ ```
184
+
185
+ See [docs/STYLE-DICTIONARY.md](docs/STYLE-DICTIONARY.md) for build pipeline details and token naming conventions.
186
+
187
+ ---
188
+
144
189
  ## File structure
145
190
 
146
191
  ```text
147
- tokens/
148
- index.css ← imports all component token files
192
+ tokens/ ← DTCG JSON source files (edit these)
193
+ component/
194
+ alert.json
195
+ badge.json
196
+ button.json
197
+
198
+
199
+ dist/css/ ← generated CSS (do not edit)
200
+ index.css ← imports all component token files
149
201
  component/
150
- alert.css ← alert / notification banner
151
- badge.css ← badge / pill / tag
152
- breadcrumb.css ← breadcrumb navigation
153
- button.css ← button (all variants)
154
- card.css ← card (alias → item tokens)
155
- container.css ← layout container + grid columns
156
- details.css ← <details> / accordion
157
- drawer.css ← off-canvas panel / drawer
158
- dropdown.css ← dropdown menu
159
- embed.css ← video / iframe embed wrapper
160
- figure.css ← <figure> + <figcaption>
161
- heading.css ← heading typography scale
162
- hero.css ← hero / banner section
163
- item.css ← item (canonical card-like unit)
164
- items.css ← items grid / list wrapper
165
- link.css ← inline link
166
- list.css ← styled list
167
- logo.css ← logotype
168
- map.css ← embedded map
169
- media.css ← media object (image + text)
170
- nav.css ← navigation bar
171
- pagination.css ← pagination control
172
- surtitle.css ← small label above a heading
173
- table.css ← data table
202
+ alert.css ← alert / notification banner
203
+ badge.css ← badge / pill / tag
204
+ breadcrumb.css ← breadcrumb navigation
205
+ button.css ← button (all variants)
206
+ card.css ← card (alias → item tokens)
207
+ container.css ← layout container + grid columns
208
+ details.css ← <details> / accordion
209
+ drawer.css ← off-canvas panel / drawer
210
+ dropdown.css ← dropdown menu
211
+ embed.css ← video / iframe embed wrapper
212
+ figure.css ← <figure> + <figcaption>
213
+ heading.css ← heading typography scale
214
+ hero.css ← hero / banner section
215
+ item.css ← item (canonical card-like unit)
216
+ items.css ← items grid / list wrapper
217
+ link.css ← inline link
218
+ list.css ← styled list
219
+ logo.css ← logotype
220
+ map.css ← embedded map
221
+ media.css ← media object (image + text)
222
+ nav.css ← navigation bar
223
+ pagination.css ← pagination control
224
+ surtitle.css ← small label above a heading
225
+ table.css ← data table
174
226
  ```
175
227
 
176
228
  ---
@@ -1,7 +1,13 @@
1
- /* tokens/component/alert.css */
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+
5
+ /* components/alert.css */
2
6
  @layer config {
3
7
  :root {
4
8
  --alert-border-radius: var(--radius-none);
9
+ --alert-border-style: var(--border-style-normal);
10
+ --alert-border-width: var(--border-width-sm);
5
11
  --alert-font-size: var(--font-size-small);
6
12
  --alert-gap: var(--spacing-sm);
7
13
  --alert-margin: 0;
@@ -1,13 +1,17 @@
1
- /* tokens/component/badge.css */
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+
5
+ /* components/badge.css */
2
6
  @layer config {
3
7
  :root {
4
- --badge-color-border: transparent;
5
8
  --badge-border-radius: var(--radius-pill);
6
9
  --badge-border-style: solid;
7
10
  --badge-border-width: 0;
11
+ --badge-color-border: transparent;
8
12
  --badge-font-size: var(--font-size-2xs);
9
13
  --badge-font-weight: var(--font-weight-control);
10
- --badge-padding-x: var(--spacing-xs);
11
- --badge-padding-y: var(--spacing-2xs);
14
+ --badge-padding-inline: var(--spacing-xs);
15
+ --badge-padding-block: var(--spacing-2xs);
12
16
  }
13
17
  }
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+
5
+ /* components/breadcrumb.css */
6
+ @layer config {
7
+ :root {
8
+ --breadcrumb-border-style: var(--border-style-normal);
9
+ --breadcrumb-border-width: var(--border-width-sm);
10
+ --breadcrumb-color-border: var(--color-border);
11
+ --breadcrumb-color-separator: var(--color-text-muted);
12
+ --breadcrumb-color-text: var(--color-text-muted);
13
+ --breadcrumb-color-text-active: var(--color-text);
14
+ --breadcrumb-font-size: var(--font-size-xs);
15
+ --breadcrumb-gap: var(--spacing-xs);
16
+ --breadcrumb-padding-block: var(--spacing-xs);
17
+ --breadcrumb-separator: "/";
18
+ }
19
+ }
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+
5
+ /* components/button.css */
6
+ @layer config {
7
+ :root {
8
+ --btn-border-radius: var(--radius-control);
9
+ --btn-border-style: var(--border-style-normal);
10
+ --btn-border-width: var(--border-width-sm);
11
+ --btn-color-background: var(--color-brand);
12
+ --btn-color-background-hover: var(--color-brand-hover);
13
+ --btn-color-border: var(--color-brand);
14
+ --btn-color-border-hover: var(--color-brand);
15
+ --btn-color-text: var(--color-text-on-brand);
16
+ --btn-color-text-hover: var(--color-text-on-brand);
17
+ --btn-color-text-decoration: transparent;
18
+ --btn-color-text-decoration-hover: transparent;
19
+ --btn-control-color-background: var(--color-background-muted);
20
+ --btn-control-color-background-hover: var(--color-background-muted-hover);
21
+ --btn-control-color-border: transparent;
22
+ --btn-control-color-border-hover: transparent;
23
+ --btn-control-color-text: var(--color-text);
24
+ --btn-control-color-text-hover: var(--color-text);
25
+ --btn-font-size: var(--font-size-sm);
26
+ --btn-font-weight: var(--font-weight-control);
27
+ --btn-gap: var(--spacing-xs);
28
+ --btn-padding-inline: var(--spacing-control);
29
+ --btn-padding-block: var(--spacing-control);
30
+ --btn-shadow: var(--shadow-control);
31
+ --btn-shadow-hover: var(--shadow-control-hover);
32
+ --btn-text-decoration-line: underline;
33
+ --btn-text-transform: none;
34
+ --btn-transition: var(--transition-color);
35
+ }
36
+ }
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+
5
+ /* components/card.css */
6
+ @layer config {
7
+ :root {
8
+ --card-border-radius: var(--item-border-radius);
9
+ --card-border-style: var(--item-border-style);
10
+ --card-border-width: var(--item-border-width);
11
+ --card-color-background: var(--item-color-background);
12
+ --card-color-border: var(--item-color-border);
13
+ --card-color-text: var(--item-color-text);
14
+ --card-color-text-muted: var(--item-color-text-muted);
15
+ --card-gap: var(--item-gap);
16
+ --card-media-color-background: var(--item-media-color-background);
17
+ --card-media-order: var(--item-media-order);
18
+ --card-media-ratio: var(--item-media-ratio);
19
+ --card-order: var(--item-order);
20
+ --card-padding-inline: var(--item-padding-inline);
21
+ --card-padding-block: var(--item-padding-block);
22
+ --card-shadow: var(--item-shadow);
23
+ --card-shadow-hover: var(--item-shadow-hover);
24
+ --card-title-color: var(--item-title-color);
25
+ --card-title-font-size: var(--item-title-font-size);
26
+ --card-title-font-weight: var(--item-title-font-weight);
27
+ --card-title-line-height: var(--item-title-line-height);
28
+ --card-transition: var(--transition-box-shadow);
29
+ }
30
+ }
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+
5
+ /* components/container.css */
6
+ @layer config {
7
+ :root {
8
+ --columns: 12;
9
+ --container-max-width-mobile: 100%;
10
+ --container-max-width-tablet: 100%;
11
+ --container-max-width-tablet-wide: 100%;
12
+ --container-max-width-laptop: 100%;
13
+ --container-max-width-desktop: var(--size-desktop);
14
+ --gap: var(--spacing-sm);
15
+ --grid-column: var(--grid-column-mobile);
16
+ --grid-column-desktop: var(--span-quarter);
17
+ --grid-column-laptop: var(--span-quarter);
18
+ --grid-column-mobile: var(--span-full);
19
+ --grid-column-tablet: var(--span-half);
20
+ --grid-column-tablet-wide: var(--span-third);
21
+ --gutter: var(--spacing-fluid-md);
22
+ }
23
+ }
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+
5
+ /* components/details.css */
6
+ @layer config {
7
+ :root {
8
+ --details-border-radius: var(--radius-surface);
9
+ --details-box-shadow: var(--shadow-sm);
10
+ --details-box-shadow-hover: var(--shadow-md);
11
+ --details-color-background: var(--color-background);
12
+ --details-color-border: var(--color-border);
13
+ --details-color-border-open: var(--color-border-hover);
14
+ --details-color-text: var(--color-text);
15
+ --details-icon: var(--icon-chevron);
16
+ --details-icon-size: var(--icon-size);
17
+ --details-margin: var(--spacing-sm);
18
+ --details-content-padding-inline: var(--spacing-sm);
19
+ --details-content-padding-block: var(--spacing-sm);
20
+ --details-summary-font-family: var(--font-family-heading);
21
+ --details-summary-font-size: var(--font-size-md);
22
+ --details-summary-font-weight: var(--font-weight-heading);
23
+ --details-summary-padding-inline: var(--spacing-sm);
24
+ --details-summary-padding-block: var(--spacing-sm);
25
+ }
26
+ }
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+
5
+ /* components/drawer.css */
6
+ @layer config {
7
+ :root {
8
+ --drawer-backdrop-blur: var(--blur-backdrop);
9
+ --drawer-backdrop-color: var(--color-backdrop);
10
+ --drawer-bottom: 0;
11
+ --drawer-color-background: var(--color-background-surface);
12
+ --drawer-color-border: var(--color-border);
13
+ --drawer-color-text: var(--color-text-on-surface);
14
+ --drawer-end: 0;
15
+ --drawer-height: 50vh;
16
+ --drawer-padding: var(--spacing-surface);
17
+ --drawer-shadow: var(--shadow-surface);
18
+ --drawer-start: auto;
19
+ --drawer-top: 0;
20
+ --drawer-transition-duration: var(--duration-slow);
21
+ --drawer-transition-easing: var(--easing-out-expo);
22
+ --drawer-translate: translateX(100%);
23
+ --drawer-width: 320px;
24
+ --drawer-z-index: var(--z-index-drawer);
25
+ }
26
+ }
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+
5
+ /* components/dropdown.css */
6
+ @layer config {
7
+ :root {
8
+ --dropdown-border-radius: var(--radius-surface);
9
+ --dropdown-border-style: var(--border-style-normal);
10
+ --dropdown-border-width: var(--border-width-sm);
11
+ --dropdown-color-background: var(--color-background-surface);
12
+ --dropdown-color-border: var(--color-border);
13
+ --dropdown-color-text: var(--color-text-on-surface);
14
+ --dropdown-icon: var(--icon-chevron);
15
+ --dropdown-icon-size: var(--icon-size);
16
+ --dropdown-item-border-radius: var(--radius-xs);
17
+ --dropdown-item-color-background: var(--color-background);
18
+ --dropdown-item-color-background-hover: var(--color-background-muted);
19
+ --dropdown-item-font-size: var(--font-size-xs);
20
+ --dropdown-item-padding-inline: var(--spacing-2xs);
21
+ --dropdown-item-padding-block: var(--spacing-2xs);
22
+ --dropdown-min-width: 12rem;
23
+ --dropdown-padding: var(--size-4);
24
+ --dropdown-shadow: var(--shadow-sm);
25
+ --dropdown-transition-duration: var(--duration-fast);
26
+ --dropdown-transition-easing: var(--easing-out);
27
+ --dropdown-translate-y: -4px;
28
+ --dropdown-z-index: var(--z-index-dropdown);
29
+ }
30
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+
5
+ /* components/embed.css */
6
+ @layer config {
7
+ :root {
8
+ --embed-border-radius: var(--radius-none);
9
+ --embed-border-style: var(--border-style-normal);
10
+ --embed-border-width: var(--border-width-sm);
11
+ --embed-box-shadow: none;
12
+ --embed-color-border: var(--color-border);
13
+ --embed-max-width: 100%;
14
+ --embed-ratio: var(--ratio-video);
15
+ }
16
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+
5
+ /* components/figure.css */
6
+ @layer config {
7
+ :root {
8
+ --figure-figcaption-font-size: var(--font-size-sm);
9
+ --figure-figcaption-gap: var(--spacing-xs);
10
+ --figure-gap: var(--spacing-xs);
11
+ --figure-margin-block: var(--spacing-md);
12
+ }
13
+ }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+
5
+ /* components/heading.css */
6
+ @layer config {
7
+ :root {
8
+ --heading-gap: var(--spacing-xs);
9
+ --heading-margin-block-end: var(--spacing-fluid-md);
10
+ }
11
+ }
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+
5
+ /* components/hero.css */
6
+ @layer config {
7
+ :root {
8
+ --hero-color-background: var(--color-background);
9
+ --hero-color-link: var(--color-text);
10
+ --hero-color-text: var(--color-text);
11
+ --hero-cover-brightness: 0.3;
12
+ --hero-gap: var(--spacing-sm);
13
+ --hero-min-height: 25rem;
14
+ --hero-min-height-tablet: 37.5rem;
15
+ --hero-min-height-desktop: 50rem;
16
+ --hero-padding: var(--spacing-md) 0;
17
+ --hero-title-color: var(--color-text);
18
+ --hero-title-font-size: var(--font-size-heading-01);
19
+ }
20
+ }
@@ -0,0 +1,44 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+
5
+ /* components/item.css */
6
+ @layer config {
7
+ :root {
8
+ --item-border-radius: var(--radius-surface);
9
+ --item-border-style: var(--border-style-normal);
10
+ --item-border-width: var(--border-width-sm);
11
+ --item-btn-border-width: 0;
12
+ --item-btn-color-background: transparent;
13
+ --item-btn-color-text: var(--color-brand);
14
+ --item-btn-padding: 0;
15
+ --item-btn-text-decoration: none;
16
+ --item-btn-text-decoration-hover: underline;
17
+ --item-color-background: var(--color-background);
18
+ --item-color-border: var(--color-border);
19
+ --item-color-text: var(--color-text);
20
+ --item-color-text-muted: var(--color-text-muted);
21
+ --item-gap: var(--spacing-sm);
22
+ --item-media-color-background: var(--media-color-background);
23
+ --item-media-order: -2;
24
+ --item-media-ratio: var(--media-ratio);
25
+ --item-metas-border-end: 0;
26
+ --item-metas-border-start: 0;
27
+ --item-metas-color-background: var(--item-color-background);
28
+ --item-metas-font-size: var(--font-size-2xs);
29
+ --item-metas-order: -1;
30
+ --item-metas-padding-inline: var(--spacing-card);
31
+ --item-metas-padding-block-start: var(--spacing-card);
32
+ --item-metas-padding-block-end: 0;
33
+ --item-order: none;
34
+ --item-padding-inline: var(--spacing-card);
35
+ --item-padding-block: var(--spacing-card);
36
+ --item-shadow: var(--shadow-sm);
37
+ --item-shadow-hover: var(--shadow-md);
38
+ --item-title-color: var(--color-text);
39
+ --item-title-font-size: var(--font-size-md);
40
+ --item-title-font-weight: var(--font-weight-heading);
41
+ --item-title-line-height: var(--line-height-heading);
42
+ --item-transition: var(--transition-box-shadow);
43
+ }
44
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+
5
+ /* components/items.css */
6
+ @layer config {
7
+ :root {
8
+ --items-cols: auto-fill;
9
+ --items-gap: var(--gap);
10
+ --items-max-width: 100%;
11
+ --items-min-width: 30ch;
12
+ }
13
+ }
@@ -1,9 +1,13 @@
1
- /* tokens/component/link.css */
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+
5
+ /* components/link.css */
2
6
  @layer config {
3
7
  :root {
4
8
  --link-color-text-decoration: initial;
5
9
  --link-color-text-decoration-hover: transparent;
6
10
  --link-text-decoration-line: underline;
7
- --link-transition: var( --transition-color) ;
11
+ --link-transition: var(--transition-color);
8
12
  }
9
13
  }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+
5
+ /* components/list.css */
6
+ @layer config {
7
+ :root {
8
+ --list-item-font-size: var(--font-size-sm);
9
+ --list-item-gap: var(--spacing-2xs);
10
+ --list-item-marker: '-';
11
+ --list-item-marker-gap: var(--spacing-2xs);
12
+ --list-label-font-weight: var(--font-weight-bold);
13
+ --list-label-margin-block: var(--spacing-2xs);
14
+ }
15
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+
5
+ /* components/logo.css */
6
+ @layer config {
7
+ :root {
8
+ --logo-color: var(--color-text);
9
+ --logo-font-family: var(--font-family-heading);
10
+ --logo-font-size: var(--font-size-md);
11
+ --logo-font-weight: var(--font-weight-heading);
12
+ --logo-height: var(--size-24);
13
+ --logo-height-tablet: var(--size-32);
14
+ --logo-letter-spacing: 0;
15
+ }
16
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+
5
+ /* components/map.css */
6
+ @layer config {
7
+ :root {
8
+ --map-color-background: var(--color-background-muted);
9
+ --map-margin-block: var(--spacing-md);
10
+ --map-ratio: var(--ratio-cinema);
11
+ --map-ratio-mobile: var(--ratio-landscape);
12
+ }
13
+ }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+
5
+ /* components/media.css */
6
+ @layer config {
7
+ :root {
8
+ --media-color-background: var(--color-background-media);
9
+ --media-ratio: var(--ratio-video);
10
+ }
11
+ }