@kaizen/design-tokens 10.3.13 → 10.3.15
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/css/variables.css +5 -0
- package/dist/ThemeManager.d.ts +5 -0
- package/dist/ThemeManager.d.ts.map +1 -1
- package/dist/ThemeManager.js +5 -0
- package/dist/ThemeManager.js.map +1 -1
- package/dist/js/index.d.ts +3 -0
- package/dist/js/index.d.ts.map +1 -0
- package/dist/js/index.js +19 -0
- package/dist/js/index.js.map +1 -0
- package/dist/js/tokens.d.ts +3 -0
- package/dist/js/tokens.d.ts.map +1 -0
- package/dist/js/tokens.js +315 -0
- package/dist/js/tokens.js.map +1 -0
- package/dist/js/types.d.ts +229 -0
- package/dist/js/types.d.ts.map +1 -0
- package/dist/js/types.js +3 -0
- package/dist/js/types.js.map +1 -0
- package/dist/lib/makeCssVariableDefinitionsMap.d.ts +3 -0
- package/dist/lib/makeCssVariableDefinitionsMap.d.ts.map +1 -1
- package/dist/lib/makeCssVariableDefinitionsMap.js +3 -0
- package/dist/lib/makeCssVariableDefinitionsMap.js.map +1 -1
- package/dist/lib/makeCssVariableTheme.d.ts +3 -0
- package/dist/lib/makeCssVariableTheme.d.ts.map +1 -1
- package/dist/lib/makeCssVariableTheme.js +3 -0
- package/dist/lib/makeCssVariableTheme.js.map +1 -1
- package/dist/lib/mapLeafsOfObject.d.ts +3 -0
- package/dist/lib/mapLeafsOfObject.d.ts.map +1 -1
- package/dist/lib/mapLeafsOfObject.js +3 -0
- package/dist/lib/mapLeafsOfObject.js.map +1 -1
- package/dist/react/ThemeProvider.d.ts +3 -1
- package/dist/react/ThemeProvider.d.ts.map +1 -1
- package/dist/react/ThemeProvider.js +3 -1
- package/dist/react/ThemeProvider.js.map +1 -1
- package/dist/themes/heart.d.ts +5 -0
- package/dist/themes/heart.d.ts.map +1 -1
- package/dist/themes/heart.js +5 -0
- package/dist/themes/heart.js.map +1 -1
- package/dist/themes/index.d.ts +5 -0
- package/dist/themes/index.d.ts.map +1 -1
- package/dist/themes/index.js +5 -0
- package/dist/themes/index.js.map +1 -1
- package/dist/types.d.ts +29 -0
- package/dist/types.d.ts.map +1 -1
- package/js/package.json +4 -0
- package/package.json +9 -7
- package/tokens/animation.json +0 -34
- package/tokens/animation.json.d.ts +0 -11
- package/tokens/border.json +0 -44
- package/tokens/border.json.d.ts +0 -11
- package/tokens/color.json +0 -228
- package/tokens/color.json.d.ts +0 -11
- package/tokens/layout.json +0 -10
- package/tokens/layout.json.d.ts +0 -11
- package/tokens/shadow.json +0 -12
- package/tokens/shadow.json.d.ts +0 -11
- package/tokens/spacing.json +0 -70
- package/tokens/spacing.json.d.ts +0 -11
- package/tokens/typography.json +0 -244
- package/tokens/typography.json.d.ts +0 -11
package/tokens/color.json
DELETED
|
@@ -1,228 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"dataViz": {
|
|
3
|
-
"favorable": "var(--data-viz-favorable, #7dd5bd)",
|
|
4
|
-
"favorable-rgb": "var(--data-viz-favorable-rgb, 125, 213, 189)",
|
|
5
|
-
"favorable-rgb-id": "--data-viz-favorable-rgb",
|
|
6
|
-
"favorable-id": "--data-viz-favorable",
|
|
7
|
-
"unfavorable": "var(--data-viz-unfavorable, #e68d97)",
|
|
8
|
-
"unfavorable-rgb": "var(--data-viz-unfavorable-rgb, 230, 141, 151)",
|
|
9
|
-
"unfavorable-rgb-id": "--data-viz-unfavorable-rgb",
|
|
10
|
-
"unfavorable-id": "--data-viz-unfavorable"
|
|
11
|
-
},
|
|
12
|
-
"color": {
|
|
13
|
-
"purple": {
|
|
14
|
-
"100": "var(--color-purple-100, #f4edf8)",
|
|
15
|
-
"200": "var(--color-purple-200, #dfc9ea)",
|
|
16
|
-
"300": "var(--color-purple-300, #c9a5dd)",
|
|
17
|
-
"400": "var(--color-purple-400, #ae67b1)",
|
|
18
|
-
"500": "var(--color-purple-500, #844587)",
|
|
19
|
-
"600": "var(--color-purple-600, #5f3361)",
|
|
20
|
-
"700": "var(--color-purple-700, #4a234d)",
|
|
21
|
-
"800": "var(--color-purple-800, #2f2438)",
|
|
22
|
-
"100-rgb": "var(--color-purple-100-rgb, 244, 237, 248)",
|
|
23
|
-
"100-rgb-id": "--color-purple-100-rgb",
|
|
24
|
-
"100-id": "--color-purple-100",
|
|
25
|
-
"200-rgb": "var(--color-purple-200-rgb, 223, 201, 234)",
|
|
26
|
-
"200-rgb-id": "--color-purple-200-rgb",
|
|
27
|
-
"200-id": "--color-purple-200",
|
|
28
|
-
"300-rgb": "var(--color-purple-300-rgb, 201, 165, 221)",
|
|
29
|
-
"300-rgb-id": "--color-purple-300-rgb",
|
|
30
|
-
"300-id": "--color-purple-300",
|
|
31
|
-
"400-rgb": "var(--color-purple-400-rgb, 174, 103, 177)",
|
|
32
|
-
"400-rgb-id": "--color-purple-400-rgb",
|
|
33
|
-
"400-id": "--color-purple-400",
|
|
34
|
-
"500-rgb": "var(--color-purple-500-rgb, 132, 69, 135)",
|
|
35
|
-
"500-rgb-id": "--color-purple-500-rgb",
|
|
36
|
-
"500-id": "--color-purple-500",
|
|
37
|
-
"600-rgb": "var(--color-purple-600-rgb, 95, 51, 97)",
|
|
38
|
-
"600-rgb-id": "--color-purple-600-rgb",
|
|
39
|
-
"600-id": "--color-purple-600",
|
|
40
|
-
"700-rgb": "var(--color-purple-700-rgb, 74, 35, 77)",
|
|
41
|
-
"700-rgb-id": "--color-purple-700-rgb",
|
|
42
|
-
"700-id": "--color-purple-700",
|
|
43
|
-
"800-rgb": "var(--color-purple-800-rgb, 47, 36, 56)",
|
|
44
|
-
"800-rgb-id": "--color-purple-800-rgb",
|
|
45
|
-
"800-id": "--color-purple-800"
|
|
46
|
-
},
|
|
47
|
-
"blue": {
|
|
48
|
-
"100": "var(--color-blue-100, #e6f6ff)",
|
|
49
|
-
"200": "var(--color-blue-200, #bde2f5)",
|
|
50
|
-
"300": "var(--color-blue-300, #73c0e8)",
|
|
51
|
-
"400": "var(--color-blue-400, #008bd6)",
|
|
52
|
-
"500": "var(--color-blue-500, #0168b3)",
|
|
53
|
-
"600": "var(--color-blue-600, #004970)",
|
|
54
|
-
"700": "var(--color-blue-700, #003157)",
|
|
55
|
-
"100-rgb": "var(--color-blue-100-rgb, 230, 246, 255)",
|
|
56
|
-
"100-rgb-id": "--color-blue-100-rgb",
|
|
57
|
-
"100-id": "--color-blue-100",
|
|
58
|
-
"200-rgb": "var(--color-blue-200-rgb, 189, 226, 245)",
|
|
59
|
-
"200-rgb-id": "--color-blue-200-rgb",
|
|
60
|
-
"200-id": "--color-blue-200",
|
|
61
|
-
"300-rgb": "var(--color-blue-300-rgb, 115, 192, 232)",
|
|
62
|
-
"300-rgb-id": "--color-blue-300-rgb",
|
|
63
|
-
"300-id": "--color-blue-300",
|
|
64
|
-
"400-rgb": "var(--color-blue-400-rgb, 0, 139, 214)",
|
|
65
|
-
"400-rgb-id": "--color-blue-400-rgb",
|
|
66
|
-
"400-id": "--color-blue-400",
|
|
67
|
-
"500-rgb": "var(--color-blue-500-rgb, 1, 104, 179)",
|
|
68
|
-
"500-rgb-id": "--color-blue-500-rgb",
|
|
69
|
-
"500-id": "--color-blue-500",
|
|
70
|
-
"600-rgb": "var(--color-blue-600-rgb, 0, 73, 112)",
|
|
71
|
-
"600-rgb-id": "--color-blue-600-rgb",
|
|
72
|
-
"600-id": "--color-blue-600",
|
|
73
|
-
"700-rgb": "var(--color-blue-700-rgb, 0, 49, 87)",
|
|
74
|
-
"700-rgb-id": "--color-blue-700-rgb",
|
|
75
|
-
"700-id": "--color-blue-700"
|
|
76
|
-
},
|
|
77
|
-
"green": {
|
|
78
|
-
"100": "var(--color-green-100, #e8f8f4)",
|
|
79
|
-
"200": "var(--color-green-200, #c4ede2)",
|
|
80
|
-
"300": "var(--color-green-300, #8fdbc7)",
|
|
81
|
-
"400": "var(--color-green-400, #5dcbad)",
|
|
82
|
-
"500": "var(--color-green-500, #44a289)",
|
|
83
|
-
"600": "var(--color-green-600, #2c7d67)",
|
|
84
|
-
"700": "var(--color-green-700, #22594a)",
|
|
85
|
-
"100-rgb": "var(--color-green-100-rgb, 232, 248, 244)",
|
|
86
|
-
"100-rgb-id": "--color-green-100-rgb",
|
|
87
|
-
"100-id": "--color-green-100",
|
|
88
|
-
"200-rgb": "var(--color-green-200-rgb, 196, 237, 226)",
|
|
89
|
-
"200-rgb-id": "--color-green-200-rgb",
|
|
90
|
-
"200-id": "--color-green-200",
|
|
91
|
-
"300-rgb": "var(--color-green-300-rgb, 143, 219, 199)",
|
|
92
|
-
"300-rgb-id": "--color-green-300-rgb",
|
|
93
|
-
"300-id": "--color-green-300",
|
|
94
|
-
"400-rgb": "var(--color-green-400-rgb, 93, 203, 173)",
|
|
95
|
-
"400-rgb-id": "--color-green-400-rgb",
|
|
96
|
-
"400-id": "--color-green-400",
|
|
97
|
-
"500-rgb": "var(--color-green-500-rgb, 68, 162, 137)",
|
|
98
|
-
"500-rgb-id": "--color-green-500-rgb",
|
|
99
|
-
"500-id": "--color-green-500",
|
|
100
|
-
"600-rgb": "var(--color-green-600-rgb, 44, 125, 103)",
|
|
101
|
-
"600-rgb-id": "--color-green-600-rgb",
|
|
102
|
-
"600-id": "--color-green-600",
|
|
103
|
-
"700-rgb": "var(--color-green-700-rgb, 34, 89, 74)",
|
|
104
|
-
"700-rgb-id": "--color-green-700-rgb",
|
|
105
|
-
"700-id": "--color-green-700"
|
|
106
|
-
},
|
|
107
|
-
"yellow": {
|
|
108
|
-
"100": "var(--color-yellow-100, #fff9e4)",
|
|
109
|
-
"200": "var(--color-yellow-200, #ffeeb3)",
|
|
110
|
-
"300": "var(--color-yellow-300, #ffe36e)",
|
|
111
|
-
"400": "var(--color-yellow-400, #ffca4d)",
|
|
112
|
-
"500": "var(--color-yellow-500, #ffb600)",
|
|
113
|
-
"600": "var(--color-yellow-600, #c68600)",
|
|
114
|
-
"700": "var(--color-yellow-700, #876400)",
|
|
115
|
-
"100-rgb": "var(--color-yellow-100-rgb, 255, 249, 228)",
|
|
116
|
-
"100-rgb-id": "--color-yellow-100-rgb",
|
|
117
|
-
"100-id": "--color-yellow-100",
|
|
118
|
-
"200-rgb": "var(--color-yellow-200-rgb, 255, 238, 179)",
|
|
119
|
-
"200-rgb-id": "--color-yellow-200-rgb",
|
|
120
|
-
"200-id": "--color-yellow-200",
|
|
121
|
-
"300-rgb": "var(--color-yellow-300-rgb, 255, 227, 110)",
|
|
122
|
-
"300-rgb-id": "--color-yellow-300-rgb",
|
|
123
|
-
"300-id": "--color-yellow-300",
|
|
124
|
-
"400-rgb": "var(--color-yellow-400-rgb, 255, 202, 77)",
|
|
125
|
-
"400-rgb-id": "--color-yellow-400-rgb",
|
|
126
|
-
"400-id": "--color-yellow-400",
|
|
127
|
-
"500-rgb": "var(--color-yellow-500-rgb, 255, 182, 0)",
|
|
128
|
-
"500-rgb-id": "--color-yellow-500-rgb",
|
|
129
|
-
"500-id": "--color-yellow-500",
|
|
130
|
-
"600-rgb": "var(--color-yellow-600-rgb, 198, 134, 0)",
|
|
131
|
-
"600-rgb-id": "--color-yellow-600-rgb",
|
|
132
|
-
"600-id": "--color-yellow-600",
|
|
133
|
-
"700-rgb": "var(--color-yellow-700-rgb, 135, 100, 0)",
|
|
134
|
-
"700-rgb-id": "--color-yellow-700-rgb",
|
|
135
|
-
"700-id": "--color-yellow-700"
|
|
136
|
-
},
|
|
137
|
-
"red": {
|
|
138
|
-
"100": "var(--color-red-100, #fdeaee)",
|
|
139
|
-
"200": "var(--color-red-200, #f9c2cb)",
|
|
140
|
-
"300": "var(--color-red-300, #f597a8)",
|
|
141
|
-
"400": "var(--color-red-400, #e0707d)",
|
|
142
|
-
"500": "var(--color-red-500, #c93b55)",
|
|
143
|
-
"600": "var(--color-red-600, #a82433)",
|
|
144
|
-
"700": "var(--color-red-700, #6c1e20)",
|
|
145
|
-
"100-rgb": "var(--color-red-100-rgb, 253, 234, 238)",
|
|
146
|
-
"100-rgb-id": "--color-red-100-rgb",
|
|
147
|
-
"100-id": "--color-red-100",
|
|
148
|
-
"200-rgb": "var(--color-red-200-rgb, 249, 194, 203)",
|
|
149
|
-
"200-rgb-id": "--color-red-200-rgb",
|
|
150
|
-
"200-id": "--color-red-200",
|
|
151
|
-
"300-rgb": "var(--color-red-300-rgb, 245, 151, 168)",
|
|
152
|
-
"300-rgb-id": "--color-red-300-rgb",
|
|
153
|
-
"300-id": "--color-red-300",
|
|
154
|
-
"400-rgb": "var(--color-red-400-rgb, 224, 112, 125)",
|
|
155
|
-
"400-rgb-id": "--color-red-400-rgb",
|
|
156
|
-
"400-id": "--color-red-400",
|
|
157
|
-
"500-rgb": "var(--color-red-500-rgb, 201, 59, 85)",
|
|
158
|
-
"500-rgb-id": "--color-red-500-rgb",
|
|
159
|
-
"500-id": "--color-red-500",
|
|
160
|
-
"600-rgb": "var(--color-red-600-rgb, 168, 36, 51)",
|
|
161
|
-
"600-rgb-id": "--color-red-600-rgb",
|
|
162
|
-
"600-id": "--color-red-600",
|
|
163
|
-
"700-rgb": "var(--color-red-700-rgb, 108, 30, 32)",
|
|
164
|
-
"700-rgb-id": "--color-red-700-rgb",
|
|
165
|
-
"700-id": "--color-red-700"
|
|
166
|
-
},
|
|
167
|
-
"orange": {
|
|
168
|
-
"100": "var(--color-orange-100, #fff0e8)",
|
|
169
|
-
"200": "var(--color-orange-200, #ffd1b9)",
|
|
170
|
-
"300": "var(--color-orange-300, #ffb08a)",
|
|
171
|
-
"400": "var(--color-orange-400, #ff9461)",
|
|
172
|
-
"500": "var(--color-orange-500, #e96c2f)",
|
|
173
|
-
"600": "var(--color-orange-600, #b74302)",
|
|
174
|
-
"700": "var(--color-orange-700, #903c00)",
|
|
175
|
-
"100-rgb": "var(--color-orange-100-rgb, 255, 240, 232)",
|
|
176
|
-
"100-rgb-id": "--color-orange-100-rgb",
|
|
177
|
-
"100-id": "--color-orange-100",
|
|
178
|
-
"200-rgb": "var(--color-orange-200-rgb, 255, 209, 185)",
|
|
179
|
-
"200-rgb-id": "--color-orange-200-rgb",
|
|
180
|
-
"200-id": "--color-orange-200",
|
|
181
|
-
"300-rgb": "var(--color-orange-300-rgb, 255, 176, 138)",
|
|
182
|
-
"300-rgb-id": "--color-orange-300-rgb",
|
|
183
|
-
"300-id": "--color-orange-300",
|
|
184
|
-
"400-rgb": "var(--color-orange-400-rgb, 255, 148, 97)",
|
|
185
|
-
"400-rgb-id": "--color-orange-400-rgb",
|
|
186
|
-
"400-id": "--color-orange-400",
|
|
187
|
-
"500-rgb": "var(--color-orange-500-rgb, 233, 108, 47)",
|
|
188
|
-
"500-rgb-id": "--color-orange-500-rgb",
|
|
189
|
-
"500-id": "--color-orange-500",
|
|
190
|
-
"600-rgb": "var(--color-orange-600-rgb, 183, 67, 2)",
|
|
191
|
-
"600-rgb-id": "--color-orange-600-rgb",
|
|
192
|
-
"600-id": "--color-orange-600",
|
|
193
|
-
"700-rgb": "var(--color-orange-700-rgb, 144, 60, 0)",
|
|
194
|
-
"700-rgb-id": "--color-orange-700-rgb",
|
|
195
|
-
"700-id": "--color-orange-700"
|
|
196
|
-
},
|
|
197
|
-
"gray": {
|
|
198
|
-
"100": "var(--color-gray-100, #f9f9f9)",
|
|
199
|
-
"200": "var(--color-gray-200, #f4f4f5)",
|
|
200
|
-
"300": "var(--color-gray-300, #eaeaec)",
|
|
201
|
-
"400": "var(--color-gray-400, #cdcdd0)",
|
|
202
|
-
"500": "var(--color-gray-500, #8c8c97)",
|
|
203
|
-
"600": "var(--color-gray-600, #524e56)",
|
|
204
|
-
"100-rgb": "var(--color-gray-100-rgb, 249, 249, 249)",
|
|
205
|
-
"100-rgb-id": "--color-gray-100-rgb",
|
|
206
|
-
"100-id": "--color-gray-100",
|
|
207
|
-
"200-rgb": "var(--color-gray-200-rgb, 244, 244, 245)",
|
|
208
|
-
"200-rgb-id": "--color-gray-200-rgb",
|
|
209
|
-
"200-id": "--color-gray-200",
|
|
210
|
-
"300-rgb": "var(--color-gray-300-rgb, 234, 234, 236)",
|
|
211
|
-
"300-rgb-id": "--color-gray-300-rgb",
|
|
212
|
-
"300-id": "--color-gray-300",
|
|
213
|
-
"400-rgb": "var(--color-gray-400-rgb, 205, 205, 208)",
|
|
214
|
-
"400-rgb-id": "--color-gray-400-rgb",
|
|
215
|
-
"400-id": "--color-gray-400",
|
|
216
|
-
"500-rgb": "var(--color-gray-500-rgb, 140, 140, 151)",
|
|
217
|
-
"500-rgb-id": "--color-gray-500-rgb",
|
|
218
|
-
"500-id": "--color-gray-500",
|
|
219
|
-
"600-rgb": "var(--color-gray-600-rgb, 82, 78, 86)",
|
|
220
|
-
"600-rgb-id": "--color-gray-600-rgb",
|
|
221
|
-
"600-id": "--color-gray-600"
|
|
222
|
-
},
|
|
223
|
-
"white": "var(--color-white, #ffffff)",
|
|
224
|
-
"white-rgb": "var(--color-white-rgb, 255, 255, 255)",
|
|
225
|
-
"white-rgb-id": "--color-white-rgb",
|
|
226
|
-
"white-id": "--color-white"
|
|
227
|
-
}
|
|
228
|
-
}
|
package/tokens/color.json.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { DeepMapObjectLeafs, Theme } from "../src/types"
|
|
2
|
-
/**
|
|
3
|
-
* @deprecated
|
|
4
|
-
* The preferred way to use Kaizen tokens in TypeScript/JavaScript is to use the React hook {@link useTheme} paired with a {@link ThemeProvider}
|
|
5
|
-
*/
|
|
6
|
-
export const color: DeepMapObjectLeafs<Theme["color"], string>
|
|
7
|
-
/**
|
|
8
|
-
* @deprecated
|
|
9
|
-
* The preferred way to use Kaizen tokens in TypeScript/JavaScript is to use the React hook {@link useTheme} paired with a {@link ThemeProvider}
|
|
10
|
-
*/
|
|
11
|
-
export default { color }
|
package/tokens/layout.json
DELETED
package/tokens/layout.json.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { DeepMapObjectLeafs, Theme } from "../src/types"
|
|
2
|
-
/**
|
|
3
|
-
* @deprecated
|
|
4
|
-
* The preferred way to use Kaizen tokens in TypeScript/JavaScript is to use the React hook {@link useTheme} paired with a {@link ThemeProvider}
|
|
5
|
-
*/
|
|
6
|
-
export const layout: DeepMapObjectLeafs<Theme["layout"], string>
|
|
7
|
-
/**
|
|
8
|
-
* @deprecated
|
|
9
|
-
* The preferred way to use Kaizen tokens in TypeScript/JavaScript is to use the React hook {@link useTheme} paired with a {@link ThemeProvider}
|
|
10
|
-
*/
|
|
11
|
-
export default { layout }
|
package/tokens/shadow.json
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"shadow": {
|
|
3
|
-
"small": {
|
|
4
|
-
"boxShadow": "var(--shadow-small-box-shadow, 0px 3px 16px rgba(0, 0, 0, 0.06), 0px 1px 3px rgba(0, 0, 0, 0.1))",
|
|
5
|
-
"boxShadow-id": "--shadow-small-box-shadow"
|
|
6
|
-
},
|
|
7
|
-
"large": {
|
|
8
|
-
"boxShadow": "var(--shadow-large-box-shadow, 0px 8px 40px rgba(0, 0, 0, 0.08), 0px 3px 9px rgba(0, 0, 0, 0.1))",
|
|
9
|
-
"boxShadow-id": "--shadow-large-box-shadow"
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
}
|
package/tokens/shadow.json.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { DeepMapObjectLeafs, Theme } from "../src/types"
|
|
2
|
-
/**
|
|
3
|
-
* @deprecated
|
|
4
|
-
* The preferred way to use Kaizen tokens in TypeScript/JavaScript is to use the React hook {@link useTheme} paired with a {@link ThemeProvider}
|
|
5
|
-
*/
|
|
6
|
-
export const shadow: DeepMapObjectLeafs<Theme["shadow"], string>
|
|
7
|
-
/**
|
|
8
|
-
* @deprecated
|
|
9
|
-
* The preferred way to use Kaizen tokens in TypeScript/JavaScript is to use the React hook {@link useTheme} paired with a {@link ThemeProvider}
|
|
10
|
-
*/
|
|
11
|
-
export default { shadow }
|
package/tokens/spacing.json
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"spacing": {
|
|
3
|
-
"0": "var(--spacing-0, 0)",
|
|
4
|
-
"1": "var(--spacing-1, .0625rem)",
|
|
5
|
-
"2": "var(--spacing-2, .125rem)",
|
|
6
|
-
"4": "var(--spacing-4, .25rem)",
|
|
7
|
-
"6": "var(--spacing-6, .375rem)",
|
|
8
|
-
"8": "var(--spacing-8, .5rem)",
|
|
9
|
-
"12": "var(--spacing-12, .75rem)",
|
|
10
|
-
"16": "var(--spacing-16, 1rem)",
|
|
11
|
-
"24": "var(--spacing-24, 1.5rem)",
|
|
12
|
-
"32": "var(--spacing-32, 2rem)",
|
|
13
|
-
"40": "var(--spacing-40, 2.5rem)",
|
|
14
|
-
"48": "var(--spacing-48, 3rem)",
|
|
15
|
-
"56": "var(--spacing-56, 3.5rem)",
|
|
16
|
-
"64": "var(--spacing-64, 4rem)",
|
|
17
|
-
"72": "var(--spacing-72, 4.5rem)",
|
|
18
|
-
"80": "var(--spacing-80, 5rem)",
|
|
19
|
-
"96": "var(--spacing-96, 6rem)",
|
|
20
|
-
"112": "var(--spacing-112, 7rem)",
|
|
21
|
-
"128": "var(--spacing-128, 8rem)",
|
|
22
|
-
"160": "var(--spacing-160, 10rem)",
|
|
23
|
-
"200": "var(--spacing-200, 12.5rem)",
|
|
24
|
-
"240": "var(--spacing-240, 15rem)",
|
|
25
|
-
"280": "var(--spacing-280, 17.5rem)",
|
|
26
|
-
"320": "var(--spacing-320, 20rem)",
|
|
27
|
-
"0-id": "--spacing-0",
|
|
28
|
-
"1-id": "--spacing-1",
|
|
29
|
-
"2-id": "--spacing-2",
|
|
30
|
-
"4-id": "--spacing-4",
|
|
31
|
-
"6-id": "--spacing-6",
|
|
32
|
-
"8-id": "--spacing-8",
|
|
33
|
-
"12-id": "--spacing-12",
|
|
34
|
-
"16-id": "--spacing-16",
|
|
35
|
-
"24-id": "--spacing-24",
|
|
36
|
-
"32-id": "--spacing-32",
|
|
37
|
-
"40-id": "--spacing-40",
|
|
38
|
-
"48-id": "--spacing-48",
|
|
39
|
-
"56-id": "--spacing-56",
|
|
40
|
-
"64-id": "--spacing-64",
|
|
41
|
-
"72-id": "--spacing-72",
|
|
42
|
-
"80-id": "--spacing-80",
|
|
43
|
-
"96-id": "--spacing-96",
|
|
44
|
-
"112-id": "--spacing-112",
|
|
45
|
-
"128-id": "--spacing-128",
|
|
46
|
-
"160-id": "--spacing-160",
|
|
47
|
-
"200-id": "--spacing-200",
|
|
48
|
-
"240-id": "--spacing-240",
|
|
49
|
-
"280-id": "--spacing-280",
|
|
50
|
-
"320-id": "--spacing-320",
|
|
51
|
-
"xs": "var(--spacing-xs, 0.375rem)",
|
|
52
|
-
"xs-id": "--spacing-xs",
|
|
53
|
-
"sm": "var(--spacing-sm, 0.75rem)",
|
|
54
|
-
"sm-id": "--spacing-sm",
|
|
55
|
-
"md": "var(--spacing-md, 1.5rem)",
|
|
56
|
-
"md-id": "--spacing-md",
|
|
57
|
-
"lg": "var(--spacing-lg, 2.25rem)",
|
|
58
|
-
"lg-id": "--spacing-lg",
|
|
59
|
-
"xl": "var(--spacing-xl, 3rem)",
|
|
60
|
-
"xl-id": "--spacing-xl",
|
|
61
|
-
"xxl": "var(--spacing-xxl, 3.75rem)",
|
|
62
|
-
"xxl-id": "--spacing-xxl",
|
|
63
|
-
"xxxl": "var(--spacing-xxxl, 4.5rem)",
|
|
64
|
-
"xxxl-id": "--spacing-xxxl",
|
|
65
|
-
"xxxxl": "var(--spacing-xxxxl, 5.25rem)",
|
|
66
|
-
"xxxxl-id": "--spacing-xxxxl",
|
|
67
|
-
"xxxxxl": "var(--spacing-xxxxxl, 6rem)",
|
|
68
|
-
"xxxxxl-id": "--spacing-xxxxxl"
|
|
69
|
-
}
|
|
70
|
-
}
|
package/tokens/spacing.json.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { DeepMapObjectLeafs, Theme } from "../src/types"
|
|
2
|
-
/**
|
|
3
|
-
* @deprecated
|
|
4
|
-
* The preferred way to use Kaizen tokens in TypeScript/JavaScript is to use the React hook {@link useTheme} paired with a {@link ThemeProvider}
|
|
5
|
-
*/
|
|
6
|
-
export const spacing: DeepMapObjectLeafs<Theme["spacing"], string>
|
|
7
|
-
/**
|
|
8
|
-
* @deprecated
|
|
9
|
-
* The preferred way to use Kaizen tokens in TypeScript/JavaScript is to use the React hook {@link useTheme} paired with a {@link ThemeProvider}
|
|
10
|
-
*/
|
|
11
|
-
export default { spacing }
|
package/tokens/typography.json
DELETED
|
@@ -1,244 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"typography": {
|
|
3
|
-
"dataLarge": {
|
|
4
|
-
"fontFamily": "var(--typography-data-large-font-family, \"Inter\", \"Noto Sans\", Helvetica, Arial, sans-serif)",
|
|
5
|
-
"fontFamily-id": "--typography-data-large-font-family",
|
|
6
|
-
"fontWeight": "var(--typography-data-large-font-weight, 700)",
|
|
7
|
-
"fontWeight-id": "--typography-data-large-font-weight",
|
|
8
|
-
"fontSize": "var(--typography-data-large-font-size, 5.25rem)",
|
|
9
|
-
"fontSize-id": "--typography-data-large-font-size",
|
|
10
|
-
"lineHeight": "var(--typography-data-large-line-height, 5.25rem)",
|
|
11
|
-
"lineHeight-id": "--typography-data-large-line-height",
|
|
12
|
-
"letterSpacing": "var(--typography-data-large-letter-spacing, normal)",
|
|
13
|
-
"letterSpacing-id": "--typography-data-large-letter-spacing"
|
|
14
|
-
},
|
|
15
|
-
"dataLargeUnits": {
|
|
16
|
-
"fontFamily": "var(--typography-data-large-units-font-family, \"Inter\", \"Noto Sans\", Helvetica, Arial, sans-serif)",
|
|
17
|
-
"fontFamily-id": "--typography-data-large-units-font-family",
|
|
18
|
-
"fontWeight": "var(--typography-data-large-units-font-weight, 700)",
|
|
19
|
-
"fontWeight-id": "--typography-data-large-units-font-weight",
|
|
20
|
-
"fontSize": "var(--typography-data-large-units-font-size, 2.625rem)",
|
|
21
|
-
"fontSize-id": "--typography-data-large-units-font-size",
|
|
22
|
-
"lineHeight": "var(--typography-data-large-units-line-height, 5.25rem)",
|
|
23
|
-
"lineHeight-id": "--typography-data-large-units-line-height",
|
|
24
|
-
"letterSpacing": "var(--typography-data-large-units-letter-spacing, normal)",
|
|
25
|
-
"letterSpacing-id": "--typography-data-large-units-letter-spacing"
|
|
26
|
-
},
|
|
27
|
-
"dataMedium": {
|
|
28
|
-
"fontFamily": "var(--typography-data-medium-font-family, \"Inter\", \"Noto Sans\", Helvetica, Arial, sans-serif)",
|
|
29
|
-
"fontFamily-id": "--typography-data-medium-font-family",
|
|
30
|
-
"fontWeight": "var(--typography-data-medium-font-weight, 700)",
|
|
31
|
-
"fontWeight-id": "--typography-data-medium-font-weight",
|
|
32
|
-
"fontSize": "var(--typography-data-medium-font-size, 3rem)",
|
|
33
|
-
"fontSize-id": "--typography-data-medium-font-size",
|
|
34
|
-
"lineHeight": "var(--typography-data-medium-line-height, 5rem)",
|
|
35
|
-
"lineHeight-id": "--typography-data-medium-line-height",
|
|
36
|
-
"letterSpacing": "var(--typography-data-medium-letter-spacing, normal)",
|
|
37
|
-
"letterSpacing-id": "--typography-data-medium-letter-spacing"
|
|
38
|
-
},
|
|
39
|
-
"dataMediumUnits": {
|
|
40
|
-
"fontFamily": "var(--typography-data-medium-units-font-family, \"Inter\", \"Noto Sans\", Helvetica, Arial, sans-serif)",
|
|
41
|
-
"fontFamily-id": "--typography-data-medium-units-font-family",
|
|
42
|
-
"fontWeight": "var(--typography-data-medium-units-font-weight, 700)",
|
|
43
|
-
"fontWeight-id": "--typography-data-medium-units-font-weight",
|
|
44
|
-
"fontSize": "var(--typography-data-medium-units-font-size, 1.5rem)",
|
|
45
|
-
"fontSize-id": "--typography-data-medium-units-font-size",
|
|
46
|
-
"lineHeight": "var(--typography-data-medium-units-line-height, 5rem)",
|
|
47
|
-
"lineHeight-id": "--typography-data-medium-units-line-height",
|
|
48
|
-
"letterSpacing": "var(--typography-data-medium-units-letter-spacing, normal)",
|
|
49
|
-
"letterSpacing-id": "--typography-data-medium-units-letter-spacing"
|
|
50
|
-
},
|
|
51
|
-
"dataSmall": {
|
|
52
|
-
"fontFamily": "var(--typography-data-small-font-family, \"Inter\", \"Noto Sans\", Helvetica, Arial, sans-serif)",
|
|
53
|
-
"fontFamily-id": "--typography-data-small-font-family",
|
|
54
|
-
"fontWeight": "var(--typography-data-small-font-weight, 700)",
|
|
55
|
-
"fontWeight-id": "--typography-data-small-font-weight",
|
|
56
|
-
"fontSize": "var(--typography-data-small-font-size, 1.5rem)",
|
|
57
|
-
"fontSize-id": "--typography-data-small-font-size",
|
|
58
|
-
"lineHeight": "var(--typography-data-small-line-height, 1.5rem)",
|
|
59
|
-
"lineHeight-id": "--typography-data-small-line-height",
|
|
60
|
-
"letterSpacing": "var(--typography-data-small-letter-spacing, normal)",
|
|
61
|
-
"letterSpacing-id": "--typography-data-small-letter-spacing"
|
|
62
|
-
},
|
|
63
|
-
"dataSmallUnits": {
|
|
64
|
-
"fontFamily": "var(--typography-data-small-units-font-family, \"Inter\", \"Noto Sans\", Helvetica, Arial, sans-serif)",
|
|
65
|
-
"fontFamily-id": "--typography-data-small-units-font-family",
|
|
66
|
-
"fontWeight": "var(--typography-data-small-units-font-weight, 700)",
|
|
67
|
-
"fontWeight-id": "--typography-data-small-units-font-weight",
|
|
68
|
-
"fontSize": "var(--typography-data-small-units-font-size, 1.125rem)",
|
|
69
|
-
"fontSize-id": "--typography-data-small-units-font-size",
|
|
70
|
-
"lineHeight": "var(--typography-data-small-units-line-height, 1.5rem)",
|
|
71
|
-
"lineHeight-id": "--typography-data-small-units-line-height",
|
|
72
|
-
"letterSpacing": "var(--typography-data-small-units-letter-spacing, normal)",
|
|
73
|
-
"letterSpacing-id": "--typography-data-small-units-letter-spacing"
|
|
74
|
-
},
|
|
75
|
-
"display0": {
|
|
76
|
-
"fontFamily": "var(--typography-display-0-font-family, \"Tiempos Headline\", Georgia, serif)",
|
|
77
|
-
"fontFamily-id": "--typography-display-0-font-family",
|
|
78
|
-
"fontWeight": "var(--typography-display-0-font-weight, 800)",
|
|
79
|
-
"fontWeight-id": "--typography-display-0-font-weight",
|
|
80
|
-
"fontSize": "var(--typography-display-0-font-size, 4.5rem)",
|
|
81
|
-
"fontSize-id": "--typography-display-0-font-size",
|
|
82
|
-
"lineHeight": "var(--typography-display-0-line-height, 5.25rem)",
|
|
83
|
-
"lineHeight-id": "--typography-display-0-line-height",
|
|
84
|
-
"letterSpacing": "var(--typography-display-0-letter-spacing, 0em)",
|
|
85
|
-
"letterSpacing-id": "--typography-display-0-letter-spacing"
|
|
86
|
-
},
|
|
87
|
-
"heading1": {
|
|
88
|
-
"fontFamily": "var(--typography-heading-1-font-family, \"Inter\", \"Noto Sans\", Helvetica, Arial, sans-serif)",
|
|
89
|
-
"fontFamily-id": "--typography-heading-1-font-family",
|
|
90
|
-
"fontWeight": "var(--typography-heading-1-font-weight, 700)",
|
|
91
|
-
"fontWeight-id": "--typography-heading-1-font-weight",
|
|
92
|
-
"fontSize": "var(--typography-heading-1-font-size, 2.125rem)",
|
|
93
|
-
"fontSize-id": "--typography-heading-1-font-size",
|
|
94
|
-
"lineHeight": "var(--typography-heading-1-line-height, 2.625rem)",
|
|
95
|
-
"lineHeight-id": "--typography-heading-1-line-height",
|
|
96
|
-
"letterSpacing": "var(--typography-heading-1-letter-spacing, normal)",
|
|
97
|
-
"letterSpacing-id": "--typography-heading-1-letter-spacing"
|
|
98
|
-
},
|
|
99
|
-
"heading2": {
|
|
100
|
-
"fontFamily": "var(--typography-heading-2-font-family, \"Inter\", \"Noto Sans\", Helvetica, Arial, sans-serif)",
|
|
101
|
-
"fontFamily-id": "--typography-heading-2-font-family",
|
|
102
|
-
"fontWeight": "var(--typography-heading-2-font-weight, 700)",
|
|
103
|
-
"fontWeight-id": "--typography-heading-2-font-weight",
|
|
104
|
-
"fontSize": "var(--typography-heading-2-font-size, 1.75rem)",
|
|
105
|
-
"fontSize-id": "--typography-heading-2-font-size",
|
|
106
|
-
"lineHeight": "var(--typography-heading-2-line-height, 2.25rem)",
|
|
107
|
-
"lineHeight-id": "--typography-heading-2-line-height",
|
|
108
|
-
"letterSpacing": "var(--typography-heading-2-letter-spacing, normal)",
|
|
109
|
-
"letterSpacing-id": "--typography-heading-2-letter-spacing"
|
|
110
|
-
},
|
|
111
|
-
"heading3": {
|
|
112
|
-
"fontFamily": "var(--typography-heading-3-font-family, \"Inter\", \"Noto Sans\", Helvetica, Arial, sans-serif)",
|
|
113
|
-
"fontFamily-id": "--typography-heading-3-font-family",
|
|
114
|
-
"fontWeight": "var(--typography-heading-3-font-weight, 700)",
|
|
115
|
-
"fontWeight-id": "--typography-heading-3-font-weight",
|
|
116
|
-
"fontSize": "var(--typography-heading-3-font-size, 1.375rem)",
|
|
117
|
-
"fontSize-id": "--typography-heading-3-font-size",
|
|
118
|
-
"lineHeight": "var(--typography-heading-3-line-height, 1.875rem)",
|
|
119
|
-
"lineHeight-id": "--typography-heading-3-line-height",
|
|
120
|
-
"letterSpacing": "var(--typography-heading-3-letter-spacing, normal)",
|
|
121
|
-
"letterSpacing-id": "--typography-heading-3-letter-spacing"
|
|
122
|
-
},
|
|
123
|
-
"heading4": {
|
|
124
|
-
"fontFamily": "var(--typography-heading-4-font-family, \"Inter\", \"Noto Sans\", Helvetica, Arial, sans-serif)",
|
|
125
|
-
"fontFamily-id": "--typography-heading-4-font-family",
|
|
126
|
-
"fontWeight": "var(--typography-heading-4-font-weight, 600)",
|
|
127
|
-
"fontWeight-id": "--typography-heading-4-font-weight",
|
|
128
|
-
"fontSize": "var(--typography-heading-4-font-size, 1.125rem)",
|
|
129
|
-
"fontSize-id": "--typography-heading-4-font-size",
|
|
130
|
-
"lineHeight": "var(--typography-heading-4-line-height, 1.5rem)",
|
|
131
|
-
"lineHeight-id": "--typography-heading-4-line-height",
|
|
132
|
-
"letterSpacing": "var(--typography-heading-4-letter-spacing, normal)",
|
|
133
|
-
"letterSpacing-id": "--typography-heading-4-letter-spacing"
|
|
134
|
-
},
|
|
135
|
-
"heading5": {
|
|
136
|
-
"fontFamily": "var(--typography-heading-5-font-family, \"Inter\", \"Noto Sans\", Helvetica, Arial, sans-serif)",
|
|
137
|
-
"fontFamily-id": "--typography-heading-5-font-family",
|
|
138
|
-
"fontWeight": "var(--typography-heading-5-font-weight, 600)",
|
|
139
|
-
"fontWeight-id": "--typography-heading-5-font-weight",
|
|
140
|
-
"fontSize": "var(--typography-heading-5-font-size, 1rem)",
|
|
141
|
-
"fontSize-id": "--typography-heading-5-font-size",
|
|
142
|
-
"lineHeight": "var(--typography-heading-5-line-height, 1.5rem)",
|
|
143
|
-
"lineHeight-id": "--typography-heading-5-line-height",
|
|
144
|
-
"letterSpacing": "var(--typography-heading-5-letter-spacing, normal)",
|
|
145
|
-
"letterSpacing-id": "--typography-heading-5-letter-spacing"
|
|
146
|
-
},
|
|
147
|
-
"heading6": {
|
|
148
|
-
"fontFamily": "var(--typography-heading-6-font-family, \"Inter\", \"Noto Sans\", Helvetica, Arial, sans-serif)",
|
|
149
|
-
"fontFamily-id": "--typography-heading-6-font-family",
|
|
150
|
-
"fontWeight": "var(--typography-heading-6-font-weight, 700)",
|
|
151
|
-
"fontWeight-id": "--typography-heading-6-font-weight",
|
|
152
|
-
"fontSize": "var(--typography-heading-6-font-size, 0.875rem)",
|
|
153
|
-
"fontSize-id": "--typography-heading-6-font-size",
|
|
154
|
-
"lineHeight": "var(--typography-heading-6-line-height, 1.5rem)",
|
|
155
|
-
"lineHeight-id": "--typography-heading-6-line-height",
|
|
156
|
-
"letterSpacing": "var(--typography-heading-6-letter-spacing, normal)",
|
|
157
|
-
"letterSpacing-id": "--typography-heading-6-letter-spacing"
|
|
158
|
-
},
|
|
159
|
-
"paragraphIntroLede": {
|
|
160
|
-
"fontFamily": "var(--typography-paragraph-intro-lede-font-family, \"Inter\", \"Noto Sans\", Helvetica, Arial, sans-serif)",
|
|
161
|
-
"fontFamily-id": "--typography-paragraph-intro-lede-font-family",
|
|
162
|
-
"fontWeight": "var(--typography-paragraph-intro-lede-font-weight, 400)",
|
|
163
|
-
"fontWeight-id": "--typography-paragraph-intro-lede-font-weight",
|
|
164
|
-
"fontSize": "var(--typography-paragraph-intro-lede-font-size, 1.25rem)",
|
|
165
|
-
"fontSize-id": "--typography-paragraph-intro-lede-font-size",
|
|
166
|
-
"lineHeight": "var(--typography-paragraph-intro-lede-line-height, 1.875rem)",
|
|
167
|
-
"lineHeight-id": "--typography-paragraph-intro-lede-line-height",
|
|
168
|
-
"letterSpacing": "var(--typography-paragraph-intro-lede-letter-spacing, 0)",
|
|
169
|
-
"letterSpacing-id": "--typography-paragraph-intro-lede-letter-spacing",
|
|
170
|
-
"maxWidth": "var(--typography-paragraph-intro-lede-max-width, 975px)",
|
|
171
|
-
"maxWidth-id": "--typography-paragraph-intro-lede-max-width"
|
|
172
|
-
},
|
|
173
|
-
"paragraphBody": {
|
|
174
|
-
"fontFamily": "var(--typography-paragraph-body-font-family, \"Inter\", \"Noto Sans\", Helvetica, Arial, sans-serif)",
|
|
175
|
-
"fontFamily-id": "--typography-paragraph-body-font-family",
|
|
176
|
-
"fontWeight": "var(--typography-paragraph-body-font-weight, 400)",
|
|
177
|
-
"fontWeight-id": "--typography-paragraph-body-font-weight",
|
|
178
|
-
"fontSize": "var(--typography-paragraph-body-font-size, 1rem)",
|
|
179
|
-
"fontSize-id": "--typography-paragraph-body-font-size",
|
|
180
|
-
"lineHeight": "var(--typography-paragraph-body-line-height, 1.5rem)",
|
|
181
|
-
"lineHeight-id": "--typography-paragraph-body-line-height",
|
|
182
|
-
"letterSpacing": "var(--typography-paragraph-body-letter-spacing, normal)",
|
|
183
|
-
"letterSpacing-id": "--typography-paragraph-body-letter-spacing",
|
|
184
|
-
"maxWidth": "var(--typography-paragraph-body-max-width, 780px)",
|
|
185
|
-
"maxWidth-id": "--typography-paragraph-body-max-width"
|
|
186
|
-
},
|
|
187
|
-
"paragraphSmall": {
|
|
188
|
-
"fontFamily": "var(--typography-paragraph-small-font-family, \"Inter\", \"Noto Sans\", Helvetica, Arial, sans-serif)",
|
|
189
|
-
"fontFamily-id": "--typography-paragraph-small-font-family",
|
|
190
|
-
"fontWeight": "var(--typography-paragraph-small-font-weight, 400)",
|
|
191
|
-
"fontWeight-id": "--typography-paragraph-small-font-weight",
|
|
192
|
-
"fontSize": "var(--typography-paragraph-small-font-size, 0.875rem)",
|
|
193
|
-
"fontSize-id": "--typography-paragraph-small-font-size",
|
|
194
|
-
"lineHeight": "var(--typography-paragraph-small-line-height, 1.125rem)",
|
|
195
|
-
"lineHeight-id": "--typography-paragraph-small-line-height",
|
|
196
|
-
"letterSpacing": "var(--typography-paragraph-small-letter-spacing, normal)",
|
|
197
|
-
"letterSpacing-id": "--typography-paragraph-small-letter-spacing",
|
|
198
|
-
"maxWidth": "var(--typography-paragraph-small-max-width, 680px)",
|
|
199
|
-
"maxWidth-id": "--typography-paragraph-small-max-width"
|
|
200
|
-
},
|
|
201
|
-
"paragraphExtraSmall": {
|
|
202
|
-
"fontFamily": "var(--typography-paragraph-extra-small-font-family, \"Inter\", \"Noto Sans\", Helvetica, Arial, sans-serif)",
|
|
203
|
-
"fontFamily-id": "--typography-paragraph-extra-small-font-family",
|
|
204
|
-
"fontWeight": "var(--typography-paragraph-extra-small-font-weight, 400)",
|
|
205
|
-
"fontWeight-id": "--typography-paragraph-extra-small-font-weight",
|
|
206
|
-
"fontSize": "var(--typography-paragraph-extra-small-font-size, 0.75rem)",
|
|
207
|
-
"fontSize-id": "--typography-paragraph-extra-small-font-size",
|
|
208
|
-
"lineHeight": "var(--typography-paragraph-extra-small-line-height, 1.125rem)",
|
|
209
|
-
"lineHeight-id": "--typography-paragraph-extra-small-line-height",
|
|
210
|
-
"letterSpacing": "var(--typography-paragraph-extra-small-letter-spacing, normal)",
|
|
211
|
-
"letterSpacing-id": "--typography-paragraph-extra-small-letter-spacing",
|
|
212
|
-
"maxWidth": "var(--typography-paragraph-extra-small-max-width, 600px)",
|
|
213
|
-
"maxWidth-id": "--typography-paragraph-extra-small-max-width"
|
|
214
|
-
},
|
|
215
|
-
"paragraphBold": {
|
|
216
|
-
"fontWeight": "var(--typography-paragraph-bold-font-weight, 600)",
|
|
217
|
-
"fontWeight-id": "--typography-paragraph-bold-font-weight"
|
|
218
|
-
},
|
|
219
|
-
"buttonPrimary": {
|
|
220
|
-
"fontFamily": "var(--typography-button-primary-font-family, \"Inter\", \"Noto Sans\", Helvetica, Arial, sans-serif)",
|
|
221
|
-
"fontFamily-id": "--typography-button-primary-font-family",
|
|
222
|
-
"fontWeight": "var(--typography-button-primary-font-weight, 700)",
|
|
223
|
-
"fontWeight-id": "--typography-button-primary-font-weight",
|
|
224
|
-
"fontSize": "var(--typography-button-primary-font-size, 1.125rem)",
|
|
225
|
-
"fontSize-id": "--typography-button-primary-font-size",
|
|
226
|
-
"lineHeight": "var(--typography-button-primary-line-height, 1.5rem)",
|
|
227
|
-
"lineHeight-id": "--typography-button-primary-line-height",
|
|
228
|
-
"letterSpacing": "var(--typography-button-primary-letter-spacing, normal)",
|
|
229
|
-
"letterSpacing-id": "--typography-button-primary-letter-spacing"
|
|
230
|
-
},
|
|
231
|
-
"buttonSecondary": {
|
|
232
|
-
"fontFamily": "var(--typography-button-secondary-font-family, \"Inter\", \"Noto Sans\", Helvetica, Arial, sans-serif)",
|
|
233
|
-
"fontFamily-id": "--typography-button-secondary-font-family",
|
|
234
|
-
"fontWeight": "var(--typography-button-secondary-font-weight, 500)",
|
|
235
|
-
"fontWeight-id": "--typography-button-secondary-font-weight",
|
|
236
|
-
"fontSize": "var(--typography-button-secondary-font-size, 1rem)",
|
|
237
|
-
"fontSize-id": "--typography-button-secondary-font-size",
|
|
238
|
-
"lineHeight": "var(--typography-button-secondary-line-height, 1.5rem)",
|
|
239
|
-
"lineHeight-id": "--typography-button-secondary-line-height",
|
|
240
|
-
"letterSpacing": "var(--typography-button-secondary-letter-spacing, normal)",
|
|
241
|
-
"letterSpacing-id": "--typography-button-secondary-letter-spacing"
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { DeepMapObjectLeafs, Theme } from "../src/types"
|
|
2
|
-
/**
|
|
3
|
-
* @deprecated
|
|
4
|
-
* The preferred way to use Kaizen tokens in TypeScript/JavaScript is to use the React hook {@link useTheme} paired with a {@link ThemeProvider}
|
|
5
|
-
*/
|
|
6
|
-
export const typography: DeepMapObjectLeafs<Theme["typography"], string>
|
|
7
|
-
/**
|
|
8
|
-
* @deprecated
|
|
9
|
-
* The preferred way to use Kaizen tokens in TypeScript/JavaScript is to use the React hook {@link useTheme} paired with a {@link ThemeProvider}
|
|
10
|
-
*/
|
|
11
|
-
export default { typography }
|