@progressiveui/themes-core 0.4.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/.env +1 -0
- package/CHANGELOG.md +435 -0
- package/README.md +81 -0
- package/dist/json/variables-full.json +19116 -0
- package/dist/scss/default-css-theme.scss +761 -0
- package/dist/scss/tokens.scss +430 -0
- package/dist/scss/tokensMapDeep.scss +1175 -0
- package/dist/scss/tokensMapFlat.scss +438 -0
- package/distDark/json/variables-full.json +2790 -0
- package/distDark/scss/default-css-theme.scss +67 -0
- package/distDark/scss/tokens.scss +141 -0
- package/distDark/scss/tokensMapDeep.scss +67 -0
- package/distDark/scss/tokensMapFlat.scss +68 -0
- package/figmaTokenStudio/tokens.json +2425 -0
- package/package.json +39 -0
- package/scripts/config.js +315 -0
- package/scripts/filterJson.js +99 -0
- package/scripts/runTheme.js +7 -0
- package/scripts/syncTokens.js +46 -0
- package/tokens/design-tokens.tokens.json.legacy +2942 -0
- package/tokens/design-tokens.tokens.new.json +2542 -0
- package/tokens/font-sizes.json +186 -0
- package/tokens/spacings.json.legacy +52 -0
- package/tokens/typeScale.json +145 -0
- package/tokensDark/color/base.json.legacy +13 -0
- package/tokensDark/design-tokens.tokens.json +2846 -0
- package/tokensDark/tokens.json.raw +2834 -0
- package/tokensDark/typeScale.json +133 -0
- package/yarn-error.log +61 -0
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
{
|
|
2
|
+
"font": {
|
|
3
|
+
"size": {
|
|
4
|
+
"xs": { "value": "12px" },
|
|
5
|
+
"sm": { "value": "14px" },
|
|
6
|
+
"base": { "value": "16px" },
|
|
7
|
+
"lg": { "value": "18px" },
|
|
8
|
+
"xl": { "value": "24px" },
|
|
9
|
+
"2xl": { "value": "30px" },
|
|
10
|
+
"3xl": { "value": "36px" },
|
|
11
|
+
"4xl": { "value": "48px" },
|
|
12
|
+
"5xl": { "value": "60px" },
|
|
13
|
+
"6xl": { "value": "72px" }
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"icon-inverse": {
|
|
17
|
+
"color": {
|
|
18
|
+
"value": "#ffff00"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"icon-on-color": {
|
|
22
|
+
"color": {
|
|
23
|
+
"value": "#ffff00"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"text-on-color": {
|
|
27
|
+
"color": {
|
|
28
|
+
"value": "#ffff00"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"button-danger-hover": {
|
|
32
|
+
"color": {
|
|
33
|
+
"value": "#ffff00"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"support-warning": {
|
|
37
|
+
"color": {
|
|
38
|
+
"value": "#ffff00"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"button-tertiary": {
|
|
42
|
+
"color": {
|
|
43
|
+
"value": "#ffff00"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"button-tertiary-hover": {
|
|
47
|
+
"color": {
|
|
48
|
+
"value": "#ffff00"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"field": {
|
|
52
|
+
"color": {
|
|
53
|
+
"value": "#ffff00"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"button-primary": {
|
|
57
|
+
"color": {
|
|
58
|
+
"value": "#ffff00"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"button-primary-hover": {
|
|
62
|
+
"color": {
|
|
63
|
+
"value": "#ffff00"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"field-hover": {
|
|
67
|
+
"color": {
|
|
68
|
+
"value": "#ffff00"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"support-info": {
|
|
72
|
+
"color": {
|
|
73
|
+
"value": "#ffff00"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"support-success": {
|
|
77
|
+
"color": {
|
|
78
|
+
"value": "#ffff00"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"background-brand": {
|
|
82
|
+
"color": {
|
|
83
|
+
"value": "#ffff00"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"highlight": {
|
|
87
|
+
"color": {
|
|
88
|
+
"value": "#ffff00"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"border-interactive": {
|
|
92
|
+
"color": {
|
|
93
|
+
"value": "#ffff00"
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"focus": {
|
|
97
|
+
"color": {
|
|
98
|
+
"value": "#ffff00"
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"field-border": {
|
|
102
|
+
"color": {
|
|
103
|
+
"value": "#ffff00"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"layer-accent-active": {
|
|
107
|
+
"color": {
|
|
108
|
+
"value": "#ffff00"
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"text-disabled": {
|
|
112
|
+
"color": {
|
|
113
|
+
"value": "#ffff00"
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"button-disabled": {
|
|
117
|
+
"color": {
|
|
118
|
+
"value": "#ffff00"
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"text-error": {
|
|
122
|
+
"color": {
|
|
123
|
+
"value": "#ffff00"
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"icon-primary": {
|
|
127
|
+
"color": {
|
|
128
|
+
"value": "#ffff00"
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
"action-default-link-default-hover": {
|
|
132
|
+
"color": {
|
|
133
|
+
"value": "#ffff00"
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"overlay": {
|
|
137
|
+
"color": {
|
|
138
|
+
"value": "#ffff00"
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"link-visited": {
|
|
142
|
+
"color": {
|
|
143
|
+
"value": "#ffff00"
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"border-inverse": {
|
|
147
|
+
"color": {
|
|
148
|
+
"value": "#ffff00"
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
"border-disabled": {
|
|
152
|
+
"color": {
|
|
153
|
+
"value": "#ffff00"
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
"icon-secondary": {
|
|
157
|
+
"color": {
|
|
158
|
+
"value": "#ffff00"
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
"background-selected": {
|
|
162
|
+
"color": {
|
|
163
|
+
"value": "#ffff00"
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
"icon-on-color-disabled": {
|
|
167
|
+
"color": {
|
|
168
|
+
"value": "#ffff00"
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
"background-hover": {
|
|
172
|
+
"color": {
|
|
173
|
+
"value": "#ffff00"
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
"layer-active": {
|
|
177
|
+
"color": {
|
|
178
|
+
"value": "#ffff00"
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
"text-placeholder": {
|
|
182
|
+
"color": {
|
|
183
|
+
"value": "#ffff00"
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"spacing": {
|
|
3
|
+
"50": {
|
|
4
|
+
"value": "2px",
|
|
5
|
+
"type": "spacing"
|
|
6
|
+
},
|
|
7
|
+
"75": {
|
|
8
|
+
"value": "4px",
|
|
9
|
+
"type": "spacing"
|
|
10
|
+
},
|
|
11
|
+
"100": {
|
|
12
|
+
"value": "8px",
|
|
13
|
+
"type": "spacing"
|
|
14
|
+
},
|
|
15
|
+
"200": {
|
|
16
|
+
"value": "12px",
|
|
17
|
+
"type": "spacing"
|
|
18
|
+
},
|
|
19
|
+
"300": {
|
|
20
|
+
"value": "16px",
|
|
21
|
+
"type": "spacing"
|
|
22
|
+
},
|
|
23
|
+
"400": {
|
|
24
|
+
"value": "24px",
|
|
25
|
+
"type": "spacing"
|
|
26
|
+
},
|
|
27
|
+
"500": {
|
|
28
|
+
"value": "32px",
|
|
29
|
+
"type": "spacing"
|
|
30
|
+
},
|
|
31
|
+
"600": {
|
|
32
|
+
"value": "40px",
|
|
33
|
+
"type": "spacing"
|
|
34
|
+
},
|
|
35
|
+
"700": {
|
|
36
|
+
"value": "48px",
|
|
37
|
+
"type": "spacing"
|
|
38
|
+
},
|
|
39
|
+
"800": {
|
|
40
|
+
"value": "64px",
|
|
41
|
+
"type": "spacing"
|
|
42
|
+
},
|
|
43
|
+
"900": {
|
|
44
|
+
"value": "80px",
|
|
45
|
+
"type": "spacing"
|
|
46
|
+
},
|
|
47
|
+
"1000": {
|
|
48
|
+
"value": "96px",
|
|
49
|
+
"type": "spacing"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
{
|
|
2
|
+
"typography": {
|
|
3
|
+
"caption": {
|
|
4
|
+
"fontSize": {
|
|
5
|
+
"type": "dimension",
|
|
6
|
+
"value": "{font.size.base.value}"
|
|
7
|
+
},
|
|
8
|
+
"fontWeight": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"value": "regular"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"helper": {
|
|
14
|
+
"fontSize": {
|
|
15
|
+
"type": "dimension",
|
|
16
|
+
"value": 14
|
|
17
|
+
},
|
|
18
|
+
"fontWeight": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"value": "regular"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"input": {
|
|
24
|
+
"fontSize": {
|
|
25
|
+
"type": "dimension",
|
|
26
|
+
"value": 16
|
|
27
|
+
},
|
|
28
|
+
"fontWeight": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"value": "regular"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"story-title": {
|
|
34
|
+
"fontSize": {
|
|
35
|
+
"type": "dimension",
|
|
36
|
+
"value": 50
|
|
37
|
+
},
|
|
38
|
+
"fontWeight": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"value": "300"
|
|
41
|
+
},
|
|
42
|
+
"md": {
|
|
43
|
+
"fontSize": {
|
|
44
|
+
"type": "dimension",
|
|
45
|
+
"value": 30
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"lg": {
|
|
49
|
+
"fontSize": {
|
|
50
|
+
"type": "dimension",
|
|
51
|
+
"value": 40
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"story-h1": {
|
|
56
|
+
"fontSize": {
|
|
57
|
+
"type": "dimension",
|
|
58
|
+
"value": 29
|
|
59
|
+
},
|
|
60
|
+
"fontWeight": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"value": "600"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"story-h2": {
|
|
66
|
+
"fontSize": {
|
|
67
|
+
"type": "dimension",
|
|
68
|
+
"value": 25
|
|
69
|
+
},
|
|
70
|
+
"fontWeight": {
|
|
71
|
+
"type": "string",
|
|
72
|
+
"value": "600"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"story-h3": {
|
|
76
|
+
"fontSize": {
|
|
77
|
+
"type": "dimension",
|
|
78
|
+
"value": 22
|
|
79
|
+
},
|
|
80
|
+
"fontWeight": {
|
|
81
|
+
"type": "string",
|
|
82
|
+
"value": "600"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"story-h4": {
|
|
86
|
+
"fontSize": {
|
|
87
|
+
"type": "dimension",
|
|
88
|
+
"value": 20
|
|
89
|
+
},
|
|
90
|
+
"fontWeight": {
|
|
91
|
+
"type": "string",
|
|
92
|
+
"value": "600"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"story-h5": {
|
|
96
|
+
"fontSize": {
|
|
97
|
+
"type": "dimension",
|
|
98
|
+
"value": 18
|
|
99
|
+
},
|
|
100
|
+
"fontWeight": {
|
|
101
|
+
"type": "string",
|
|
102
|
+
"value": "600"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"story-h6": {
|
|
106
|
+
"fontSize": {
|
|
107
|
+
"type": "dimension",
|
|
108
|
+
"value": 16
|
|
109
|
+
},
|
|
110
|
+
"fontWeight": {
|
|
111
|
+
"type": "string",
|
|
112
|
+
"value": "600"
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"story-sub-title": {
|
|
116
|
+
"fontSize": {
|
|
117
|
+
"type": "dimension",
|
|
118
|
+
"value": 12
|
|
119
|
+
},
|
|
120
|
+
"fontWeight": {
|
|
121
|
+
"type": "string",
|
|
122
|
+
"value": "500"
|
|
123
|
+
},
|
|
124
|
+
"letterSpacing": {
|
|
125
|
+
"type": "string",
|
|
126
|
+
"value": "0.05em"
|
|
127
|
+
},
|
|
128
|
+
"textTransform": {
|
|
129
|
+
"type": "string",
|
|
130
|
+
"value": "uppercase"
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"body-regular": {
|
|
134
|
+
"fontSize": {
|
|
135
|
+
"type": "dimension",
|
|
136
|
+
"value": 12
|
|
137
|
+
},
|
|
138
|
+
"fontWeight": {
|
|
139
|
+
"description": "This is a description",
|
|
140
|
+
"type": "string",
|
|
141
|
+
"value": "regular"
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|