@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
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"modal": {
|
|
3
|
+
"backdrop": {
|
|
4
|
+
"blur": {
|
|
5
|
+
"$value": "{blur.backdrop}",
|
|
6
|
+
"$type": "dimension"
|
|
7
|
+
},
|
|
8
|
+
"color": {
|
|
9
|
+
"$value": "{color.backdrop}",
|
|
10
|
+
"$type": "color"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"color": {
|
|
14
|
+
"background": {
|
|
15
|
+
"$value": "{color.background.surface}",
|
|
16
|
+
"$type": "color"
|
|
17
|
+
},
|
|
18
|
+
"border": {
|
|
19
|
+
"$value": "{color.border.default}",
|
|
20
|
+
"$type": "color"
|
|
21
|
+
},
|
|
22
|
+
"text": {
|
|
23
|
+
"$value": "{color.text.onSurface}",
|
|
24
|
+
"$type": "color"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"maxHeight": {
|
|
28
|
+
"$value": "none",
|
|
29
|
+
"$type": "string"
|
|
30
|
+
},
|
|
31
|
+
"maxWidth": {
|
|
32
|
+
"$value": "30rem",
|
|
33
|
+
"$type": "dimension"
|
|
34
|
+
},
|
|
35
|
+
"padding": {
|
|
36
|
+
"$value": "{spacing.surface}",
|
|
37
|
+
"$type": "dimension"
|
|
38
|
+
},
|
|
39
|
+
"radius": {
|
|
40
|
+
"$value": "{radius.surface}",
|
|
41
|
+
"$type": "dimension"
|
|
42
|
+
},
|
|
43
|
+
"shadow": {
|
|
44
|
+
"$value": "{shadow.surface}",
|
|
45
|
+
"$type": "shadow"
|
|
46
|
+
},
|
|
47
|
+
"transition": {
|
|
48
|
+
"duration": {
|
|
49
|
+
"$value": "{duration.slow}",
|
|
50
|
+
"$type": "duration"
|
|
51
|
+
},
|
|
52
|
+
"easing": {
|
|
53
|
+
"$value": "{easing.out-expo}",
|
|
54
|
+
"$type": "string"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"zIndex": {
|
|
58
|
+
"$value": "{zIndex.modal}",
|
|
59
|
+
"$type": "number"
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"nav": {
|
|
3
|
+
"color": {
|
|
4
|
+
"text": {
|
|
5
|
+
"default": {
|
|
6
|
+
"$value": "{color.link.default}",
|
|
7
|
+
"$type": "color"
|
|
8
|
+
},
|
|
9
|
+
"active": {
|
|
10
|
+
"$value": "{color.link.active}",
|
|
11
|
+
"$type": "color"
|
|
12
|
+
},
|
|
13
|
+
"hover": {
|
|
14
|
+
"$value": "{color.link.hover}",
|
|
15
|
+
"$type": "color"
|
|
16
|
+
},
|
|
17
|
+
"muted": {
|
|
18
|
+
"$value": "{color.text.muted}",
|
|
19
|
+
"$type": "color"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"fontSize": {
|
|
24
|
+
"$value": "{fontSize.text}",
|
|
25
|
+
"$type": "dimension"
|
|
26
|
+
},
|
|
27
|
+
"gap": {
|
|
28
|
+
"$value": "0",
|
|
29
|
+
"$type": "dimension"
|
|
30
|
+
},
|
|
31
|
+
"margin": {
|
|
32
|
+
"inline": {
|
|
33
|
+
"$value": "0",
|
|
34
|
+
"$type": "dimension"
|
|
35
|
+
},
|
|
36
|
+
"block": {
|
|
37
|
+
"$value": "0",
|
|
38
|
+
"$type": "dimension"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"padding": {
|
|
42
|
+
"inline": {
|
|
43
|
+
"$value": "{spacing.xs}",
|
|
44
|
+
"$type": "dimension"
|
|
45
|
+
},
|
|
46
|
+
"block": {
|
|
47
|
+
"$value": "{spacing.xs}",
|
|
48
|
+
"$type": "dimension"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"title": {
|
|
52
|
+
"fontSize": {
|
|
53
|
+
"$value": "{fontSize.md}",
|
|
54
|
+
"$type": "dimension"
|
|
55
|
+
},
|
|
56
|
+
"fontWeight": {
|
|
57
|
+
"$value": "{fontWeight.heading}",
|
|
58
|
+
"$type": "fontWeight"
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
{
|
|
2
|
+
"pagination": {
|
|
3
|
+
"disabled": {
|
|
4
|
+
"opacity": {
|
|
5
|
+
"$value": "{opacity.disabled}",
|
|
6
|
+
"$type": "number"
|
|
7
|
+
}
|
|
8
|
+
},
|
|
9
|
+
"gap": {
|
|
10
|
+
"$value": "{spacing.2xs}",
|
|
11
|
+
"$type": "dimension"
|
|
12
|
+
},
|
|
13
|
+
"icon": {
|
|
14
|
+
"first": {
|
|
15
|
+
"$value": "{icon.arrowSkip}",
|
|
16
|
+
"$type": "string"
|
|
17
|
+
},
|
|
18
|
+
"last": {
|
|
19
|
+
"$value": "{icon.arrowSkip}",
|
|
20
|
+
"$type": "string"
|
|
21
|
+
},
|
|
22
|
+
"next": {
|
|
23
|
+
"$value": "{icon.arrow}",
|
|
24
|
+
"$type": "string"
|
|
25
|
+
},
|
|
26
|
+
"previous": {
|
|
27
|
+
"$value": "{icon.arrow}",
|
|
28
|
+
"$type": "string"
|
|
29
|
+
},
|
|
30
|
+
"size": {
|
|
31
|
+
"$value": "{icon.size}",
|
|
32
|
+
"$type": "dimension"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"item": {
|
|
36
|
+
"border": {
|
|
37
|
+
"radius": {
|
|
38
|
+
"$value": "{radius.sm}",
|
|
39
|
+
"$type": "dimension"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"color": {
|
|
43
|
+
"background": {
|
|
44
|
+
"default": {
|
|
45
|
+
"$value": "transparent",
|
|
46
|
+
"$type": "color"
|
|
47
|
+
},
|
|
48
|
+
"active": {
|
|
49
|
+
"$value": "{color.brand.default}",
|
|
50
|
+
"$type": "color"
|
|
51
|
+
},
|
|
52
|
+
"hover": {
|
|
53
|
+
"$value": "{color.background.muted.default}",
|
|
54
|
+
"$type": "color"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"text": {
|
|
58
|
+
"default": {
|
|
59
|
+
"$value": "{color.text.default}",
|
|
60
|
+
"$type": "color"
|
|
61
|
+
},
|
|
62
|
+
"active": {
|
|
63
|
+
"$value": "{color.text.onBrand}",
|
|
64
|
+
"$type": "color"
|
|
65
|
+
},
|
|
66
|
+
"hover": {
|
|
67
|
+
"$value": "{color.text.default}",
|
|
68
|
+
"$type": "color"
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"fontSize": {
|
|
73
|
+
"$value": "{fontSize.sm}",
|
|
74
|
+
"$type": "dimension"
|
|
75
|
+
},
|
|
76
|
+
"fontWeight": {
|
|
77
|
+
"$value": "{fontWeight.normal}",
|
|
78
|
+
"$type": "fontWeight"
|
|
79
|
+
},
|
|
80
|
+
"size": {
|
|
81
|
+
"$value": "2.25rem",
|
|
82
|
+
"$type": "dimension"
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"surtitle": {
|
|
3
|
+
"border": {
|
|
4
|
+
"radius": {
|
|
5
|
+
"$value": "0",
|
|
6
|
+
"$type": "dimension"
|
|
7
|
+
},
|
|
8
|
+
"width": {
|
|
9
|
+
"$value": "0",
|
|
10
|
+
"$type": "dimension"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"color": {
|
|
14
|
+
"default": {
|
|
15
|
+
"$value": "{color.text.muted}",
|
|
16
|
+
"$type": "color"
|
|
17
|
+
},
|
|
18
|
+
"background": {
|
|
19
|
+
"$value": "transparent",
|
|
20
|
+
"$type": "color"
|
|
21
|
+
},
|
|
22
|
+
"border": {
|
|
23
|
+
"$value": "transparent",
|
|
24
|
+
"$type": "color"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"fontSize": {
|
|
28
|
+
"$value": "{fontSize.xs}",
|
|
29
|
+
"$type": "dimension"
|
|
30
|
+
},
|
|
31
|
+
"fontWeight": {
|
|
32
|
+
"$value": "{fontWeight.bold}",
|
|
33
|
+
"$type": "fontWeight"
|
|
34
|
+
},
|
|
35
|
+
"letterSpacing": {
|
|
36
|
+
"$value": "{letterSpacing.md}",
|
|
37
|
+
"$type": "dimension"
|
|
38
|
+
},
|
|
39
|
+
"lineHeight": {
|
|
40
|
+
"$value": "{lineHeight.normal}",
|
|
41
|
+
"$type": "number"
|
|
42
|
+
},
|
|
43
|
+
"margin": {
|
|
44
|
+
"block": {
|
|
45
|
+
"$value": "0 {spacing.2xs}",
|
|
46
|
+
"$type": "string"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"padding": {
|
|
50
|
+
"$value": "0",
|
|
51
|
+
"$type": "dimension"
|
|
52
|
+
},
|
|
53
|
+
"textTransform": {
|
|
54
|
+
"$value": "uppercase",
|
|
55
|
+
"$type": "string"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"table": {
|
|
3
|
+
"cell": {
|
|
4
|
+
"padding": {
|
|
5
|
+
"inline": {
|
|
6
|
+
"$value": "{spacing.sm}",
|
|
7
|
+
"$type": "dimension"
|
|
8
|
+
},
|
|
9
|
+
"block": {
|
|
10
|
+
"$value": "{spacing.xs}",
|
|
11
|
+
"$type": "dimension"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"color": {
|
|
16
|
+
"background": {
|
|
17
|
+
"header": {
|
|
18
|
+
"$value": "{color.background.muted.default}",
|
|
19
|
+
"$type": "color"
|
|
20
|
+
},
|
|
21
|
+
"striped": {
|
|
22
|
+
"$value": "{color.background.muted.default}",
|
|
23
|
+
"$type": "color"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"border": {
|
|
27
|
+
"$value": "{color.border.default}",
|
|
28
|
+
"$type": "color"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"fontSize": {
|
|
32
|
+
"$value": "{fontSize.sm}",
|
|
33
|
+
"$type": "dimension"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tokens/component/breadcrumb.css */
|
|
2
|
-
@layer config {
|
|
3
|
-
:root {
|
|
4
|
-
--breadcrumb-color-border: var(--color-border);
|
|
5
|
-
--breadcrumb-border-width: var(--border-width-normal);
|
|
6
|
-
--breadcrumb-color-text: var(--color-text-muted);
|
|
7
|
-
--breadcrumb-color-text-active: var(--color-text);
|
|
8
|
-
--breadcrumb-color-separator: var(--color-text-muted);
|
|
9
|
-
--breadcrumb-font-size: var(--font-size-xs);
|
|
10
|
-
--breadcrumb-gap: var(--spacing-xs);
|
|
11
|
-
--breadcrumb-separator: "/";
|
|
12
|
-
--breadcrumb-padding: var(--spacing-xs);
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/* tokens/component/button.css */
|
|
2
|
-
@layer config {
|
|
3
|
-
:root {
|
|
4
|
-
|
|
5
|
-
/* Border */
|
|
6
|
-
--btn-border-radius: var(--radius-control);
|
|
7
|
-
--btn-border-style: var(--border-style-solid);
|
|
8
|
-
--btn-border-width: var(--border-width-normal);
|
|
9
|
-
|
|
10
|
-
/* Color */
|
|
11
|
-
--btn-color-bg: var(--color-brand);
|
|
12
|
-
--btn-color-bg-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
|
-
|
|
18
|
-
/* Typography */
|
|
19
|
-
--btn-font-size: var(--font-size-sm);
|
|
20
|
-
--btn-font-weight: var(--font-weight-control);
|
|
21
|
-
|
|
22
|
-
/* Spacing */
|
|
23
|
-
--btn-gap: var(--spacing-sm);
|
|
24
|
-
--btn-padding-x: var(--spacing-control);
|
|
25
|
-
--btn-padding-y: var(--spacing-control);
|
|
26
|
-
|
|
27
|
-
/* Text decoration */
|
|
28
|
-
--btn-color-text-decoration: transparent;
|
|
29
|
-
--btn-color-text-decoration-hover: transparent;
|
|
30
|
-
--btn-text-decoration-line: underline;
|
|
31
|
-
--btn-text-transform: none;
|
|
32
|
-
|
|
33
|
-
/* Transitions */
|
|
34
|
-
--btn-transition: var(--transition-normal);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/* tokens/component/card.css */
|
|
2
|
-
/* Aliases for backwards compatibility — canonical tokens are --item-* */
|
|
3
|
-
@layer config {
|
|
4
|
-
:root {
|
|
5
|
-
|
|
6
|
-
/* Border */
|
|
7
|
-
--card-border-radius: var(--item-border-radius);
|
|
8
|
-
--card-border-style: var(--item-border-style);
|
|
9
|
-
--card-border-width: var(--item-border-width);
|
|
10
|
-
|
|
11
|
-
/* Button */
|
|
12
|
-
--card-btn-color-bg: var(--item-btn-color-bg);
|
|
13
|
-
--card-btn-border-width: var(--item-btn-border-width);
|
|
14
|
-
--card-btn-color-text: var(--item-btn-color-text);
|
|
15
|
-
|
|
16
|
-
/* Color */
|
|
17
|
-
--card-color-bg: var(--item-color-bg);
|
|
18
|
-
--card-color-border: var(--item-color-border);
|
|
19
|
-
--card-color-text: var(--item-color-text);
|
|
20
|
-
--card-color-text-muted: var(--item-color-text-muted);
|
|
21
|
-
--card-color-title: var(--item-color-title);
|
|
22
|
-
|
|
23
|
-
/* Font */
|
|
24
|
-
--card-font-size-title: var(--item-font-size-title);
|
|
25
|
-
--card-font-weight-title: var(--item-font-weight-title);
|
|
26
|
-
--card-line-height-title: var(--item-line-height-title);
|
|
27
|
-
|
|
28
|
-
/* Spacing */
|
|
29
|
-
--card-gap: var(--item-gap);
|
|
30
|
-
--card-padding: var(--item-padding);
|
|
31
|
-
|
|
32
|
-
/* Media */
|
|
33
|
-
--card-media-color-bg: var(--item-media-color-bg);
|
|
34
|
-
--card-media-ratio: var(--item-media-ratio);
|
|
35
|
-
|
|
36
|
-
/* Shadow */
|
|
37
|
-
--card-shadow: var(--item-shadow);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/* tokens/component/container.css */
|
|
2
|
-
@layer config {
|
|
3
|
-
:root {
|
|
4
|
-
|
|
5
|
-
/* Container */
|
|
6
|
-
--container-max-width-mobile: 100%;
|
|
7
|
-
--container-max-width-tablet: 100%;
|
|
8
|
-
--container-max-width-tablet-wide: 100%;
|
|
9
|
-
--container-max-width-laptop: 100%;
|
|
10
|
-
--container-max-width-desktop: var(--size-desktop);
|
|
11
|
-
|
|
12
|
-
/* Grid */
|
|
13
|
-
--columns: 12;
|
|
14
|
-
--gap: var(--spacing-sm);
|
|
15
|
-
--gutter: var(--spacing-fluid-md);
|
|
16
|
-
--grid-column: var(--grid-column-mobile);
|
|
17
|
-
|
|
18
|
-
/* Grid spans */
|
|
19
|
-
--grid-column-mobile: var(--span-full);
|
|
20
|
-
--grid-column-tablet: var(--span-half);
|
|
21
|
-
--grid-column-tablet-wide: var(--span-third);
|
|
22
|
-
--grid-column-laptop: var(--span-quarter);
|
|
23
|
-
--grid-column-desktop: var(--span-quarter);
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/* tokens/component/details.css */
|
|
2
|
-
@layer config {
|
|
3
|
-
:root {
|
|
4
|
-
--details-border: var(--border-width-normal) var(--border-style-solid) var(--details-color-border);
|
|
5
|
-
--details-border-radius: var(--radius-surface);
|
|
6
|
-
--details-box-shadow: var(--shadow-sm);
|
|
7
|
-
--details-box-shadow-hover: var(--shadow-center-md);
|
|
8
|
-
--details-color-bg: var(--color-bg);
|
|
9
|
-
--details-color-border: var(--color-border);
|
|
10
|
-
--details-color-border-open: var(--color-active);
|
|
11
|
-
--details-color-text: var(--color-text);
|
|
12
|
-
--details-icon: var(--icon-chevron);
|
|
13
|
-
--details-icon-size: var(--icon-size);
|
|
14
|
-
--details-margin: var(--spacing-sm);
|
|
15
|
-
--details-padding: var(--spacing-sm);
|
|
16
|
-
--details-summary-font-family: var(--font-family-heading);
|
|
17
|
-
--details-summary-font-size: var(--font-size-md);
|
|
18
|
-
--details-summary-font-weight: var(--font-weight-heading);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/* tokens/component/drawer.css */
|
|
2
|
-
@layer config {
|
|
3
|
-
:root {
|
|
4
|
-
/* Colors */
|
|
5
|
-
--drawer-color-bg: var(--color-bg-surface);
|
|
6
|
-
--drawer-color-text: var(--color-text-on-surface);
|
|
7
|
-
--drawer-color-border: var(--color-border);
|
|
8
|
-
|
|
9
|
-
/* Backdrop */
|
|
10
|
-
--drawer-backdrop-blur: var(--blur-backdrop);
|
|
11
|
-
--drawer-backdrop-color: var(--color-backdrop);
|
|
12
|
-
|
|
13
|
-
/* Position */
|
|
14
|
-
--drawer-bottom: 0;
|
|
15
|
-
--drawer-end: 0;
|
|
16
|
-
--drawer-start: auto;
|
|
17
|
-
--drawer-top: 0;
|
|
18
|
-
--drawer-translate: translateX(100%);
|
|
19
|
-
|
|
20
|
-
/* Layout */
|
|
21
|
-
--drawer-width: 320px;
|
|
22
|
-
--drawer-height: 50vh;
|
|
23
|
-
--drawer-padding: var(--spacing-surface);
|
|
24
|
-
--drawer-shadow: var(--shadow-surface);
|
|
25
|
-
--drawer-z-index: var(--z-index-drawer);
|
|
26
|
-
|
|
27
|
-
/* Transition — read by JS via getComputedStyle */
|
|
28
|
-
--drawer-transition-duration: var(--duration-slow);
|
|
29
|
-
--drawer-transition-easing: var(--easing-out-expo);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/* tokens/component/dropdown.css */
|
|
2
|
-
@layer config {
|
|
3
|
-
:root {
|
|
4
|
-
|
|
5
|
-
/* Colors — panel */
|
|
6
|
-
--dropdown-color-bg: var(--color-bg-surface);
|
|
7
|
-
--dropdown-color-text: var(--color-text-on-surface);
|
|
8
|
-
--dropdown-color-border: var(--color-border);
|
|
9
|
-
|
|
10
|
-
/* Layout */
|
|
11
|
-
--dropdown-min-width: 180px;
|
|
12
|
-
--dropdown-padding: var(--size-4);
|
|
13
|
-
--dropdown-z-index: 50;
|
|
14
|
-
|
|
15
|
-
/* Appearance */
|
|
16
|
-
--dropdown-border-width: var(--border-width-normal);
|
|
17
|
-
--dropdown-border-style: var(--border-style-solid);
|
|
18
|
-
--dropdown-border-radius: var(--radius-surface);
|
|
19
|
-
--dropdown-shadow: var(--shadow-sm);
|
|
20
|
-
|
|
21
|
-
/* Item */
|
|
22
|
-
--dropdown-item-color-bg: var(--color-bg);
|
|
23
|
-
--dropdown-item-color-bg-hover: var(--color-bg-muted);
|
|
24
|
-
--dropdown-item-border-radius: var(--radius-xs);
|
|
25
|
-
--dropdown-item-font-size: var(--font-size-xs);
|
|
26
|
-
--dropdown-item-padding: var(--spacing-2xs);
|
|
27
|
-
|
|
28
|
-
/* Icon */
|
|
29
|
-
--dropdown-icon: var(--icon-chevron);
|
|
30
|
-
--dropdown-icon-size: var(--icon-size);
|
|
31
|
-
|
|
32
|
-
/* Transition — read by JS via getComputedStyle */
|
|
33
|
-
--dropdown-transition-duration: var(--duration-fast);
|
|
34
|
-
--dropdown-transition-easing: var(--easing-out);
|
|
35
|
-
--dropdown-translate-y: -4px;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/* tokens/component/embed.css */
|
|
2
|
-
@layer config {
|
|
3
|
-
:root {
|
|
4
|
-
--embed-ratio: var(--ratio-16-9);
|
|
5
|
-
--embed-color-border: var(--color-border);
|
|
6
|
-
--embed-border-radius: var(--radius-none);
|
|
7
|
-
--embed-border-style: var(--border-style-solid);
|
|
8
|
-
--embed-border-width: 0;
|
|
9
|
-
--embed-box-shadow: none;
|
|
10
|
-
--embed-max-width: 100%;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/* tokens/component/heading.css */
|
|
2
|
-
@layer config {
|
|
3
|
-
:root {
|
|
4
|
-
--heading-gap: var(--spacing-xs);
|
|
5
|
-
--heading-margin-bottom: var(--spacing-md);
|
|
6
|
-
--heading-margin-bottom-tablet: var(--spacing-md);
|
|
7
|
-
--heading-margin-bottom-tablet-wide: var(--spacing-md);
|
|
8
|
-
--heading-margin-bottom-laptop: var(--spacing-lg);
|
|
9
|
-
--heading-margin-bottom-desktop: var(--spacing-xl);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/* tokens/component/hero.css */
|
|
2
|
-
@layer config {
|
|
3
|
-
:root {
|
|
4
|
-
/* Colors */
|
|
5
|
-
--hero-color-bg: var(--color-bg);
|
|
6
|
-
--hero-color-text: var(--color-text);
|
|
7
|
-
--hero-color-title: var(--color-text);
|
|
8
|
-
--hero-color-link: var(--color-text);
|
|
9
|
-
|
|
10
|
-
/* Layout */
|
|
11
|
-
--hero-min-height: 25rem;
|
|
12
|
-
--hero-min-height-tablet: 37.5rem;
|
|
13
|
-
--hero-min-height-desktop: 50rem;
|
|
14
|
-
|
|
15
|
-
/* Spacing */
|
|
16
|
-
--hero-gap: var(--spacing-sm);
|
|
17
|
-
--hero-padding: var(--spacing-md) 0;
|
|
18
|
-
|
|
19
|
-
/* Cover darken */
|
|
20
|
-
--hero-cover-brightness: 0.3;
|
|
21
|
-
|
|
22
|
-
/* Typography */
|
|
23
|
-
--hero-font-size-title: var(--font-size-heading-01);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/* tokens/component/item.css */
|
|
2
|
-
@layer config {
|
|
3
|
-
:root {
|
|
4
|
-
|
|
5
|
-
/* Border */
|
|
6
|
-
--item-border-radius: var(--radius-surface);
|
|
7
|
-
--item-border-style: var(--border-style-solid);
|
|
8
|
-
--item-border-width: var(--border-width-normal);
|
|
9
|
-
|
|
10
|
-
/* Button */
|
|
11
|
-
--item-btn-color-bg: transparent;
|
|
12
|
-
--item-btn-border-width: 0;
|
|
13
|
-
--item-btn-color-text: var(--color-brand);
|
|
14
|
-
--item-btn-padding: 0;
|
|
15
|
-
--item-btn-text-decoration: var(--text-decoration-none);
|
|
16
|
-
--item-btn-text-decoration-hover: var(--text-decoration-underline);
|
|
17
|
-
|
|
18
|
-
/* Color */
|
|
19
|
-
--item-color-bg: var(--color-bg);
|
|
20
|
-
--item-color-border: var(--color-border);
|
|
21
|
-
--item-color-text: var(--color-text);
|
|
22
|
-
--item-color-text-muted: var(--color-text-muted);
|
|
23
|
-
--item-color-title: var(--color-text);
|
|
24
|
-
|
|
25
|
-
/* Font */
|
|
26
|
-
--item-font-size-title: var(--font-size-md);
|
|
27
|
-
--item-font-weight-title: var(--font-weight-heading);
|
|
28
|
-
--item-line-height-title: var(--line-height-heading);
|
|
29
|
-
|
|
30
|
-
/* Spacing */
|
|
31
|
-
--item-gap: var(--spacing-sm);
|
|
32
|
-
--item-padding-x: var(--spacing-surface);
|
|
33
|
-
--item-padding-y: var(--spacing-surface);
|
|
34
|
-
|
|
35
|
-
/* Footer */
|
|
36
|
-
--item-footer-color-bg: var(--item-color-bg);
|
|
37
|
-
--item-footer-border-style: var(--border-style-solid);
|
|
38
|
-
--item-footer-border-width: var(--border-width-normal);
|
|
39
|
-
--item-footer-color-border: var(--color-border);
|
|
40
|
-
--item-footer-font-size: var(--font-size-xs);
|
|
41
|
-
--item-footer-padding-x: var(--spacing-surface);
|
|
42
|
-
--item-footer-padding-y: calc(var(--spacing-surface) / 2);
|
|
43
|
-
|
|
44
|
-
/* Media */
|
|
45
|
-
--item-media-color-bg: var(--media-color-bg);
|
|
46
|
-
--item-media-ratio: var(--media-ratio);
|
|
47
|
-
|
|
48
|
-
/* Shadow */
|
|
49
|
-
--item-shadow: var(--shadow-sm);
|
|
50
|
-
--item-shadow-hover: var(--shadow-md);
|
|
51
|
-
|
|
52
|
-
--item-transition: box-shadow var(--duration-normal) var(--easing-default)
|
|
53
|
-
}
|
|
54
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/* tokens/component/list.css */
|
|
2
|
-
@layer config {
|
|
3
|
-
:root {
|
|
4
|
-
|
|
5
|
-
/* Label */
|
|
6
|
-
--list-label-font-weight: var(--font-weight-bold);
|
|
7
|
-
--list-label-margin-bottom: var(--spacing-2xs);
|
|
8
|
-
|
|
9
|
-
/* Item */
|
|
10
|
-
--list-item-font-size: var(--font-size-sm);
|
|
11
|
-
--list-item-gap: var(--spacing-2xs);
|
|
12
|
-
--list-item-marker: '-';
|
|
13
|
-
--list-item-marker-gap: var(--spacing-2xs);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/* tokens/component/logo.css */
|
|
2
|
-
@layer config {
|
|
3
|
-
:root {
|
|
4
|
-
/* Image */
|
|
5
|
-
--logo-height: 1.5rem;
|
|
6
|
-
--logo-height-tablet: 2rem;
|
|
7
|
-
|
|
8
|
-
/* Text fallback (when no image) */
|
|
9
|
-
--logo-color: var(--color-text);
|
|
10
|
-
--logo-font-family: var(--font-family-heading);
|
|
11
|
-
--logo-font-size: var(--font-size-md);
|
|
12
|
-
--logo-font-weight: var(--font-weight-heading);
|
|
13
|
-
--logo-letter-spacing: var(--letter-spacing-normal);
|
|
14
|
-
}
|
|
15
|
-
}
|