@govbr-ds/tokens 4.0.0-next.2 → 4.0.0-next.20
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 +69 -106
- package/dist/css/component/avatar.css +37 -0
- package/dist/css/component/button.css +57 -0
- package/dist/css/component/checkbox.css +46 -0
- package/dist/css/component/checkboxGroup.css +7 -0
- package/dist/css/component/divider.css +12 -0
- package/dist/css/component/formlabel.css +6 -0
- package/dist/css/component/icon.css +35 -0
- package/dist/css/component/input.css +37 -0
- package/dist/css/component/list.css +54 -0
- package/dist/css/component/message.css +17 -0
- package/dist/css/component/radioGroup.css +39 -0
- package/dist/css/component/select.css +9 -0
- package/dist/css/component/text.css +17 -0
- package/dist/css/themes/dark.css +69 -52
- package/dist/css/themes/light.css +69 -52
- package/dist/css/tokens.css +676 -516
- package/dist/js/component/avatar.js +36 -0
- package/dist/js/component/button.js +56 -0
- package/dist/js/component/checkbox.js +45 -0
- package/dist/js/component/checkboxGroup.js +5 -0
- package/dist/js/component/divider.js +10 -0
- package/dist/js/component/formlabel.js +4 -0
- package/dist/js/component/icon.js +33 -0
- package/dist/js/component/input.js +35 -0
- package/dist/js/component/list.js +52 -0
- package/dist/js/component/message.js +17 -0
- package/dist/js/component/radioGroup.js +38 -0
- package/dist/js/component/select.js +8 -0
- package/dist/js/component/text.js +15 -0
- package/dist/js/themes/dark.js +77 -52
- package/dist/js/themes/light.js +77 -52
- package/dist/js/tokens.js +700 -531
- package/dist/json/component/avatar.json +907 -0
- package/dist/json/component/button.json +1447 -0
- package/dist/json/component/checkbox.json +1132 -0
- package/dist/json/component/checkboxGroup.json +169 -0
- package/dist/json/component/divider.json +302 -0
- package/dist/json/component/formlabel.json +117 -0
- package/dist/json/component/icon.json +911 -0
- package/dist/json/component/input.json +907 -0
- package/dist/json/component/list.json +1394 -0
- package/dist/json/component/message.json +441 -0
- package/dist/json/component/radioGroup.json +963 -0
- package/dist/json/component/select.json +207 -0
- package/dist/json/component/text.json +455 -0
- package/dist/json/themes/dark.json +1597 -856
- package/dist/json/themes/light.json +1597 -856
- package/dist/json/tokens.json +13699 -5459
- package/dist/scss/component/avatar.scss +35 -0
- package/dist/scss/component/button.scss +55 -0
- package/dist/scss/component/checkbox.scss +44 -0
- package/dist/scss/component/checkboxGroup.scss +5 -0
- package/dist/scss/component/divider.scss +10 -0
- package/dist/scss/component/formlabel.scss +4 -0
- package/dist/scss/component/icon.scss +33 -0
- package/dist/scss/component/input.scss +35 -0
- package/dist/scss/component/list.scss +52 -0
- package/dist/scss/component/message.scss +15 -0
- package/dist/scss/component/radioGroup.scss +37 -0
- package/dist/scss/component/select.scss +7 -0
- package/dist/scss/component/text.scss +15 -0
- package/dist/scss/themes/dark.scss +69 -0
- package/dist/scss/themes/light.scss +69 -0
- package/dist/scss/tokens.scss +817 -0
- package/dist/tokens-studio/tokens.json +6554 -0
- package/package.json +15 -12
- package/src/figma/base14.json +62 -0
- package/src/figma/{variables/color.json → color.json} +1 -1
- package/src/figma/component/avatar.json +156 -0
- package/src/figma/component/base14.json +94 -0
- package/src/figma/component/button.json +266 -0
- package/src/figma/component/divider.json +24 -0
- package/src/figma/component/formlabel.json +24 -0
- package/src/figma/component/icon.json +142 -0
- package/src/figma/component/input.json +156 -0
- package/src/figma/component/manifest.json +30 -0
- package/src/figma/component/message.json +70 -0
- package/src/figma/component/text.json +56 -0
- package/src/figma/dark.json +352 -0
- package/src/figma/elevation.json +234 -0
- package/src/figma/{variables/grid.json → grid.json} +29 -29
- package/src/figma/guideline/componente.json +24 -0
- package/src/figma/guideline/fundamento.json +24 -0
- package/src/figma/guideline/geral.json +20 -0
- package/src/figma/guideline/manifest.json +12 -0
- package/src/figma/guideline/padrao.json +24 -0
- package/src/figma/iconography.json +352 -0
- package/src/figma/light.json +352 -0
- package/src/figma/manifest.json +42 -0
- package/src/figma/motion.json +112 -0
- package/src/figma/pattern/form.json +16 -0
- package/src/figma/pattern/manifest.json +10 -0
- package/src/figma/pattern/skeleton.json +52 -0
- package/src/figma/{variables/spacing.json → spacing.json} +20 -0
- package/src/figma/state.json +260 -0
- package/src/figma/{variables/surface.json → surface.json} +34 -38
- package/src/figma/{variables/typography.json → typography.json} +10 -46
- package/src/temp/component.json +1895 -0
- package/src/temp/core.json +3883 -0
- package/src/temp/dark.json +352 -0
- package/src/temp/light.json +352 -0
- package/src/temp/pattern.json +70 -0
- package/src/tokens.json +6554 -0
- package/dist/scss/_tokens.scss +0 -662
- package/dist/scss/themes/_dark.scss +0 -55
- package/dist/scss/themes/_light.scss +0 -55
- package/src/figma/tokens.json +0 -3513
- package/src/figma/variables/manifest.json +0 -26
- package/src/style-dictionary/themes/dark.json +0 -3239
- package/src/style-dictionary/themes/light.json +0 -3239
- package/src/style-dictionary/tokens.json +0 -2971
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@govbr-ds/tokens",
|
|
3
|
-
"version": "4.0.0-next.
|
|
3
|
+
"version": "4.0.0-next.20",
|
|
4
|
+
"type": "module",
|
|
4
5
|
"description": "Tokens do Padrão Digital de Governo",
|
|
5
6
|
"keywords": [
|
|
6
7
|
"design system",
|
|
@@ -23,18 +24,20 @@
|
|
|
23
24
|
"src"
|
|
24
25
|
],
|
|
25
26
|
"scripts": {
|
|
26
|
-
"build": "run-s clear
|
|
27
|
-
"clear": "
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
27
|
+
"build": "run-s clear split-tokens compile copy-tokens",
|
|
28
|
+
"clear": "run-p clear:*",
|
|
29
|
+
"clear:dist": "rimraf ./dist",
|
|
30
|
+
"clear:temp": "rimraf ./src/temp",
|
|
31
|
+
"compile": "node scripts/build-tokens.js --themes='light, dark'",
|
|
32
|
+
"split-tokens": "node scripts/split-tokens.js src/tokens.json src/temp/",
|
|
33
|
+
"start": "run-s split-tokens compile copy-tokens",
|
|
34
|
+
"copy-tokens": "cpy 'src/tokens.json' 'dist/tokens-studio/' --flat"
|
|
33
35
|
},
|
|
34
36
|
"dependencies": {
|
|
35
|
-
"@tokens-studio/sd-transforms": "^
|
|
36
|
-
"style-dictionary": "^
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
"@tokens-studio/sd-transforms": "^1.2.9",
|
|
38
|
+
"style-dictionary": "^4.2.0"
|
|
39
|
+
},
|
|
40
|
+
"devDependencies": {
|
|
41
|
+
"cpy-cli": "^5.0.0"
|
|
39
42
|
}
|
|
40
43
|
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"typography": {
|
|
3
|
+
"fontSize": {
|
|
4
|
+
"default": {
|
|
5
|
+
"$value": "14",
|
|
6
|
+
"$type": "number"
|
|
7
|
+
},
|
|
8
|
+
"up": {
|
|
9
|
+
"01": {
|
|
10
|
+
"$value": "15.75",
|
|
11
|
+
"$type": "number"
|
|
12
|
+
},
|
|
13
|
+
"02": {
|
|
14
|
+
"$value": "17.72",
|
|
15
|
+
"$type": "number"
|
|
16
|
+
},
|
|
17
|
+
"03": {
|
|
18
|
+
"$value": "19.93",
|
|
19
|
+
"$type": "number"
|
|
20
|
+
},
|
|
21
|
+
"04": {
|
|
22
|
+
"$value": "22.43",
|
|
23
|
+
"$type": "number"
|
|
24
|
+
},
|
|
25
|
+
"05": {
|
|
26
|
+
"$value": "25.23",
|
|
27
|
+
"$type": "number"
|
|
28
|
+
},
|
|
29
|
+
"06": {
|
|
30
|
+
"$value": "28.38",
|
|
31
|
+
"$type": "number"
|
|
32
|
+
},
|
|
33
|
+
"07": {
|
|
34
|
+
"$value": "31.93",
|
|
35
|
+
"$type": "number"
|
|
36
|
+
},
|
|
37
|
+
"08": {
|
|
38
|
+
"$value": "35.92",
|
|
39
|
+
"$type": "number"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"down": {
|
|
43
|
+
"01": {
|
|
44
|
+
"$value": "12.44",
|
|
45
|
+
"$type": "number"
|
|
46
|
+
},
|
|
47
|
+
"02": {
|
|
48
|
+
"$value": "11.06",
|
|
49
|
+
"$type": "number"
|
|
50
|
+
},
|
|
51
|
+
"03": {
|
|
52
|
+
"$value": "9.83",
|
|
53
|
+
"$type": "number"
|
|
54
|
+
},
|
|
55
|
+
"04": {
|
|
56
|
+
"$value": "8.74",
|
|
57
|
+
"$type": "number"
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
{
|
|
2
|
+
"avatar": {
|
|
3
|
+
"rounder": {
|
|
4
|
+
"mask": {
|
|
5
|
+
"$type": "number",
|
|
6
|
+
"$value": "{surface.rounder.full}"
|
|
7
|
+
}
|
|
8
|
+
},
|
|
9
|
+
"spacing": {
|
|
10
|
+
"padding": {
|
|
11
|
+
"$type": "number",
|
|
12
|
+
"$value": "{spacing.adjust.01}"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"fontSize": {
|
|
16
|
+
"xmall": {
|
|
17
|
+
"$value": "{typography.fontSize.down.04}",
|
|
18
|
+
"$type": "number"
|
|
19
|
+
},
|
|
20
|
+
"small": {
|
|
21
|
+
"$value": "{typography.fontSize.default}",
|
|
22
|
+
"$type": "number"
|
|
23
|
+
},
|
|
24
|
+
"medium": {
|
|
25
|
+
"$value": "{typography.fontSize.up.04}",
|
|
26
|
+
"$type": "number"
|
|
27
|
+
},
|
|
28
|
+
"large": {
|
|
29
|
+
"$value": "{typography.fontSize.up.08}",
|
|
30
|
+
"$type": "number"
|
|
31
|
+
},
|
|
32
|
+
"xlarge": {
|
|
33
|
+
"$value": "65.76",
|
|
34
|
+
"$type": "number"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"size": {
|
|
38
|
+
"xmall": {
|
|
39
|
+
"$value": "19.97",
|
|
40
|
+
"$type": "dimension"
|
|
41
|
+
},
|
|
42
|
+
"small": {
|
|
43
|
+
"$value": "32",
|
|
44
|
+
"$type": "dimension"
|
|
45
|
+
},
|
|
46
|
+
"medium": {
|
|
47
|
+
"$value": "51.26",
|
|
48
|
+
"$type": "dimension"
|
|
49
|
+
},
|
|
50
|
+
"large": {
|
|
51
|
+
"$value": "82.11",
|
|
52
|
+
"$type": "dimension"
|
|
53
|
+
},
|
|
54
|
+
"xlarge": {
|
|
55
|
+
"$value": "131.52",
|
|
56
|
+
"$type": "dimension"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"color": {
|
|
60
|
+
"read": {
|
|
61
|
+
"bright": {
|
|
62
|
+
"$type": "color",
|
|
63
|
+
"$value": "{color.pure.0}"
|
|
64
|
+
},
|
|
65
|
+
"dim": {
|
|
66
|
+
"$type": "color",
|
|
67
|
+
"$value": "{color.pure.100}"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"surface": {
|
|
71
|
+
"$type": "color",
|
|
72
|
+
"$value": "{color.indigoWarmVivid.60}"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"hover": {
|
|
76
|
+
"color": {
|
|
77
|
+
"$type": "color",
|
|
78
|
+
"$value": "{state.hover.color.main.surface}"
|
|
79
|
+
},
|
|
80
|
+
"easing": {
|
|
81
|
+
"in": {
|
|
82
|
+
"$type": "string",
|
|
83
|
+
"$value": "{state.hover.easing.in}"
|
|
84
|
+
},
|
|
85
|
+
"out": {
|
|
86
|
+
"$type": "string",
|
|
87
|
+
"$value": "{state.hover.easing.out}"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"duration": {
|
|
91
|
+
"in": {
|
|
92
|
+
"$type": "duration",
|
|
93
|
+
"$value": "{state.hover.duration.in}"
|
|
94
|
+
},
|
|
95
|
+
"out": {
|
|
96
|
+
"$type": "duration",
|
|
97
|
+
"$value": "{state.hover.duration.out}"
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"pressed": {
|
|
102
|
+
"easing": {
|
|
103
|
+
"in": {
|
|
104
|
+
"$type": "string",
|
|
105
|
+
"$value": "{state.pressed.easing.in}"
|
|
106
|
+
},
|
|
107
|
+
"out": {
|
|
108
|
+
"$type": "string",
|
|
109
|
+
"$value": "{state.pressed.easing.out}"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"duration": {
|
|
113
|
+
"in": {
|
|
114
|
+
"$type": "duration",
|
|
115
|
+
"$value": "{state.pressed.duration.in}"
|
|
116
|
+
},
|
|
117
|
+
"out": {
|
|
118
|
+
"$type": "duration",
|
|
119
|
+
"$value": "{state.pressed.duration.out}"
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"disabled": {
|
|
124
|
+
"opacity": {
|
|
125
|
+
"$type": "number",
|
|
126
|
+
"$value": "{state.disabled.opacity}"
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"focus": {
|
|
130
|
+
"spacing": {
|
|
131
|
+
"$type": "number",
|
|
132
|
+
"$value": "{state.focus.spacing}"
|
|
133
|
+
},
|
|
134
|
+
"easing": {
|
|
135
|
+
"in": {
|
|
136
|
+
"$type": "string",
|
|
137
|
+
"$value": "{state.focus.easing.in}"
|
|
138
|
+
},
|
|
139
|
+
"out": {
|
|
140
|
+
"$type": "string",
|
|
141
|
+
"$value": "{state.focus.easing.out}"
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
"duration": {
|
|
145
|
+
"in": {
|
|
146
|
+
"$type": "duration",
|
|
147
|
+
"$value": "{state.focus.duration.in}"
|
|
148
|
+
},
|
|
149
|
+
"out": {
|
|
150
|
+
"$type": "duration",
|
|
151
|
+
"$value": "{state.focus.duration.out}"
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
{
|
|
2
|
+
"icon": {
|
|
3
|
+
"size": {
|
|
4
|
+
"max": {
|
|
5
|
+
"default": {
|
|
6
|
+
"$type": "dimension",
|
|
7
|
+
"$value": "17.5"
|
|
8
|
+
},
|
|
9
|
+
"up": {
|
|
10
|
+
"01": {
|
|
11
|
+
"$type": "dimension",
|
|
12
|
+
"$value": "19.69"
|
|
13
|
+
},
|
|
14
|
+
"02": {
|
|
15
|
+
"$type": "dimension",
|
|
16
|
+
"$value": "22.16"
|
|
17
|
+
},
|
|
18
|
+
"03": {
|
|
19
|
+
"$type": "dimension",
|
|
20
|
+
"$value": "24.92"
|
|
21
|
+
},
|
|
22
|
+
"04": {
|
|
23
|
+
"$type": "dimension",
|
|
24
|
+
"$value": "28.03"
|
|
25
|
+
},
|
|
26
|
+
"05": {
|
|
27
|
+
"$type": "dimension",
|
|
28
|
+
"$value": "31.53"
|
|
29
|
+
},
|
|
30
|
+
"06": {
|
|
31
|
+
"$type": "dimension",
|
|
32
|
+
"$value": "35.47"
|
|
33
|
+
},
|
|
34
|
+
"07": {
|
|
35
|
+
"$type": "dimension",
|
|
36
|
+
"$value": "39.92"
|
|
37
|
+
},
|
|
38
|
+
"08": {
|
|
39
|
+
"$type": "dimension",
|
|
40
|
+
"$value": "44.9"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"down": {
|
|
44
|
+
"01": {
|
|
45
|
+
"$type": "dimension",
|
|
46
|
+
"$value": "15.56"
|
|
47
|
+
},
|
|
48
|
+
"02": {
|
|
49
|
+
"$type": "dimension",
|
|
50
|
+
"$value": "13.82"
|
|
51
|
+
},
|
|
52
|
+
"03": {
|
|
53
|
+
"$type": "dimension",
|
|
54
|
+
"$value": "12.28"
|
|
55
|
+
},
|
|
56
|
+
"04": {
|
|
57
|
+
"$type": "dimension",
|
|
58
|
+
"$value": "10.92"
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"avatar": {
|
|
65
|
+
"fontSize": {
|
|
66
|
+
"xlarge": {
|
|
67
|
+
"$value": "57.54",
|
|
68
|
+
"$type": "number"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"size": {
|
|
72
|
+
"xmall": {
|
|
73
|
+
"$value": "17.47",
|
|
74
|
+
"$type": "dimension"
|
|
75
|
+
},
|
|
76
|
+
"small": {
|
|
77
|
+
"$value": "28",
|
|
78
|
+
"$type": "dimension"
|
|
79
|
+
},
|
|
80
|
+
"medium": {
|
|
81
|
+
"$value": "44.86",
|
|
82
|
+
"$type": "dimension"
|
|
83
|
+
},
|
|
84
|
+
"large": {
|
|
85
|
+
"$value": "71.85",
|
|
86
|
+
"$type": "dimension"
|
|
87
|
+
},
|
|
88
|
+
"xlarge": {
|
|
89
|
+
"$value": "115.08",
|
|
90
|
+
"$type": "dimension"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
{
|
|
2
|
+
"button": {
|
|
3
|
+
"rounder": {
|
|
4
|
+
"$type": "number",
|
|
5
|
+
"$value": "{surface.rounder.full}"
|
|
6
|
+
},
|
|
7
|
+
"spacing": {
|
|
8
|
+
"gap": {
|
|
9
|
+
"$type": "number",
|
|
10
|
+
"$value": "{spacing.layout.01}"
|
|
11
|
+
},
|
|
12
|
+
"padding": {
|
|
13
|
+
"$type": "number",
|
|
14
|
+
"$value": "{spacing.layout.02}"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"density": {
|
|
18
|
+
"regular": {
|
|
19
|
+
"$type": "number",
|
|
20
|
+
"$value": "{spacing.layout.01}"
|
|
21
|
+
},
|
|
22
|
+
"compact": {
|
|
23
|
+
"$type": "number",
|
|
24
|
+
"$value": "{spacing.adjust.01}"
|
|
25
|
+
},
|
|
26
|
+
"spacious": {
|
|
27
|
+
"$type": "number",
|
|
28
|
+
"$value": "{spacing.adjust.02}"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"color": {
|
|
32
|
+
"read": {
|
|
33
|
+
"main": {
|
|
34
|
+
"primary": {
|
|
35
|
+
"$type": "color",
|
|
36
|
+
"$value": "{state.interactive.color.read.main}"
|
|
37
|
+
},
|
|
38
|
+
"secondary": {
|
|
39
|
+
"$type": "color",
|
|
40
|
+
"$value": "{state.interactive.color.main}"
|
|
41
|
+
},
|
|
42
|
+
"tertiary": {
|
|
43
|
+
"$type": "color",
|
|
44
|
+
"$value": "{state.interactive.color.main}"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"contrast": {
|
|
48
|
+
"primary": {
|
|
49
|
+
"$type": "color",
|
|
50
|
+
"$value": "{state.interactive.color.read.contrast}"
|
|
51
|
+
},
|
|
52
|
+
"secondary": {
|
|
53
|
+
"$type": "color",
|
|
54
|
+
"$value": "{state.interactive.color.contrast}"
|
|
55
|
+
},
|
|
56
|
+
"tertiary": {
|
|
57
|
+
"$type": "color",
|
|
58
|
+
"$value": "{state.interactive.color.contrast}"
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"surface": {
|
|
63
|
+
"main": {
|
|
64
|
+
"primary": {
|
|
65
|
+
"$type": "color",
|
|
66
|
+
"$value": "{state.interactive.color.main}"
|
|
67
|
+
},
|
|
68
|
+
"secondary": {
|
|
69
|
+
"$type": "color",
|
|
70
|
+
"$value": "transparent"
|
|
71
|
+
},
|
|
72
|
+
"tertiary": {
|
|
73
|
+
"$type": "color",
|
|
74
|
+
"$value": "transparent"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"contrast": {
|
|
78
|
+
"primary": {
|
|
79
|
+
"$type": "color",
|
|
80
|
+
"$value": "{state.interactive.color.contrast}"
|
|
81
|
+
},
|
|
82
|
+
"secondary": {
|
|
83
|
+
"$type": "color",
|
|
84
|
+
"$value": "transparent"
|
|
85
|
+
},
|
|
86
|
+
"tertiary": {
|
|
87
|
+
"$type": "color",
|
|
88
|
+
"$value": "transparent"
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"hover": {
|
|
94
|
+
"color": {
|
|
95
|
+
"main": {
|
|
96
|
+
"surface": {
|
|
97
|
+
"$type": "color",
|
|
98
|
+
"$value": "{state.hover.color.main.surface}"
|
|
99
|
+
},
|
|
100
|
+
"read": {
|
|
101
|
+
"$type": "color",
|
|
102
|
+
"$value": "{state.hover.color.main.read}"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"contrast": {
|
|
106
|
+
"surface": {
|
|
107
|
+
"$type": "color",
|
|
108
|
+
"$value": "{state.hover.color.contrast.surface}"
|
|
109
|
+
},
|
|
110
|
+
"read": {
|
|
111
|
+
"$type": "color",
|
|
112
|
+
"$value": "{state.hover.color.contrast.read}"
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"easing": {
|
|
117
|
+
"in": {
|
|
118
|
+
"$type": "string",
|
|
119
|
+
"$value": "{state.hover.easing.in}"
|
|
120
|
+
},
|
|
121
|
+
"out": {
|
|
122
|
+
"$type": "string",
|
|
123
|
+
"$value": "{state.hover.easing.out}"
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"duration": {
|
|
127
|
+
"in": {
|
|
128
|
+
"$type": "duration",
|
|
129
|
+
"$value": "{state.hover.duration.in}"
|
|
130
|
+
},
|
|
131
|
+
"out": {
|
|
132
|
+
"$type": "duration",
|
|
133
|
+
"$value": "{state.hover.duration.out}"
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"pressed": {
|
|
138
|
+
"easing": {
|
|
139
|
+
"in": {
|
|
140
|
+
"$type": "string",
|
|
141
|
+
"$value": "{state.pressed.easing.in}"
|
|
142
|
+
},
|
|
143
|
+
"out": {
|
|
144
|
+
"$type": "string",
|
|
145
|
+
"$value": "{state.pressed.easing.out}"
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
"duration": {
|
|
149
|
+
"in": {
|
|
150
|
+
"$type": "duration",
|
|
151
|
+
"$value": "{state.pressed.duration.in}"
|
|
152
|
+
},
|
|
153
|
+
"out": {
|
|
154
|
+
"$type": "duration",
|
|
155
|
+
"$value": "{state.pressed.duration.out}"
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
"disabled": {
|
|
160
|
+
"color": {
|
|
161
|
+
"main": {
|
|
162
|
+
"$type": "color",
|
|
163
|
+
"$value": "{state.disabled.color.main}"
|
|
164
|
+
},
|
|
165
|
+
"contrast": {
|
|
166
|
+
"$type": "color",
|
|
167
|
+
"$value": "{state.disabled.color.contrast}"
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"opacity": {
|
|
171
|
+
"$type": "number",
|
|
172
|
+
"$value": "{state.disabled.opacity}"
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
"active": {
|
|
176
|
+
"color": {
|
|
177
|
+
"main": {
|
|
178
|
+
"$type": "color",
|
|
179
|
+
"$value": "{state.active.color.main}"
|
|
180
|
+
},
|
|
181
|
+
"contrast": {
|
|
182
|
+
"$type": "color",
|
|
183
|
+
"$value": "{state.active.color.contrast}"
|
|
184
|
+
},
|
|
185
|
+
"read": {
|
|
186
|
+
"main": {
|
|
187
|
+
"$type": "color",
|
|
188
|
+
"$value": "{state.active.color.read.main}"
|
|
189
|
+
},
|
|
190
|
+
"contrast": {
|
|
191
|
+
"$type": "color",
|
|
192
|
+
"$value": "{state.active.color.read.contrast}"
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
"easing": {
|
|
197
|
+
"in": {
|
|
198
|
+
"$type": "string",
|
|
199
|
+
"$value": "{state.active.easing.in}"
|
|
200
|
+
},
|
|
201
|
+
"out": {
|
|
202
|
+
"$type": "string",
|
|
203
|
+
"$value": "{state.active.easing.out}"
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
"duration": {
|
|
207
|
+
"in": {
|
|
208
|
+
"$type": "duration",
|
|
209
|
+
"$value": "{state.active.duration.in}"
|
|
210
|
+
},
|
|
211
|
+
"out": {
|
|
212
|
+
"$type": "duration",
|
|
213
|
+
"$value": "{state.active.duration.out}"
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
"cta": {
|
|
218
|
+
"color": {
|
|
219
|
+
"main": {
|
|
220
|
+
"$type": "color",
|
|
221
|
+
"$value": "{state.cta.color.main}"
|
|
222
|
+
},
|
|
223
|
+
"contrast": {
|
|
224
|
+
"$type": "color",
|
|
225
|
+
"$value": "{state.cta.color.contrast}"
|
|
226
|
+
},
|
|
227
|
+
"read": {
|
|
228
|
+
"main": {
|
|
229
|
+
"$type": "color",
|
|
230
|
+
"$value": "{state.cta.color.read.main}"
|
|
231
|
+
},
|
|
232
|
+
"contrast": {
|
|
233
|
+
"$type": "color",
|
|
234
|
+
"$value": "{state.cta.color.read.contrast}"
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
"focus": {
|
|
240
|
+
"spacing": {
|
|
241
|
+
"$type": "number",
|
|
242
|
+
"$value": "{state.focus.spacing}"
|
|
243
|
+
},
|
|
244
|
+
"easing": {
|
|
245
|
+
"in": {
|
|
246
|
+
"$type": "string",
|
|
247
|
+
"$value": "{state.focus.easing.in}"
|
|
248
|
+
},
|
|
249
|
+
"out": {
|
|
250
|
+
"$type": "string",
|
|
251
|
+
"$value": "{state.focus.easing.out}"
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
"duration": {
|
|
255
|
+
"in": {
|
|
256
|
+
"$type": "duration",
|
|
257
|
+
"$value": "{state.focus.duration.in}"
|
|
258
|
+
},
|
|
259
|
+
"out": {
|
|
260
|
+
"$type": "duration",
|
|
261
|
+
"$value": "{state.focus.duration.out}"
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"divider": {
|
|
3
|
+
"spacing": {
|
|
4
|
+
"gap": {
|
|
5
|
+
"$type": "number",
|
|
6
|
+
"$value": "{spacing.layout.01}"
|
|
7
|
+
}
|
|
8
|
+
},
|
|
9
|
+
"density": {
|
|
10
|
+
"compact": {
|
|
11
|
+
"$type": "number",
|
|
12
|
+
"$value": "{spacing.layout.02}"
|
|
13
|
+
},
|
|
14
|
+
"regular": {
|
|
15
|
+
"$type": "number",
|
|
16
|
+
"$value": "{spacing.layout.05}"
|
|
17
|
+
},
|
|
18
|
+
"spacious": {
|
|
19
|
+
"$type": "number",
|
|
20
|
+
"$value": "{spacing.layout.07}"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"formlabel": {
|
|
3
|
+
"spacing": {
|
|
4
|
+
"gap": {
|
|
5
|
+
"$type": "number",
|
|
6
|
+
"$value": "{spacing.layout.01}"
|
|
7
|
+
}
|
|
8
|
+
},
|
|
9
|
+
"color": {
|
|
10
|
+
"main": {
|
|
11
|
+
"helpertext": {
|
|
12
|
+
"$type": "color",
|
|
13
|
+
"$value": "{color.read.main.alternative}"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"contrast": {
|
|
17
|
+
"helpertext": {
|
|
18
|
+
"$type": "color",
|
|
19
|
+
"$value": "{color.read.contrast.alternative}"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|