@khanacademy/wonder-blocks-tokens 7.0.0 → 9.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/CHANGELOG.md CHANGED
@@ -1,5 +1,34 @@
1
1
  # @khanacademy/wonder-blocks-tokens
2
2
 
3
+ ## 9.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - 7bbf311: Replaces `semanticColor` values with references to css variables. Creates a build step to convert semanticColor tokens to css variables that can be consumed via CSS imports.
8
+
9
+ ### Minor Changes
10
+
11
+ - 2656fd4: Export `border` and `sizing` as CSS variables. Map JS tokens to css var counterparts
12
+ - 7f79943: Update build script to use the new data-wb-theme attribute to generate styles.css. Fixes vite.config to allow importing css files in Storybbok
13
+
14
+ ### Patch Changes
15
+
16
+ - 6018552: Export TS types correctly in package.json so consumers can use them correctly
17
+ - Updated dependencies [7f79943]
18
+ - Updated dependencies [7bbf311]
19
+ - @khanacademy/wonder-blocks-theming@3.3.0
20
+
21
+ ## 8.0.0
22
+
23
+ ### Major Changes
24
+
25
+ - e63adea: Updated `border.width` tokens to use new structure:
26
+
27
+ | Current Token Name | New Token Name | Pixels (px) |
28
+ | ------------------ | -------------- | ----------- |
29
+ | `hairline` | `thin` | 1px |
30
+ | `thin` | `medium` | 2px |
31
+
3
32
  ## 7.0.0
4
33
 
