@uncinq/component-tokens 0.3.0 → 1.0.0
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.
- package/README.md +107 -55
- package/{tokens/component → dist/css/components}/alert.css +5 -1
- package/{tokens/component → dist/css/components}/badge.css +8 -4
- package/dist/css/components/breadcrumb.css +20 -0
- package/dist/css/components/button.css +36 -0
- package/dist/css/components/card.css +31 -0
- package/dist/css/components/container.css +23 -0
- package/dist/css/components/details.css +26 -0
- package/dist/css/components/drawer.css +26 -0
- package/dist/css/components/dropdown.css +30 -0
- package/dist/css/components/embed.css +17 -0
- package/dist/css/components/figure.css +13 -0
- package/dist/css/components/heading.css +11 -0
- package/dist/css/components/hero.css +20 -0
- package/dist/css/components/item.css +44 -0
- package/dist/css/components/items.css +13 -0
- package/{tokens/component → dist/css/components}/link.css +6 -1
- package/dist/css/components/list.css +15 -0
- package/dist/css/components/logo.css +16 -0
- package/dist/css/components/map.css +13 -0
- package/dist/css/components/media.css +11 -0
- package/dist/css/components/modal.css +22 -0
- package/dist/css/components/nav.css +21 -0
- package/dist/css/components/pagination.css +26 -0
- package/dist/css/components/surtitle.css +21 -0
- package/dist/css/components/table.css +15 -0
- package/package.json +19 -8
- package/tokens/components/alert.json +26 -0
- package/tokens/components/badge.json +42 -0
- package/tokens/components/breadcrumb.json +56 -0
- package/tokens/components/button.json +138 -0
- package/tokens/components/card.json +108 -0
- package/tokens/components/container.json +66 -0
- package/tokens/components/details.json +90 -0
- package/tokens/components/drawer.json +78 -0
- package/tokens/components/dropdown.json +105 -0
- package/tokens/components/embed.json +40 -0
- package/tokens/components/figure.json +24 -0
- package/tokens/components/heading.json +14 -0
- package/tokens/components/hero.json +56 -0
- package/tokens/components/item.json +176 -0
- package/tokens/components/items.json +20 -0
- package/tokens/components/link.json +24 -0
- package/tokens/components/list.json +36 -0
- package/tokens/components/logo.json +34 -0
- package/tokens/components/map.json +26 -0
- package/tokens/components/media.json +14 -0
- package/tokens/components/modal.json +62 -0
- package/tokens/components/nav.json +62 -0
- package/tokens/components/pagination.json +86 -0
- package/tokens/components/surtitle.json +58 -0
- package/tokens/components/table.json +36 -0
- package/tokens/component/breadcrumb.css +0 -14
- package/tokens/component/button.css +0 -36
- package/tokens/component/card.css +0 -39
- package/tokens/component/container.css +0 -26
- package/tokens/component/details.css +0 -20
- package/tokens/component/drawer.css +0 -31
- package/tokens/component/dropdown.css +0 -37
- package/tokens/component/embed.css +0 -12
- package/tokens/component/figure.css +0 -9
- package/tokens/component/heading.css +0 -11
- package/tokens/component/hero.css +0 -25
- package/tokens/component/item.css +0 -54
- package/tokens/component/items.css +0 -8
- package/tokens/component/list.css +0 -15
- package/tokens/component/logo.css +0 -15
- package/tokens/component/map.css +0 -9
- package/tokens/component/media.css +0 -7
- package/tokens/component/modal.css +0 -25
- package/tokens/component/nav.css +0 -22
- package/tokens/component/pagination.css +0 -31
- package/tokens/component/surtitle.css +0 -16
- package/tokens/component/table.css +0 -11
- /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
|
|
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}-{
|
|
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}
|
|
36
|
-
-{
|
|
37
|
-
-{property}
|
|
38
|
-
-{state}
|
|
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
|
|
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-
|
|
57
|
-
--btn-color-
|
|
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:
|
|
61
|
-
--btn-padding-
|
|
62
|
-
--btn-padding-
|
|
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-
|
|
69
|
-
--btn-color-
|
|
70
|
-
--btn-
|
|
71
|
-
--btn-
|
|
72
|
-
--btn-padding-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
--badge-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
--hero-
|
|
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-
|
|
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/
|
|
132
|
-
@import '@uncinq/component-tokens/
|
|
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
|
|
139
|
-
<link rel="stylesheet" href="https://unpkg.com/@uncinq/component-tokens
|
|
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
|
-
|
|
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
|
|
151
|
-
badge.css
|
|
152
|
-
breadcrumb.css
|
|
153
|
-
button.css
|
|
154
|
-
card.css
|
|
155
|
-
container.css
|
|
156
|
-
details.css
|
|
157
|
-
drawer.css
|
|
158
|
-
dropdown.css
|
|
159
|
-
embed.css
|
|
160
|
-
figure.css
|
|
161
|
-
heading.css
|
|
162
|
-
hero.css
|
|
163
|
-
item.css
|
|
164
|
-
items.css
|
|
165
|
-
link.css
|
|
166
|
-
list.css
|
|
167
|
-
logo.css
|
|
168
|
-
map.css
|
|
169
|
-
media.css
|
|
170
|
-
nav.css
|
|
171
|
-
pagination.css
|
|
172
|
-
surtitle.css
|
|
173
|
-
table.css
|
|
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,13 +1,17 @@
|
|
|
1
|
-
|
|
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-
|
|
11
|
-
--badge-padding-
|
|
14
|
+
--badge-padding-inline: var(--spacing-xs);
|
|
15
|
+
--badge-padding-block: var(--spacing-2xs);
|
|
12
16
|
}
|
|
13
17
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
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: var(--breadcrumb-border-width) var(--breadcrumb-border-style) var(--breadcrumb-color-border);
|
|
9
|
+
--breadcrumb-border-style: var(--border-style-normal);
|
|
10
|
+
--breadcrumb-border-width: var(--border-width-sm);
|
|
11
|
+
--breadcrumb-color-border: var(--color-border);
|
|
12
|
+
--breadcrumb-color-separator: var(--color-text-muted);
|
|
13
|
+
--breadcrumb-color-text: var(--color-text-muted);
|
|
14
|
+
--breadcrumb-color-text-active: var(--color-text);
|
|
15
|
+
--breadcrumb-font-size: var(--font-size-xs);
|
|
16
|
+
--breadcrumb-gap: var(--spacing-xs);
|
|
17
|
+
--breadcrumb-padding-block: var(--spacing-xs);
|
|
18
|
+
--breadcrumb-separator: "/";
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -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,31 @@
|
|
|
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: var(--card-border-width) var(--card-border-style) var(--card-color-border);
|
|
9
|
+
--card-border-radius: var(--item-border-radius);
|
|
10
|
+
--card-border-style: var(--item-border-style);
|
|
11
|
+
--card-border-width: var(--item-border-width);
|
|
12
|
+
--card-color-background: var(--item-color-background);
|
|
13
|
+
--card-color-border: var(--item-color-border);
|
|
14
|
+
--card-color-text: var(--item-color-text);
|
|
15
|
+
--card-color-text-muted: var(--item-color-text-muted);
|
|
16
|
+
--card-gap: var(--item-gap);
|
|
17
|
+
--card-media-color-background: var(--item-media-color-background);
|
|
18
|
+
--card-media-order: var(--item-media-order);
|
|
19
|
+
--card-media-ratio: var(--item-media-ratio);
|
|
20
|
+
--card-order: var(--item-order);
|
|
21
|
+
--card-padding-inline: var(--item-padding-inline);
|
|
22
|
+
--card-padding-block: var(--item-padding-block);
|
|
23
|
+
--card-shadow: var(--item-shadow);
|
|
24
|
+
--card-shadow-hover: var(--item-shadow-hover);
|
|
25
|
+
--card-title-color: var(--item-title-color);
|
|
26
|
+
--card-title-font-size: var(--item-title-font-size);
|
|
27
|
+
--card-title-font-weight: var(--item-title-font-weight);
|
|
28
|
+
--card-title-line-height: var(--item-title-line-height);
|
|
29
|
+
--card-transition: box-shadow var(--duration-normal) var(--easing-default);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -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,17 @@
|
|
|
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: var(--embed-border-width) var(--embed-border-style) var(--embed-color-border);
|
|
9
|
+
--embed-border-radius: var(--radius-none);
|
|
10
|
+
--embed-border-style: var(--border-style-normal);
|
|
11
|
+
--embed-border-width: var(--border-width-sm);
|
|
12
|
+
--embed-box-shadow: none;
|
|
13
|
+
--embed-color-border: var(--color-border);
|
|
14
|
+
--embed-max-width: 100%;
|
|
15
|
+
--embed-ratio: var(--ratio-video);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -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,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: var(--border-width-sm) var(--border-style-normal) var(--color-border);
|
|
26
|
+
--item-metas-border-end: 0;
|
|
27
|
+
--item-metas-border-start: 0;
|
|
28
|
+
--item-metas-color-background: var(--item-color-background);
|
|
29
|
+
--item-metas-font-size: var(--font-size-2xs);
|
|
30
|
+
--item-metas-order: -1;
|
|
31
|
+
--item-metas-padding-inline: var(--spacing-card);
|
|
32
|
+
--item-metas-padding-block: var(--spacing-card) 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: box-shadow var(--duration-normal) var(--easing-default);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -1,8 +1,13 @@
|
|
|
1
|
-
|
|
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;
|
|
11
|
+
--link-transition: var(--transition-color);
|
|
7
12
|
}
|
|
8
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
|
+
}
|