@uncinq/component-tokens 0.4.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/{tokens/component → dist/css/components}/breadcrumb.css +9 -12
- 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 -2
- 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/button.css +0 -54
- package/tokens/component/card.css +0 -42
- 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 -38
- package/tokens/component/embed.css +0 -20
- 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 -58
- package/tokens/component/items.css +0 -9
- 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 -17
- package/tokens/component/table.css +0 -11
- /package/{tokens → dist/css}/index.css +0 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/* components/modal.css */
|
|
6
|
+
@layer config {
|
|
7
|
+
:root {
|
|
8
|
+
--modal-backdrop-blur: var(--blur-backdrop);
|
|
9
|
+
--modal-backdrop-color: var(--color-backdrop);
|
|
10
|
+
--modal-color-background: var(--color-background-surface);
|
|
11
|
+
--modal-color-border: var(--color-border);
|
|
12
|
+
--modal-color-text: var(--color-text-on-surface);
|
|
13
|
+
--modal-max-height: none;
|
|
14
|
+
--modal-max-width: 30rem;
|
|
15
|
+
--modal-padding: var(--spacing-surface);
|
|
16
|
+
--modal-radius: var(--radius-surface);
|
|
17
|
+
--modal-shadow: var(--shadow-surface);
|
|
18
|
+
--modal-transition-duration: var(--duration-slow);
|
|
19
|
+
--modal-transition-easing: var(--easing-out-expo);
|
|
20
|
+
--modal-z-index: var(--z-index-modal);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/* components/nav.css */
|
|
6
|
+
@layer config {
|
|
7
|
+
:root {
|
|
8
|
+
--nav-color-text: var(--color-link);
|
|
9
|
+
--nav-color-text-active: var(--color-link-active);
|
|
10
|
+
--nav-color-text-hover: var(--color-link-hover);
|
|
11
|
+
--nav-color-text-muted: var(--color-text-muted);
|
|
12
|
+
--nav-font-size: var(--font-size-text);
|
|
13
|
+
--nav-gap: 0;
|
|
14
|
+
--nav-margin-inline: 0;
|
|
15
|
+
--nav-margin-block: 0;
|
|
16
|
+
--nav-padding-inline: var(--spacing-xs);
|
|
17
|
+
--nav-padding-block: var(--spacing-xs);
|
|
18
|
+
--nav-title-font-size: var(--font-size-md);
|
|
19
|
+
--nav-title-font-weight: var(--font-weight-heading);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/* components/pagination.css */
|
|
6
|
+
@layer config {
|
|
7
|
+
:root {
|
|
8
|
+
--pagination-disabled-opacity: var(--opacity-disabled);
|
|
9
|
+
--pagination-gap: var(--spacing-2xs);
|
|
10
|
+
--pagination-icon-first: var(--icon-arrow-skip);
|
|
11
|
+
--pagination-icon-last: var(--icon-arrow-skip);
|
|
12
|
+
--pagination-icon-next: var(--icon-arrow);
|
|
13
|
+
--pagination-icon-previous: var(--icon-arrow);
|
|
14
|
+
--pagination-icon-size: var(--icon-size);
|
|
15
|
+
--pagination-item-border-radius: var(--radius-sm);
|
|
16
|
+
--pagination-item-color-background: transparent;
|
|
17
|
+
--pagination-item-color-background-active: var(--color-brand);
|
|
18
|
+
--pagination-item-color-background-hover: var(--color-background-muted);
|
|
19
|
+
--pagination-item-color-text: var(--color-text);
|
|
20
|
+
--pagination-item-color-text-active: var(--color-text-on-brand);
|
|
21
|
+
--pagination-item-color-text-hover: var(--color-text);
|
|
22
|
+
--pagination-item-font-size: var(--font-size-sm);
|
|
23
|
+
--pagination-item-font-weight: var(--font-weight-normal);
|
|
24
|
+
--pagination-item-size: 2.25rem;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/* components/surtitle.css */
|
|
6
|
+
@layer config {
|
|
7
|
+
:root {
|
|
8
|
+
--surtitle-border-radius: 0;
|
|
9
|
+
--surtitle-border-width: 0;
|
|
10
|
+
--surtitle-color: var(--color-text-muted);
|
|
11
|
+
--surtitle-color-background: transparent;
|
|
12
|
+
--surtitle-color-border: transparent;
|
|
13
|
+
--surtitle-font-size: var(--font-size-xs);
|
|
14
|
+
--surtitle-font-weight: var(--font-weight-bold);
|
|
15
|
+
--surtitle-letter-spacing: var(--letter-spacing-md);
|
|
16
|
+
--surtitle-line-height: var(--line-height-normal);
|
|
17
|
+
--surtitle-margin-block: 0 var(--spacing-2xs);
|
|
18
|
+
--surtitle-padding: 0;
|
|
19
|
+
--surtitle-text-transform: uppercase;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/* components/table.css */
|
|
6
|
+
@layer config {
|
|
7
|
+
:root {
|
|
8
|
+
--table-cell-padding-inline: var(--spacing-sm);
|
|
9
|
+
--table-cell-padding-block: var(--spacing-xs);
|
|
10
|
+
--table-color-background-header: var(--color-background-muted);
|
|
11
|
+
--table-color-background-striped: var(--color-background-muted);
|
|
12
|
+
--table-color-border: var(--color-border);
|
|
13
|
+
--table-font-size: var(--font-size-sm);
|
|
14
|
+
}
|
|
15
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uncinq/component-tokens",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Framework-agnostic CSS design tokens — component layers.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -13,24 +13,35 @@
|
|
|
13
13
|
"url": "https://uncinq.dev/"
|
|
14
14
|
},
|
|
15
15
|
"keywords": [
|
|
16
|
-
"design-tokens",
|
|
17
|
-
"component-tokens",
|
|
18
16
|
"css",
|
|
17
|
+
"component-tokens",
|
|
19
18
|
"custom-properties",
|
|
20
|
-
"design-system"
|
|
19
|
+
"design-system",
|
|
20
|
+
"design-tokens",
|
|
21
|
+
"dtcg",
|
|
22
|
+
"tokens"
|
|
21
23
|
],
|
|
22
24
|
"files": [
|
|
25
|
+
"dist/css/",
|
|
23
26
|
"tokens/"
|
|
24
27
|
],
|
|
25
28
|
"exports": {
|
|
26
|
-
".": "./
|
|
27
|
-
"./
|
|
28
|
-
"./
|
|
29
|
+
".": "./dist/css/index.css",
|
|
30
|
+
"./css/index.css": "./dist/css/index.css",
|
|
31
|
+
"./css/components/*": "./dist/css/components/*",
|
|
32
|
+
"./tokens/*": "./tokens/*"
|
|
33
|
+
},
|
|
34
|
+
"style": "./dist/css/index.css",
|
|
35
|
+
"type": "module",
|
|
36
|
+
"scripts": {
|
|
37
|
+
"build": "style-dictionary build --config style-dictionary.config.js"
|
|
29
38
|
},
|
|
30
|
-
"style": "./tokens/index.css",
|
|
31
39
|
"peerDependencies": {
|
|
32
40
|
"@uncinq/design-tokens": "*"
|
|
33
41
|
},
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"style-dictionary": "^5.0.0"
|
|
44
|
+
},
|
|
34
45
|
"publishConfig": {
|
|
35
46
|
"access": "public"
|
|
36
47
|
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"alert": {
|
|
3
|
+
"border": {
|
|
4
|
+
"radius": {
|
|
5
|
+
"$value": "{radius.none}",
|
|
6
|
+
"$type": "dimension"
|
|
7
|
+
}
|
|
8
|
+
},
|
|
9
|
+
"fontSize": {
|
|
10
|
+
"$value": "{fontSize.small}",
|
|
11
|
+
"$type": "dimension"
|
|
12
|
+
},
|
|
13
|
+
"gap": {
|
|
14
|
+
"$value": "{spacing.sm}",
|
|
15
|
+
"$type": "dimension"
|
|
16
|
+
},
|
|
17
|
+
"margin": {
|
|
18
|
+
"$value": "0",
|
|
19
|
+
"$type": "dimension"
|
|
20
|
+
},
|
|
21
|
+
"padding": {
|
|
22
|
+
"$value": "{spacing.sm}",
|
|
23
|
+
"$type": "dimension"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"badge": {
|
|
3
|
+
"border": {
|
|
4
|
+
"radius": {
|
|
5
|
+
"$value": "{radius.pill}",
|
|
6
|
+
"$type": "dimension"
|
|
7
|
+
},
|
|
8
|
+
"style": {
|
|
9
|
+
"$value": "solid",
|
|
10
|
+
"$type": "strokeStyle"
|
|
11
|
+
},
|
|
12
|
+
"width": {
|
|
13
|
+
"$value": "0",
|
|
14
|
+
"$type": "dimension"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"color": {
|
|
18
|
+
"border": {
|
|
19
|
+
"$value": "transparent",
|
|
20
|
+
"$type": "color"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"fontSize": {
|
|
24
|
+
"$value": "{fontSize.2xs}",
|
|
25
|
+
"$type": "dimension"
|
|
26
|
+
},
|
|
27
|
+
"fontWeight": {
|
|
28
|
+
"$value": "{fontWeight.control}",
|
|
29
|
+
"$type": "fontWeight"
|
|
30
|
+
},
|
|
31
|
+
"padding": {
|
|
32
|
+
"inline": {
|
|
33
|
+
"$value": "{spacing.xs}",
|
|
34
|
+
"$type": "dimension"
|
|
35
|
+
},
|
|
36
|
+
"block": {
|
|
37
|
+
"$value": "{spacing.2xs}",
|
|
38
|
+
"$type": "dimension"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"breadcrumb": {
|
|
3
|
+
"border": {
|
|
4
|
+
"default": {
|
|
5
|
+
"$value": "{breadcrumb.border.width} {breadcrumb.border.style} {breadcrumb.color.border}",
|
|
6
|
+
"$type": "string"
|
|
7
|
+
},
|
|
8
|
+
"style": {
|
|
9
|
+
"$value": "{border.style.normal}",
|
|
10
|
+
"$type": "strokeStyle"
|
|
11
|
+
},
|
|
12
|
+
"width": {
|
|
13
|
+
"$value": "{border.width.sm}",
|
|
14
|
+
"$type": "dimension"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"color": {
|
|
18
|
+
"border": {
|
|
19
|
+
"$value": "{color.border.default}",
|
|
20
|
+
"$type": "color"
|
|
21
|
+
},
|
|
22
|
+
"separator": {
|
|
23
|
+
"$value": "{color.text.muted}",
|
|
24
|
+
"$type": "color"
|
|
25
|
+
},
|
|
26
|
+
"text": {
|
|
27
|
+
"default": {
|
|
28
|
+
"$value": "{color.text.muted}",
|
|
29
|
+
"$type": "color"
|
|
30
|
+
},
|
|
31
|
+
"active": {
|
|
32
|
+
"$value": "{color.text.default}",
|
|
33
|
+
"$type": "color"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"fontSize": {
|
|
38
|
+
"$value": "{fontSize.xs}",
|
|
39
|
+
"$type": "dimension"
|
|
40
|
+
},
|
|
41
|
+
"gap": {
|
|
42
|
+
"$value": "{spacing.xs}",
|
|
43
|
+
"$type": "dimension"
|
|
44
|
+
},
|
|
45
|
+
"padding": {
|
|
46
|
+
"block": {
|
|
47
|
+
"$value": "{spacing.xs}",
|
|
48
|
+
"$type": "dimension"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"separator": {
|
|
52
|
+
"$value": "\"/\"",
|
|
53
|
+
"$type": "string"
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
{
|
|
2
|
+
"btn": {
|
|
3
|
+
"border": {
|
|
4
|
+
"radius": {
|
|
5
|
+
"$value": "{radius.control}",
|
|
6
|
+
"$type": "dimension"
|
|
7
|
+
},
|
|
8
|
+
"style": {
|
|
9
|
+
"$value": "{border.style.normal}",
|
|
10
|
+
"$type": "strokeStyle"
|
|
11
|
+
},
|
|
12
|
+
"width": {
|
|
13
|
+
"$value": "{border.width.sm}",
|
|
14
|
+
"$type": "dimension"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"color": {
|
|
18
|
+
"background": {
|
|
19
|
+
"default": {
|
|
20
|
+
"$value": "{color.brand.default}",
|
|
21
|
+
"$type": "color"
|
|
22
|
+
},
|
|
23
|
+
"hover": {
|
|
24
|
+
"$value": "{color.brand.hover}",
|
|
25
|
+
"$type": "color"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"border": {
|
|
29
|
+
"default": {
|
|
30
|
+
"$value": "{color.brand.default}",
|
|
31
|
+
"$type": "color"
|
|
32
|
+
},
|
|
33
|
+
"hover": {
|
|
34
|
+
"$value": "{color.brand.default}",
|
|
35
|
+
"$type": "color"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"text": {
|
|
39
|
+
"default": {
|
|
40
|
+
"$value": "{color.text.onBrand}",
|
|
41
|
+
"$type": "color"
|
|
42
|
+
},
|
|
43
|
+
"hover": {
|
|
44
|
+
"$value": "{color.text.onBrand}",
|
|
45
|
+
"$type": "color"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"textDecoration": {
|
|
49
|
+
"default": {
|
|
50
|
+
"$value": "transparent",
|
|
51
|
+
"$type": "color"
|
|
52
|
+
},
|
|
53
|
+
"hover": {
|
|
54
|
+
"$value": "transparent",
|
|
55
|
+
"$type": "color"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"control": {
|
|
60
|
+
"color": {
|
|
61
|
+
"background": {
|
|
62
|
+
"default": {
|
|
63
|
+
"$value": "{color.background.muted.default}",
|
|
64
|
+
"$type": "color"
|
|
65
|
+
},
|
|
66
|
+
"hover": {
|
|
67
|
+
"$value": "{color.background.muted.hover}",
|
|
68
|
+
"$type": "color"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"border": {
|
|
72
|
+
"default": {
|
|
73
|
+
"$value": "transparent",
|
|
74
|
+
"$type": "color"
|
|
75
|
+
},
|
|
76
|
+
"hover": {
|
|
77
|
+
"$value": "transparent",
|
|
78
|
+
"$type": "color"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"text": {
|
|
82
|
+
"default": {
|
|
83
|
+
"$value": "{color.text.default}",
|
|
84
|
+
"$type": "color"
|
|
85
|
+
},
|
|
86
|
+
"hover": {
|
|
87
|
+
"$value": "{color.text.default}",
|
|
88
|
+
"$type": "color"
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"fontSize": {
|
|
94
|
+
"$value": "{fontSize.sm}",
|
|
95
|
+
"$type": "dimension"
|
|
96
|
+
},
|
|
97
|
+
"fontWeight": {
|
|
98
|
+
"$value": "{fontWeight.control}",
|
|
99
|
+
"$type": "fontWeight"
|
|
100
|
+
},
|
|
101
|
+
"gap": {
|
|
102
|
+
"$value": "{spacing.xs}",
|
|
103
|
+
"$type": "dimension"
|
|
104
|
+
},
|
|
105
|
+
"padding": {
|
|
106
|
+
"inline": {
|
|
107
|
+
"$value": "{spacing.control}",
|
|
108
|
+
"$type": "dimension"
|
|
109
|
+
},
|
|
110
|
+
"block": {
|
|
111
|
+
"$value": "{spacing.control}",
|
|
112
|
+
"$type": "dimension"
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"shadow": {
|
|
116
|
+
"default": {
|
|
117
|
+
"$value": "{shadow.control.default}",
|
|
118
|
+
"$type": "shadow"
|
|
119
|
+
},
|
|
120
|
+
"hover": {
|
|
121
|
+
"$value": "{shadow.control.hover}",
|
|
122
|
+
"$type": "shadow"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"textDecorationLine": {
|
|
126
|
+
"$value": "underline",
|
|
127
|
+
"$type": "string"
|
|
128
|
+
},
|
|
129
|
+
"textTransform": {
|
|
130
|
+
"$value": "none",
|
|
131
|
+
"$type": "string"
|
|
132
|
+
},
|
|
133
|
+
"transition": {
|
|
134
|
+
"$value": "{transition.color}",
|
|
135
|
+
"$type": "string"
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
{
|
|
2
|
+
"card": {
|
|
3
|
+
"border": {
|
|
4
|
+
"default": {
|
|
5
|
+
"$value": "{card.border.width} {card.border.style} {card.color.border}",
|
|
6
|
+
"$type": "string"
|
|
7
|
+
},
|
|
8
|
+
"radius": {
|
|
9
|
+
"$value": "{item.border.radius}",
|
|
10
|
+
"$type": "dimension"
|
|
11
|
+
},
|
|
12
|
+
"style": {
|
|
13
|
+
"$value": "{item.border.style}",
|
|
14
|
+
"$type": "strokeStyle"
|
|
15
|
+
},
|
|
16
|
+
"width": {
|
|
17
|
+
"$value": "{item.border.width}",
|
|
18
|
+
"$type": "dimension"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"color": {
|
|
22
|
+
"background": {
|
|
23
|
+
"$value": "{item.color.background}",
|
|
24
|
+
"$type": "color"
|
|
25
|
+
},
|
|
26
|
+
"border": {
|
|
27
|
+
"$value": "{item.color.border}",
|
|
28
|
+
"$type": "color"
|
|
29
|
+
},
|
|
30
|
+
"text": {
|
|
31
|
+
"default": {
|
|
32
|
+
"$value": "{item.color.text.default}",
|
|
33
|
+
"$type": "color"
|
|
34
|
+
},
|
|
35
|
+
"muted": {
|
|
36
|
+
"$value": "{item.color.text.muted}",
|
|
37
|
+
"$type": "color"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"gap": {
|
|
42
|
+
"$value": "{item.gap}",
|
|
43
|
+
"$type": "dimension"
|
|
44
|
+
},
|
|
45
|
+
"media": {
|
|
46
|
+
"color": {
|
|
47
|
+
"background": {
|
|
48
|
+
"$value": "{item.media.color.background}",
|
|
49
|
+
"$type": "color"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"order": {
|
|
53
|
+
"$value": "{item.media.order}",
|
|
54
|
+
"$type": "number"
|
|
55
|
+
},
|
|
56
|
+
"ratio": {
|
|
57
|
+
"$value": "{item.media.ratio}",
|
|
58
|
+
"$type": "string"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"order": {
|
|
62
|
+
"$value": "{item.order}",
|
|
63
|
+
"$type": "string"
|
|
64
|
+
},
|
|
65
|
+
"padding": {
|
|
66
|
+
"inline": {
|
|
67
|
+
"$value": "{item.padding.inline}",
|
|
68
|
+
"$type": "dimension"
|
|
69
|
+
},
|
|
70
|
+
"block": {
|
|
71
|
+
"$value": "{item.padding.block}",
|
|
72
|
+
"$type": "dimension"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"shadow": {
|
|
76
|
+
"default": {
|
|
77
|
+
"$value": "{item.shadow.default}",
|
|
78
|
+
"$type": "shadow"
|
|
79
|
+
},
|
|
80
|
+
"hover": {
|
|
81
|
+
"$value": "{item.shadow.hover}",
|
|
82
|
+
"$type": "string"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"title": {
|
|
86
|
+
"color": {
|
|
87
|
+
"$value": "{item.title.color}",
|
|
88
|
+
"$type": "color"
|
|
89
|
+
},
|
|
90
|
+
"fontSize": {
|
|
91
|
+
"$value": "{item.title.fontSize}",
|
|
92
|
+
"$type": "dimension"
|
|
93
|
+
},
|
|
94
|
+
"fontWeight": {
|
|
95
|
+
"$value": "{item.title.fontWeight}",
|
|
96
|
+
"$type": "fontWeight"
|
|
97
|
+
},
|
|
98
|
+
"lineHeight": {
|
|
99
|
+
"$value": "{item.title.lineHeight}",
|
|
100
|
+
"$type": "number"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"transition": {
|
|
104
|
+
"$value": "box-shadow var(--duration-normal) var(--easing-default)",
|
|
105
|
+
"$type": "string"
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"columns": {
|
|
3
|
+
"$value": 12,
|
|
4
|
+
"$type": "number"
|
|
5
|
+
},
|
|
6
|
+
"container": {
|
|
7
|
+
"maxWidth": {
|
|
8
|
+
"mobile": {
|
|
9
|
+
"$value": "100%",
|
|
10
|
+
"$type": "dimension"
|
|
11
|
+
},
|
|
12
|
+
"tablet": {
|
|
13
|
+
"$value": "100%",
|
|
14
|
+
"$type": "dimension"
|
|
15
|
+
},
|
|
16
|
+
"tabletWide": {
|
|
17
|
+
"$value": "100%",
|
|
18
|
+
"$type": "dimension"
|
|
19
|
+
},
|
|
20
|
+
"laptop": {
|
|
21
|
+
"$value": "100%",
|
|
22
|
+
"$type": "dimension"
|
|
23
|
+
},
|
|
24
|
+
"desktop": {
|
|
25
|
+
"$value": "{size.desktop}",
|
|
26
|
+
"$type": "dimension"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"gap": {
|
|
31
|
+
"$value": "{spacing.sm}",
|
|
32
|
+
"$type": "dimension"
|
|
33
|
+
},
|
|
34
|
+
"grid": {
|
|
35
|
+
"column": {
|
|
36
|
+
"default": {
|
|
37
|
+
"$value": "{grid.column.mobile}",
|
|
38
|
+
"$type": "string"
|
|
39
|
+
},
|
|
40
|
+
"desktop": {
|
|
41
|
+
"$value": "{span.quarter}",
|
|
42
|
+
"$type": "string"
|
|
43
|
+
},
|
|
44
|
+
"laptop": {
|
|
45
|
+
"$value": "{span.quarter}",
|
|
46
|
+
"$type": "string"
|
|
47
|
+
},
|
|
48
|
+
"mobile": {
|
|
49
|
+
"$value": "{span.full}",
|
|
50
|
+
"$type": "string"
|
|
51
|
+
},
|
|
52
|
+
"tablet": {
|
|
53
|
+
"$value": "{span.half}",
|
|
54
|
+
"$type": "string"
|
|
55
|
+
},
|
|
56
|
+
"tabletWide": {
|
|
57
|
+
"$value": "{span.third}",
|
|
58
|
+
"$type": "string"
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"gutter": {
|
|
63
|
+
"$value": "{spacing.fluid.md}",
|
|
64
|
+
"$type": "dimension"
|
|
65
|
+
}
|
|
66
|
+
}
|