5
34
  ### Major Changes
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env -S node -r @swc-node/register
2
+ export {};
@@ -0,0 +1 @@
1
+ :root {--wb-border-radius-radius_0: 0px;--wb-border-radius-radius_040: 4px;--wb-border-radius-radius_080: 8px;--wb-border-radius-radius_120: 12px;--wb-border-radius-radius_full: 50%;--wb-border-width-none: 0px;--wb-border-width-thin: 1px;--wb-border-width-medium: 2px;--wb-border-width-thick: 4px;--wb-semanticColor-action-primary-progressive-default-border: transparent;--wb-semanticColor-action-primary-progressive-default-background: #1865f2;--wb-semanticColor-action-primary-progressive-default-foreground: #ffffff;--wb-semanticColor-action-primary-progressive-hover-border: #1865f2;--wb-semanticColor-action-primary-progressive-hover-background: #1865f2;--wb-semanticColor-action-primary-progressive-hover-foreground: #ffffff;--wb-semanticColor-action-primary-progressive-press-border: #1b50b3;--wb-semanticColor-action-primary-progressive-press-background: #1b50b3;--wb-semanticColor-action-primary-progressive-press-foreground: #ffffff;--wb-semanticColor-action-primary-destructive-default-border: transparent;--wb-semanticColor-action-primary-destructive-default-background: #d92916;--wb-semanticColor-action-primary-destructive-default-foreground: #ffffff;--wb-semanticColor-action-primary-destructive-hover-border: #d92916;--wb-semanticColor-action-primary-destructive-hover-background: #d92916;--wb-semanticColor-action-primary-destructive-hover-foreground: #ffffff;--wb-semanticColor-action-primary-destructive-press-border: #9e271d;--wb-semanticColor-action-primary-destructive-press-background: #9e271d;--wb-semanticColor-action-primary-destructive-press-foreground: #ffffff;--wb-semanticColor-action-primary-neutral-default-border: transparent;--wb-semanticColor-action-primary-neutral-default-background: #5f6167;--wb-semanticColor-action-primary-neutral-default-foreground: #ffffff;--wb-semanticColor-action-primary-neutral-hover-border: #5f6167;--wb-semanticColor-action-primary-neutral-hover-background: #5f6167;--wb-semanticColor-action-primary-neutral-hover-foreground: #ffffff;--wb-semanticColor-action-primary-neutral-press-border: #21242c;--wb-semanticColor-action-primary-neutral-press-background: #21242c;--wb-semanticColor-action-primary-neutral-press-foreground: #ffffff;--wb-semanticColor-action-primary-disabled-border: #b8b9bb;--wb-semanticColor-action-primary-disabled-background: #b8b9bb;--wb-semanticColor-action-primary-disabled-foreground: #f7f8fa;--wb-semanticColor-action-secondary-progressive-default-border: #909296;--wb-semanticColor-action-secondary-progressive-default-background: transparent;--wb-semanticColor-action-secondary-progressive-default-foreground: #1865f2;--wb-semanticColor-action-secondary-progressive-hover-border: #1865f2;--wb-semanticColor-action-secondary-progressive-hover-background: transparent;--wb-semanticColor-action-secondary-progressive-hover-foreground: #1865f2;--wb-semanticColor-action-secondary-progressive-press-border: #1b50b3;--wb-semanticColor-action-secondary-progressive-press-background: #b5cefb;--wb-semanticColor-action-secondary-progressive-press-foreground: #1b50b3;--wb-semanticColor-action-secondary-destructive-default-border: #909296;--wb-semanticColor-action-secondary-destructive-default-background: transparent;--wb-semanticColor-action-secondary-destructive-default-foreground: #d92916;--wb-semanticColor-action-secondary-destructive-hover-border: #d92916;--wb-semanticColor-action-secondary-destructive-hover-background: transparent;--wb-semanticColor-action-secondary-destructive-hover-foreground: #d92916;--wb-semanticColor-action-secondary-destructive-press-border: #9e271d;--wb-semanticColor-action-secondary-destructive-press-background: #f3bbb4;--wb-semanticColor-action-secondary-destructive-press-foreground: #9e271d;--wb-semanticColor-action-secondary-neutral-default-border: #909296;--wb-semanticColor-action-secondary-neutral-default-background: transparent;--wb-semanticColor-action-secondary-neutral-default-foreground: #5f6167;--wb-semanticColor-action-secondary-neutral-hover-border: #5f6167;--wb-semanticColor-action-secondary-neutral-hover-background: transparent;--wb-semanticColor-action-secondary-neutral-hover-foreground: #5f6167;--wb-semanticColor-action-secondary-neutral-press-border: #21242c;--wb-semanticColor-action-secondary-neutral-press-background: transparent;--wb-semanticColor-action-secondary-neutral-press-foreground: #21242c;--wb-semanticColor-action-secondary-disabled-border: #dbdcdd;--wb-semanticColor-action-secondary-disabled-background: #f7f8fa;--wb-semanticColor-action-secondary-disabled-foreground: #b8b9bb;--wb-semanticColor-action-tertiary-progressive-default-border: transparent;--wb-semanticColor-action-tertiary-progressive-default-background: transparent;--wb-semanticColor-action-tertiary-progressive-default-foreground: #1865f2;--wb-semanticColor-action-tertiary-progressive-hover-border: #1865f2;--wb-semanticColor-action-tertiary-progressive-hover-background: transparent;--wb-semanticColor-action-tertiary-progressive-hover-foreground: #1865f2;--wb-semanticColor-action-tertiary-progressive-press-border: #1b50b3;--wb-semanticColor-action-tertiary-progressive-press-background: transparent;--wb-semanticColor-action-tertiary-progressive-press-foreground: #1b50b3;--wb-semanticColor-action-tertiary-destructive-default-border: transparent;--wb-semanticColor-action-tertiary-destructive-default-background: transparent;--wb-semanticColor-action-tertiary-destructive-default-foreground: #d92916;--wb-semanticColor-action-tertiary-destructive-hover-border: #d92916;--wb-semanticColor-action-tertiary-destructive-hover-background: transparent;--wb-semanticColor-action-tertiary-destructive-hover-foreground: #d92916;--wb-semanticColor-action-tertiary-destructive-press-border: #9e271d;--wb-semanticColor-action-tertiary-destructive-press-background: transparent;--wb-semanticColor-action-tertiary-destructive-press-foreground: #9e271d;--wb-semanticColor-action-tertiary-neutral-default-border: transparent;--wb-semanticColor-action-tertiary-neutral-default-background: transparent;--wb-semanticColor-action-tertiary-neutral-default-foreground: #5f6167;--wb-semanticColor-action-tertiary-neutral-hover-border: #5f6167;--wb-semanticColor-action-tertiary-neutral-hover-background: transparent;--wb-semanticColor-action-tertiary-neutral-hover-foreground: #5f6167;--wb-semanticColor-action-tertiary-neutral-press-border: #21242c;--wb-semanticColor-action-tertiary-neutral-press-background: transparent;--wb-semanticColor-action-tertiary-neutral-press-foreground: #21242c;--wb-semanticColor-action-tertiary-disabled-border: #dbdcdd;--wb-semanticColor-action-tertiary-disabled-background: transparent;--wb-semanticColor-action-tertiary-disabled-foreground: #b8b9bb;--wb-semanticColor-status-critical-background: #fceeec;--wb-semanticColor-status-critical-foreground: #d92916;--wb-semanticColor-status-warning-background: #fff9eb;--wb-semanticColor-status-warning-foreground: #ffb100;--wb-semanticColor-status-success-background: #ebf8ec;--wb-semanticColor-status-success-foreground: #00a60e;--wb-semanticColor-status-notice-background: #edf3fe;--wb-semanticColor-status-notice-foreground: #1865f2;--wb-semanticColor-status-neutral-background: #ededee;--wb-semanticColor-status-neutral-foreground: #21242c;--wb-semanticColor-surface-primary: #ffffff;--wb-semanticColor-surface-secondary: #f7f8fa;--wb-semanticColor-surface-emphasis: #1865f2;--wb-semanticColor-surface-inverse: #0b2149;--wb-semanticColor-surface-overlay: rgba(33,36,44,0.64);--wb-semanticColor-text-primary: #21242c;--wb-semanticColor-text-secondary: #5f6167;--wb-semanticColor-text-disabled: #b8b9bb;--wb-semanticColor-text-inverse: #ffffff;--wb-semanticColor-border-primary: #dbdcdd;--wb-semanticColor-border-subtle: #ededee;--wb-semanticColor-border-strong: #909296;--wb-semanticColor-border-inverse: #ffffff;--wb-semanticColor-focus-outer: #1865f2;--wb-semanticColor-focus-inner: #ffffff;--wb-semanticColor-icon-primary: #5f6167;--wb-semanticColor-icon-secondary: #21242c;--wb-semanticColor-icon-inverse: #ffffff;--wb-semanticColor-icon-action: #1865f2;--wb-semanticColor-icon-destructive: #d92916;--wb-semanticColor-icon-disabled: #b8b9bb;--wb-semanticColor-khanmigo-primary: #5f1e5c;--wb-semanticColor-khanmigo-secondary: #f2edf2;--wb-semanticColor-mastery-primary: #9059ff;--wb-sizing-size_0: 0rem;--wb-sizing-size_010: 0.1rem;--wb-sizing-size_020: 0.2rem;--wb-sizing-size_040: 0.4rem;--wb-sizing-size_060: 0.6rem;--wb-sizing-size_080: 0.8rem;--wb-sizing-size_100: 1rem;--wb-sizing-size_120: 1.2rem;--wb-sizing-size_140: 1.4rem;--wb-sizing-size_160: 1.6rem;--wb-sizing-size_180: 1.8rem;--wb-sizing-size_200: 2rem;--wb-sizing-size_240: 2.4rem;--wb-sizing-size_280: 2.8rem;--wb-sizing-size_320: 3.2rem;--wb-sizing-size_360: 3.6rem;--wb-sizing-size_400: 4rem;--wb-sizing-size_480: 4.8rem;--wb-sizing-size_560: 5.6rem;--wb-sizing-size_640: 6.4rem;--wb-sizing-size_720: 7.2rem;--wb-sizing-size_800: 8rem;--wb-sizing-size_880: 8.8rem;--wb-sizing-size_960: 9.6rem;}
package/dist/es/index.js CHANGED
@@ -1,54 +1,3 @@
1
- const baseline = 10;
2
- function pxToRem(value) {
3
- return `${value / baseline}rem`;
4
- }
5
- function remToPx(value) {
6
- const num = parseFloat(value);
7
- return `${Math.round(num * baseline)}px`;
8
- }
9
- const sizing = {
10
- size_0: pxToRem(0),
11
- size_010: pxToRem(1),
12
- size_020: pxToRem(2),
13
- size_040: pxToRem(4),
14
- size_060: pxToRem(6),
15
- size_080: pxToRem(8),
16
- size_100: pxToRem(10),
17
- size_120: pxToRem(12),
18
- size_140: pxToRem(14),
19
- size_160: pxToRem(16),
20
- size_180: pxToRem(18),
21
- size_200: pxToRem(20),
22
- size_240: pxToRem(24),
23
- size_280: pxToRem(28),
24
- size_320: pxToRem(32),
25
- size_360: pxToRem(36),
26
- size_400: pxToRem(40),
27
- size_480: pxToRem(48),
28
- size_560: pxToRem(56),
29
- size_640: pxToRem(64),
30
- size_720: pxToRem(72),
31
- size_800: pxToRem(80),
32
- size_880: pxToRem(88),
33
- size_960: pxToRem(96)
34
- };
35
-
36
- const border$1 = {
37
- radius: {
38
- radius_0: remToPx(sizing.size_0),
39
- radius_040: remToPx(sizing.size_040),
40
- radius_080: remToPx(sizing.size_080),
41
- radius_120: remToPx(sizing.size_120),
42
- radius_full: "50%"
43
- },
44
- width: {
45
- none: 0,
46
- hairline: 1,
47
- thin: 2,
48
- thick: 4
49
- }
50
- };
51
-
52
1
  function _extends() {
53
2
  return _extends = Object.assign ? Object.assign.bind() : function (n) {
54
3
  for (var e = 1; e < arguments.length; e++) {
@@ -254,13 +203,62 @@ const breakpoint = {
254
203
  mediaQuery
255
204
  };
256
205
 
257
- const border = {
206
+ const CSS_VAR_PREFIX = "--wb-";
207
+
208
+ function mapValuesToCssVars(obj, prefix = "--wb-") {
209
+ const cssVars = {};
210
+ for (const key in obj) {
211
+ if (typeof obj[key] === "object") {
212
+ cssVars[key] = mapValuesToCssVars(obj[key], `${prefix}${key}-`);
213
+ } else {
214
+ cssVars[key] = `var(${prefix}${key})`;
215
+ }
216
+ }
217
+ return cssVars;
218
+ }
219
+
220
+ const baseline = 10;
221
+ function pxToRem(value) {
222
+ return `${value / baseline}rem`;
223
+ }
224
+ function remToPx(value) {
225
+ const num = parseFloat(value);
226
+ return `${Math.round(num * baseline)}px`;
227
+ }
228
+ const sizing$1 = {
229
+ size_0: pxToRem(0),
230
+ size_010: pxToRem(1),
231
+ size_020: pxToRem(2),
232
+ size_040: pxToRem(4),
233
+ size_060: pxToRem(6),
234
+ size_080: pxToRem(8),
235
+ size_100: pxToRem(10),
236
+ size_120: pxToRem(12),
237
+ size_140: pxToRem(14),
238
+ size_160: pxToRem(16),
239
+ size_180: pxToRem(18),
240
+ size_200: pxToRem(20),
241
+ size_240: pxToRem(24),
242
+ size_280: pxToRem(28),
243
+ size_320: pxToRem(32),
244
+ size_360: pxToRem(36),
245
+ size_400: pxToRem(40),
246
+ size_480: pxToRem(48),
247
+ size_560: pxToRem(56),
248
+ size_640: pxToRem(64),
249
+ size_720: pxToRem(72),
250
+ size_800: pxToRem(80),
251
+ size_880: pxToRem(88),
252
+ size_960: pxToRem(96)
253
+ };
254
+
255
+ const border$2 = {
258
256
  primary: color.fadedOffBlack16,
259
257
  subtle: color.fadedOffBlack8,
260
258
  strong: color.fadedOffBlack50,
261
259
  inverse: color.white
262
260
  };
263
- const semanticColor = {
261
+ const semanticColor$1 = {
264
262
  action: {
265
263
  primary: {
266
264
  progressive: {
@@ -323,7 +321,7 @@ const semanticColor = {
323
321
  secondary: {
324
322
  progressive: {
325
323
  default: {
326
- border: border.strong,
324
+ border: border$2.strong,
327
325
  background: "transparent",
328
326
  foreground: color.blue
329
327
  },
@@ -340,7 +338,7 @@ const semanticColor = {
340
338
  },
341
339
  destructive: {
342
340
  default: {
343
- border: border.strong,
341
+ border: border$2.strong,
344
342
  background: "transparent",
345
343
  foreground: color.red
346
344
  },
@@ -357,7 +355,7 @@ const semanticColor = {
357
355
  },
358
356
  neutral: {
359
357
  default: {
360
- border: border.strong,
358
+ border: border$2.strong,
361
359
  background: "transparent",
362
360
  foreground: color.fadedOffBlack72
363
361
  },
@@ -373,7 +371,7 @@ const semanticColor = {
373
371
  }
374
372
  },
375
373
  disabled: {
376
- border: border.primary,
374
+ border: border$2.primary,
377
375
  background: color.offWhite,
378
376
  foreground: color.fadedOffBlack32
379
377
  }
@@ -431,7 +429,7 @@ const semanticColor = {
431
429
  }
432
430
  },
433
431
  disabled: {
434
- border: border.primary,
432
+ border: border$2.primary,
435
433
  background: "transparent",
436
434
  foreground: color.fadedOffBlack32
437
435
  }
@@ -472,7 +470,7 @@ const semanticColor = {
472
470
  disabled: color.fadedOffBlack32,
473
471
  inverse: color.white
474
472
  },
475
- border: border,
473
+ border: border$2,
476
474
  focus: {
477
475
  outer: color.blue,
478
476
  inner: color.white
@@ -494,4 +492,34 @@ const semanticColor = {
494
492
  }
495
493
  };
496
494
 
497
- export { border$1 as border, breakpoint, color, fade, font, mix, semanticColor, sizing, spacing };
495
+ const border$1 = {
496
+ radius: {
497
+ radius_0: remToPx(sizing$1.size_0),
498
+ radius_040: remToPx(sizing$1.size_040),
499
+ radius_080: remToPx(sizing$1.size_080),
500
+ radius_120: remToPx(sizing$1.size_120),
501
+ radius_full: "50%"
502
+ },
503
+ width: {
504
+ none: remToPx(sizing$1.size_0),
505
+ thin: remToPx(sizing$1.size_010),
506
+ medium: remToPx(sizing$1.size_020),
507
+ thick: remToPx(sizing$1.size_040)
508
+ }
509
+ };
510
+
511
+ var themeDefault = {
512
+ border: border$1,
513
+ semanticColor: semanticColor$1,
514
+ sizing: sizing$1
515
+ };
516
+
517
+ var theme = mapValuesToCssVars(themeDefault, CSS_VAR_PREFIX);
518
+
519
+ const {
520
+ border,
521
+ semanticColor,
522
+ sizing
523
+ } = theme;
524
+
525
+ export { border, breakpoint, color, fade, font, mix, semanticColor, sizing, spacing };
package/dist/index.d.ts CHANGED
@@ -1,11 +1,285 @@
1
- import { border } from "./tokens/border";
2
1
  import { color } from "./tokens/color";
3
2
  import { font } from "./tokens/font";
4
- import { sizing } from "./tokens/sizing";
5
3
  import { spacing } from "./tokens/spacing";
6
4
  import { breakpoint } from "./tokens/media-queries";
7
- import { semanticColor } from "./tokens/semantic-color";
8
5
  import { mix, fade } from "./util/utils";
6
+ declare const border: {
7
+ radius: {
8
+ radius_0: string;
9
+ radius_040: string;
10
+ radius_080: string;
11
+ radius_120: string;
12
+ radius_full: string;
13
+ };
14
+ width: {
15
+ none: string;
16
+ thin: string;
17
+ medium: string;
18
+ thick: string;
19
+ };
20
+ }, semanticColor: {
21
+ action: {
22
+ primary: {
23
+ progressive: {
24
+ default: {
25
+ border: string;
26
+ background: string;
27
+ foreground: string;
28
+ };
29
+ hover: {
30
+ border: string;
31
+ background: string;
32
+ foreground: string;
33
+ };
34
+ press: {
35
+ border: string;
36
+ background: string;
37
+ foreground: string;
38
+ };
39
+ };
40
+ destructive: {
41
+ default: {
42
+ border: string;
43
+ background: string;
44
+ foreground: string;
45
+ };
46
+ hover: {
47
+ border: string;
48
+ background: string;
49
+ foreground: string;
50
+ };
51
+ press: {
52
+ border: string;
53
+ background: string;
54
+ foreground: string;
55
+ };
56
+ };
57
+ neutral: {
58
+ default: {
59
+ border: string;
60
+ background: string;
61
+ foreground: string;
62
+ };
63
+ hover: {
64
+ border: string;
65
+ background: string;
66
+ foreground: string;
67
+ };
68
+ press: {
69
+ border: string;
70
+ background: string;
71
+ foreground: string;
72
+ };
73
+ };
74
+ disabled: {
75
+ border: string;
76
+ background: string;
77
+ foreground: string;
78
+ };
79
+ };
80
+ secondary: {
81
+ progressive: {
82
+ default: {
83
+ border: string;
84
+ background: string;
85
+ foreground: string;
86
+ };
87
+ hover: {
88
+ border: string;
89
+ background: string;
90
+ foreground: string;
91
+ };
92
+ press: {
93
+ border: string;
94
+ background: string;
95
+ foreground: string;
96
+ };
97
+ };
98
+ destructive: {
99
+ default: {
100
+ border: string;
101
+ background: string;
102
+ foreground: string;
103
+ };
104
+ hover: {
105
+ border: string;
106
+ background: string;
107
+ foreground: string;
108
+ };
109
+ press: {
110
+ border: string;
111
+ background: string;
112
+ foreground: string;
113
+ };
114
+ };
115
+ neutral: {
116
+ default: {
117
+ border: string;
118
+ background: string;
119
+ foreground: string;
120
+ };
121
+ hover: {
122
+ border: string;
123
+ background: string;
124
+ foreground: string;
125
+ };
126
+ press: {
127
+ border: string;
128
+ background: string;
129
+ foreground: string;
130
+ };
131
+ };
132
+ disabled: {
133
+ border: string;
134
+ background: string;
135
+ foreground: string;
136
+ };
137
+ };
138
+ tertiary: {
139
+ progressive: {
140
+ default: {
141
+ border: string;
142
+ background: string;
143
+ foreground: string;
144
+ };
145
+ hover: {
146
+ border: string;
147
+ background: string;
148
+ foreground: string;
149
+ };
150
+ press: {
151
+ border: string;
152
+ background: string;
153
+ foreground: string;
154
+ };
155
+ };
156
+ destructive: {
157
+ default: {
158
+ border: string;
159
+ background: string;
160
+ foreground: string;
161
+ };
162
+ hover: {
163
+ border: string;
164
+ background: string;
165
+ foreground: string;
166
+ };
167
+ press: {
168
+ border: string;
169
+ background: string;
170
+ foreground: string;
171
+ };
172
+ };
173
+ neutral: {
174
+ default: {
175
+ border: string;
176
+ background: string;
177
+ foreground: string;
178
+ };
179
+ hover: {
180
+ border: string;
181
+ background: string;
182
+ foreground: string;
183
+ };
184
+ press: {
185
+ border: string;
186
+ background: string;
187
+ foreground: string;
188
+ };
189
+ };
190
+ disabled: {
191
+ border: string;
192
+ background: string;
193
+ foreground: string;
194
+ };
195
+ };
196
+ };
197
+ status: {
198
+ critical: {
199
+ background: string;
200
+ foreground: string;
201
+ };
202
+ warning: {
203
+ background: string;
204
+ foreground: string;
205
+ };
206
+ success: {
207
+ background: string;
208
+ foreground: string;
209
+ };
210
+ notice: {
211
+ background: string;
212
+ foreground: string;
213
+ };
214
+ neutral: {
215
+ background: string;
216
+ foreground: string;
217
+ };
218
+ };
219
+ surface: {
220
+ primary: string;
221
+ secondary: string;
222
+ emphasis: string;
223
+ inverse: string;
224
+ overlay: string;
225
+ };
226
+ text: {
227
+ primary: string;
228
+ secondary: string;
229
+ disabled: string;
230
+ inverse: string;
231
+ };
232
+ border: {
233
+ primary: string;
234
+ subtle: string;
235
+ strong: string;
236
+ inverse: string;
237
+ };
238
+ focus: {
239
+ outer: string;
240
+ inner: string;
241
+ };
242
+ icon: {
243
+ primary: string;
244
+ secondary: string;
245
+ inverse: string;
246
+ action: string;
247
+ destructive: string;
248
+ disabled: string;
249
+ };
250
+ khanmigo: {
251
+ primary: string;
252
+ secondary: string;
253
+ };
254
+ mastery: {
255
+ primary: string;
256
+ };
257
+ }, sizing: {
258
+ readonly size_0: string;
259
+ readonly size_010: string;
260
+ readonly size_020: string;
261
+ readonly size_040: string;
262
+ readonly size_060: string;
263
+ readonly size_080: string;
264
+ readonly size_100: string;
265
+ readonly size_120: string;
266
+ readonly size_140: string;
267
+ readonly size_160: string;
268
+ readonly size_180: string;
269
+ readonly size_200: string;
270
+ readonly size_240: string;
271
+ readonly size_280: string;
272
+ readonly size_320: string;
273
+ readonly size_360: string;
274
+ readonly size_400: string;
275
+ readonly size_480: string;
276
+ readonly size_560: string;
277
+ readonly size_640: string;
278
+ readonly size_720: string;
279
+ readonly size_800: string;
280
+ readonly size_880: string;
281
+ readonly size_960: string;
282
+ };
9
283
  export {
10
284
  /**
11
285
  * Primitive tokens for the Wonder Blocks design system.