@codecademy/gamut-styles 17.9.1-alpha.2ea313.0 → 17.9.1-alpha.3e8b72.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.
Files changed (86) hide show
  1. package/package.json +3 -3
  2. package/dist/AssetProvider.d.ts +0 -2
  3. package/dist/AssetProvider.js +0 -20
  4. package/dist/Background.d.ts +0 -6
  5. package/dist/Background.js +0 -66
  6. package/dist/ColorMode.d.ts +0 -1312
  7. package/dist/ColorMode.js +0 -134
  8. package/dist/GamutProvider.d.ts +0 -23
  9. package/dist/GamutProvider.js +0 -64
  10. package/dist/cache/createEmotionCache.d.ts +0 -4
  11. package/dist/cache/createEmotionCache.js +0 -25
  12. package/dist/cache/index.d.ts +0 -1
  13. package/dist/cache/index.js +0 -1
  14. package/dist/cache/stylisPlugins/focusVisible.d.ts +0 -2
  15. package/dist/cache/stylisPlugins/focusVisible.js +0 -10
  16. package/dist/cache/stylisPlugins/index.d.ts +0 -1
  17. package/dist/cache/stylisPlugins/index.js +0 -1
  18. package/dist/globals/Reboot.d.ts +0 -1
  19. package/dist/globals/Reboot.js +0 -7
  20. package/dist/globals/Typography.d.ts +0 -1
  21. package/dist/globals/Typography.js +0 -20
  22. package/dist/globals/Variables.d.ts +0 -5
  23. package/dist/globals/Variables.js +0 -15
  24. package/dist/globals/index.d.ts +0 -2
  25. package/dist/globals/index.js +0 -2
  26. package/dist/index.d.ts +0 -13
  27. package/dist/index.js +0 -13
  28. package/dist/remoteAssets/fonts.d.ts +0 -26
  29. package/dist/remoteAssets/fonts.js +0 -34
  30. package/dist/styles/boxShadow.d.ts +0 -26
  31. package/dist/styles/boxShadow.js +0 -34
  32. package/dist/styles/fontSmoothing.d.ts +0 -29
  33. package/dist/styles/fontSmoothing.js +0 -27
  34. package/dist/styles/index.d.ts +0 -7
  35. package/dist/styles/index.js +0 -7
  36. package/dist/styles/noSelect.d.ts +0 -1
  37. package/dist/styles/noSelect.js +0 -11
  38. package/dist/styles/pxRem.d.ts +0 -1
  39. package/dist/styles/pxRem.js +0 -4
  40. package/dist/styles/responsive.d.ts +0 -6
  41. package/dist/styles/responsive.js +0 -12
  42. package/dist/styles/screenReaderOnly.d.ts +0 -2
  43. package/dist/styles/screenReaderOnly.js +0 -20
  44. package/dist/styles/transitionConcat.d.ts +0 -3
  45. package/dist/styles/transitionConcat.js +0 -6
  46. package/dist/themes/admin.d.ts +0 -966
  47. package/dist/themes/admin.js +0 -15
  48. package/dist/themes/core.d.ts +0 -519
  49. package/dist/themes/core.js +0 -132
  50. package/dist/themes/index.d.ts +0 -4
  51. package/dist/themes/index.js +0 -4
  52. package/dist/themes/lxStudio.d.ts +0 -1080
  53. package/dist/themes/lxStudio.js +0 -54
  54. package/dist/themes/platform.d.ts +0 -1157
  55. package/dist/themes/platform.js +0 -78
  56. package/dist/typings/theme.d.ts +0 -6
  57. package/dist/utilities/index.d.ts +0 -1
  58. package/dist/utilities/index.js +0 -1
  59. package/dist/utilities/themed.d.ts +0 -14
  60. package/dist/utilities/themed.js +0 -16
  61. package/dist/variables/borderRadii.d.ts +0 -8
  62. package/dist/variables/borderRadii.js +0 -8
  63. package/dist/variables/colors.d.ts +0 -310
  64. package/dist/variables/colors.js +0 -170
  65. package/dist/variables/deprecated-colors.d.ts +0 -156
  66. package/dist/variables/deprecated-colors.js +0 -156
  67. package/dist/variables/elements.d.ts +0 -11
  68. package/dist/variables/elements.js +0 -11
  69. package/dist/variables/index.d.ts +0 -8
  70. package/dist/variables/index.js +0 -9
  71. package/dist/variables/responsive.d.ts +0 -28
  72. package/dist/variables/responsive.js +0 -28
  73. package/dist/variables/spacing.d.ts +0 -13
  74. package/dist/variables/spacing.js +0 -14
  75. package/dist/variables/timing.d.ts +0 -12
  76. package/dist/variables/timing.js +0 -12
  77. package/dist/variables/typography.d.ts +0 -32
  78. package/dist/variables/typography.js +0 -39
  79. package/dist/variance/config.d.ts +0 -1052
  80. package/dist/variance/config.js +0 -514
  81. package/dist/variance/index.d.ts +0 -3
  82. package/dist/variance/index.js +0 -3
  83. package/dist/variance/props.d.ts +0 -1963
  84. package/dist/variance/props.js +0 -24
  85. package/dist/variance/utils.d.ts +0 -29
  86. package/dist/variance/utils.js +0 -34
@@ -1,1157 +0,0 @@
1
- /**
2
- * @description This is an extended theme for the learning environment with an expanded set of tokens
3
- * That are not needed for the rest of the application.
4
- */
5
- export declare const platformTheme: Record<"breakpoints", {
6
- c_base: string;
7
- c_xs: string;
8
- c_sm: string;
9
- c_md: string;
10
- c_lg: string;
11
- c_xl: string;
12
- xs: string;
13
- sm: string;
14
- md: string;
15
- lg: string;
16
- xl: string;
17
- }> & import("@codecademy/variance/dist/createTheme/types").Merge<Record<"breakpoints", {
18
- c_base: string;
19
- c_xs: string;
20
- c_sm: string;
21
- c_md: string;
22
- c_lg: string;
23
- c_xl: string;
24
- xs: string;
25
- sm: string;
26
- md: string;
27
- lg: string;
28
- xl: string;
29
- }> & import("@codecademy/variance/dist/createTheme/types").Merge<Record<"elements", Record<"elements", import("@codecademy/variance").KeyAsVariable<{
30
- readonly headerHeight: {
31
- readonly base: "4rem";
32
- readonly md: "5rem";
33
- };
34
- readonly headerZ: 15;
35
- }, "elements">>> & import("@codecademy/variance/dist/createTheme/types").Merge<import("@codecademy/variance/dist/createTheme/types").MergeTheme<import("@codecademy/variance/dist/createTheme/types").MergeTheme<Record<"breakpoints", {
36
- c_base: string;
37
- c_xs: string;
38
- c_sm: string;
39
- c_md: string;
40
- c_lg: string;
41
- c_xl: string;
42
- xs: string;
43
- sm: string;
44
- md: string;
45
- lg: string;
46
- xl: string;
47
- }> & import("@codecademy/variance/dist/createTheme/types").Merge<{
48
- breakpoints: {
49
- c_base: string;
50
- c_xs: string;
51
- c_sm: string;
52
- c_md: string;
53
- c_lg: string;
54
- c_xl: string;
55
- xs: string;
56
- sm: string;
57
- md: string;
58
- lg: string;
59
- xl: string;
60
- };
61
- borderRadii: {
62
- none: string;
63
- sm: string;
64
- md: string;
65
- lg: string;
66
- xl: string;
67
- full: string;
68
- };
69
- fontSize: {
70
- readonly 64: string;
71
- readonly 44: string;
72
- readonly 34: string;
73
- readonly 26: string;
74
- readonly 22: string;
75
- readonly 20: string;
76
- readonly 18: string;
77
- readonly 16: string;
78
- readonly 14: string;
79
- };
80
- fontFamily: {
81
- readonly accent: "\"Suisse\", \"Apercu\", -apple-system, BlinkMacSystemFont,\n\"Segoe UI\", \"Roboto\", \"Ubuntu\", \"Cantarell\", \"Fira Sans\", \"Droid Sans\",\n\"Helvetica Neue\", sans-serif";
82
- readonly base: "\"Apercu\", -apple-system, BlinkMacSystemFont, \"Segoe UI\",\n\"Roboto\", \"Ubuntu\", \"Cantarell\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\",\nsans-serif";
83
- readonly monospace: "Monaco, Menlo, \"Ubuntu Mono\", \"Droid Sans Mono\", Consolas,\nmonospace";
84
- readonly system: "-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Ubuntu\",\n\"Cantarell\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif";
85
- };
86
- lineHeight: {
87
- readonly base: 1.5;
88
- readonly spacedTitle: 1.3;
89
- readonly title: 1.2;
90
- };
91
- fontWeight: {
92
- readonly base: 400;
93
- readonly title: 700;
94
- readonly 700: 700;
95
- readonly 400: 400;
96
- };
97
- spacing: {
98
- readonly 0: 0;
99
- readonly 4: string;
100
- readonly 8: string;
101
- readonly 12: string;
102
- readonly 16: string;
103
- readonly 24: string;
104
- readonly 32: string;
105
- readonly 40: string;
106
- readonly 48: string;
107
- readonly 64: string;
108
- readonly 96: string;
109
- };
110
- elements: {
111
- readonly headerHeight: {
112
- readonly base: "4rem";
113
- readonly md: "5rem";
114
- };
115
- readonly headerZ: 15;
116
- };
117
- } & import("@codecademy/variance/dist/createTheme/types").PrivateThemeKeys, Record<"colors", import("@codecademy/variance").KeyAsVariable<import("@codecademy/variance").LiteralPaths<{
118
- readonly beige: "#FFF0E5";
119
- readonly blue: "#1557FF";
120
- readonly green: "#008A27";
121
- readonly hyper: "#3A10E5";
122
- readonly lightBlue: "#66C4FF";
123
- readonly lightGreen: "#AEE938";
124
- readonly navy: "#10162F";
125
- readonly orange: "#FF8C00";
126
- readonly paleBlue: "#F5FCFF";
127
- readonly paleGreen: "#F5FFE3";
128
- readonly palePink: "#FFF5FF";
129
- readonly paleYellow: "#FFFAE5";
130
- readonly pink: "#F966FF";
131
- readonly paleRed: "#DC5879";
132
- readonly red: "#E91C11";
133
- readonly yellow: "#FFD300";
134
- readonly black: "#000000";
135
- readonly white: "#ffffff";
136
- readonly "beige-100": "#FFF0E5";
137
- readonly "blue-0": "#F5FCFF";
138
- readonly "blue-100": "#D3F2FF";
139
- readonly "blue-300": "#66C4FF";
140
- readonly "blue-400": "#3388FF";
141
- readonly "blue-500": "#1557FF";
142
- readonly "blue-800": "#1D2340";
143
- readonly "navy-100": string;
144
- readonly "navy-300": string;
145
- readonly "navy-400": string;
146
- readonly "navy-500": string;
147
- readonly "navy-800": "#10162F";
148
- readonly "navy-200": string;
149
- readonly "navy-600": string;
150
- readonly "navy-700": string;
151
- readonly "navy-900": "#0A0D1C";
152
- readonly "green-0": "#F5FFE3";
153
- readonly "green-100": "#EAFDC6";
154
- readonly "green-400": "#AEE938";
155
- readonly "green-700": "#008A27";
156
- readonly "green-900": "#151C07";
157
- readonly "yellow-0": "#FFFAE5";
158
- readonly "yellow-400": "#CCA900";
159
- readonly "yellow-500": "#FFD300";
160
- readonly "yellow-900": "#211B00";
161
- readonly "pink-0": "#FFF5FF";
162
- readonly "pink-400": "#F966FF";
163
- readonly "red-0": "#FBF1F0";
164
- readonly "red-300": "#E85D7F";
165
- readonly "red-400": "#DC5879";
166
- readonly "red-500": "#E91C11";
167
- readonly "red-600": "#BE1809";
168
- readonly "red-900": "#280503";
169
- readonly "orange-100": "#FFE8CC";
170
- readonly "orange-500": "#FF8C00";
171
- readonly "hyper-400": "#5533FF";
172
- readonly "hyper-500": "#3A10E5";
173
- readonly "gray-100": "#F5F5F5";
174
- readonly "gray-300": "#E0E0E0";
175
- readonly "gray-800": "#616161";
176
- readonly "gray-200": "#EEEEEE";
177
- readonly "gray-600": "#9E9E9E";
178
- readonly "gray-900": "#424242";
179
- readonly "white-100": string;
180
- readonly "white-300": string;
181
- readonly "white-400": string;
182
- readonly "white-500": string;
183
- readonly "white-200": string;
184
- readonly "white-600": string;
185
- readonly "white-700": string;
186
- }, "-">, "color">>> & import("@codecademy/variance/dist/createTheme/types").PrivateThemeKeys, {
187
- colors: import("@codecademy/variance").KeyAsVariable<import("@codecademy/variance").LiteralPaths<{
188
- text: {
189
- _: "navy-800";
190
- accent: "navy-900";
191
- disabled: "navy-500";
192
- secondary: "navy-600";
193
- };
194
- feedback: {
195
- error: "red-600";
196
- success: "green-700";
197
- warning: "yellow";
198
- };
199
- background: {
200
- _: "white";
201
- contrast: "white";
202
- current: "white";
203
- primary: "beige";
204
- selected: "navy-100";
205
- disabled: "navy-200";
206
- hover: "navy-200";
207
- success: "green-0";
208
- warning: "yellow-0";
209
- error: "red-0";
210
- };
211
- shadow: {
212
- primary: "navy-800";
213
- secondary: "navy-600";
214
- };
215
- primary: {
216
- _: "hyper-500";
217
- hover: "hyper-400";
218
- inverse: "yellow-500";
219
- };
220
- secondary: {
221
- _: "navy-800";
222
- hover: "navy-700";
223
- };
224
- danger: {
225
- _: "red-500";
226
- hover: "red-600";
227
- };
228
- interface: {
229
- _: "hyper-500";
230
- hover: "hyper-400";
231
- };
232
- border: {
233
- primary: "navy-800";
234
- secondary: "navy-600";
235
- tertiary: "navy-300";
236
- disabled: "navy-500";
237
- };
238
- } | {
239
- text: {
240
- _: "white";
241
- accent: "beige";
242
- disabled: "white-500";
243
- secondary: "white-600";
244
- };
245
- feedback: {
246
- error: "red-300";
247
- success: "green-400";
248
- warning: "yellow-0";
249
- };
250
- background: {
251
- _: "navy-800";
252
- contrast: "black";
253
- current: "navy-800";
254
- primary: "navy-900";
255
- selected: "white-100";
256
- disabled: "white-200";
257
- hover: "white-200";
258
- success: "green-900";
259
- warning: "yellow-900";
260
- error: "red-900";
261
- };
262
- shadow: {
263
- primary: "white";
264
- secondary: "white-600";
265
- };
266
- primary: {
267
- _: "yellow-500";
268
- hover: "yellow-400";
269
- inverse: "hyper-500";
270
- };
271
- secondary: {
272
- _: "white";
273
- hover: "white-700";
274
- };
275
- danger: {
276
- _: "red-300";
277
- hover: "red-400";
278
- };
279
- interface: {
280
- _: "yellow-500";
281
- hover: "yellow-400";
282
- };
283
- border: {
284
- primary: "white";
285
- secondary: "white-600";
286
- tertiary: "white-300";
287
- disabled: "white-500";
288
- };
289
- }, "-", "_">, "colors"> & import("@codecademy/variance").KeyAsVariable<import("@codecademy/variance").LiteralPaths<{
290
- readonly beige: "#FFF0E5";
291
- readonly blue: "#1557FF";
292
- readonly green: "#008A27";
293
- readonly hyper: "#3A10E5";
294
- readonly lightBlue: "#66C4FF";
295
- readonly lightGreen: "#AEE938";
296
- readonly navy: "#10162F";
297
- readonly orange: "#FF8C00";
298
- readonly paleBlue: "#F5FCFF";
299
- readonly paleGreen: "#F5FFE3";
300
- readonly palePink: "#FFF5FF";
301
- readonly paleYellow: "#FFFAE5";
302
- readonly pink: "#F966FF";
303
- readonly paleRed: "#DC5879";
304
- readonly red: "#E91C11";
305
- readonly yellow: "#FFD300";
306
- readonly black: "#000000";
307
- readonly white: "#ffffff";
308
- readonly "beige-100": "#FFF0E5";
309
- readonly "blue-0": "#F5FCFF";
310
- readonly "blue-100": "#D3F2FF";
311
- readonly "blue-300": "#66C4FF";
312
- readonly "blue-400": "#3388FF";
313
- readonly "blue-500": "#1557FF";
314
- readonly "blue-800": "#1D2340";
315
- readonly "navy-100": string;
316
- readonly "navy-300": string;
317
- readonly "navy-400": string;
318
- readonly "navy-500": string;
319
- readonly "navy-800": "#10162F";
320
- readonly "navy-200": string;
321
- readonly "navy-600": string;
322
- readonly "navy-700": string;
323
- readonly "navy-900": "#0A0D1C";
324
- readonly "green-0": "#F5FFE3";
325
- readonly "green-100": "#EAFDC6";
326
- readonly "green-400": "#AEE938";
327
- readonly "green-700": "#008A27";
328
- readonly "green-900": "#151C07";
329
- readonly "yellow-0": "#FFFAE5";
330
- readonly "yellow-400": "#CCA900";
331
- readonly "yellow-500": "#FFD300";
332
- readonly "yellow-900": "#211B00";
333
- readonly "pink-0": "#FFF5FF";
334
- readonly "pink-400": "#F966FF";
335
- readonly "red-0": "#FBF1F0";
336
- readonly "red-300": "#E85D7F";
337
- readonly "red-400": "#DC5879";
338
- readonly "red-500": "#E91C11";
339
- readonly "red-600": "#BE1809";
340
- readonly "red-900": "#280503";
341
- readonly "orange-100": "#FFE8CC";
342
- readonly "orange-500": "#FF8C00";
343
- readonly "hyper-400": "#5533FF";
344
- readonly "hyper-500": "#3A10E5";
345
- readonly "gray-100": "#F5F5F5";
346
- readonly "gray-300": "#E0E0E0";
347
- readonly "gray-800": "#616161";
348
- readonly "gray-200": "#EEEEEE";
349
- readonly "gray-600": "#9E9E9E";
350
- readonly "gray-900": "#424242";
351
- readonly "white-100": string;
352
- readonly "white-300": string;
353
- readonly "white-400": string;
354
- readonly "white-500": string;
355
- readonly "white-200": string;
356
- readonly "white-600": string;
357
- readonly "white-700": string;
358
- }, "-">, "color">;
359
- modes: import("@codecademy/variance/dist/createTheme/types").Merge<unknown, {
360
- light: import("@codecademy/variance").LiteralPaths<{
361
- text: {
362
- _: "navy-800";
363
- accent: "navy-900";
364
- disabled: "navy-500";
365
- secondary: "navy-600";
366
- };
367
- feedback: {
368
- error: "red-600";
369
- success: "green-700";
370
- warning: "yellow";
371
- };
372
- background: {
373
- _: "white";
374
- contrast: "white";
375
- current: "white";
376
- primary: "beige";
377
- selected: "navy-100";
378
- disabled: "navy-200";
379
- hover: "navy-200";
380
- success: "green-0";
381
- warning: "yellow-0";
382
- error: "red-0";
383
- };
384
- shadow: {
385
- primary: "navy-800";
386
- secondary: "navy-600";
387
- };
388
- primary: {
389
- _: "hyper-500";
390
- hover: "hyper-400";
391
- inverse: "yellow-500";
392
- };
393
- secondary: {
394
- _: "navy-800";
395
- hover: "navy-700";
396
- };
397
- danger: {
398
- _: "red-500";
399
- hover: "red-600";
400
- };
401
- interface: {
402
- _: "hyper-500";
403
- hover: "hyper-400";
404
- };
405
- border: {
406
- primary: "navy-800";
407
- secondary: "navy-600";
408
- tertiary: "navy-300";
409
- disabled: "navy-500";
410
- };
411
- }, "-", "_">;
412
- dark: import("@codecademy/variance").LiteralPaths<{
413
- text: {
414
- _: "white";
415
- accent: "beige";
416
- disabled: "white-500";
417
- secondary: "white-600";
418
- };
419
- feedback: {
420
- error: "red-300";
421
- success: "green-400";
422
- warning: "yellow-0";
423
- };
424
- background: {
425
- _: "navy-800";
426
- contrast: "black";
427
- current: "navy-800";
428
- primary: "navy-900";
429
- selected: "white-100";
430
- disabled: "white-200";
431
- hover: "white-200";
432
- success: "green-900";
433
- warning: "yellow-900";
434
- error: "red-900";
435
- };
436
- shadow: {
437
- primary: "white";
438
- secondary: "white-600";
439
- };
440
- primary: {
441
- _: "yellow-500";
442
- hover: "yellow-400";
443
- inverse: "hyper-500";
444
- };
445
- secondary: {
446
- _: "white";
447
- hover: "white-700";
448
- };
449
- danger: {
450
- _: "red-300";
451
- hover: "red-400";
452
- };
453
- interface: {
454
- _: "yellow-500";
455
- hover: "yellow-400";
456
- };
457
- border: {
458
- primary: "white";
459
- secondary: "white-600";
460
- tertiary: "white-300";
461
- disabled: "white-500";
462
- };
463
- }, "-", "_">;
464
- }>;
465
- mode: "light" | "dark";
466
- _getColorValue: (color: import("@codecademy/variance").Path<{
467
- readonly beige: "#FFF0E5";
468
- readonly blue: "#1557FF";
469
- readonly green: "#008A27";
470
- readonly hyper: "#3A10E5";
471
- readonly lightBlue: "#66C4FF";
472
- readonly lightGreen: "#AEE938";
473
- readonly navy: "#10162F";
474
- readonly orange: "#FF8C00";
475
- readonly paleBlue: "#F5FCFF";
476
- readonly paleGreen: "#F5FFE3";
477
- readonly palePink: "#FFF5FF";
478
- readonly paleYellow: "#FFFAE5";
479
- readonly pink: "#F966FF";
480
- readonly paleRed: "#DC5879";
481
- readonly red: "#E91C11";
482
- readonly yellow: "#FFD300";
483
- readonly black: "#000000";
484
- readonly white: "#ffffff";
485
- readonly "beige-100": "#FFF0E5";
486
- readonly "blue-0": "#F5FCFF";
487
- readonly "blue-100": "#D3F2FF";
488
- readonly "blue-300": "#66C4FF";
489
- readonly "blue-400": "#3388FF";
490
- readonly "blue-500": "#1557FF";
491
- readonly "blue-800": "#1D2340";
492
- readonly "navy-100": string;
493
- readonly "navy-300": string;
494
- readonly "navy-400": string;
495
- readonly "navy-500": string;
496
- readonly "navy-800": "#10162F";
497
- readonly "navy-200": string;
498
- readonly "navy-600": string;
499
- readonly "navy-700": string;
500
- readonly "navy-900": "#0A0D1C";
501
- readonly "green-0": "#F5FFE3";
502
- readonly "green-100": "#EAFDC6";
503
- readonly "green-400": "#AEE938";
504
- readonly "green-700": "#008A27";
505
- readonly "green-900": "#151C07";
506
- readonly "yellow-0": "#FFFAE5";
507
- readonly "yellow-400": "#CCA900";
508
- readonly "yellow-500": "#FFD300";
509
- readonly "yellow-900": "#211B00";
510
- readonly "pink-0": "#FFF5FF";
511
- readonly "pink-400": "#F966FF";
512
- readonly "red-0": "#FBF1F0";
513
- readonly "red-300": "#E85D7F";
514
- readonly "red-400": "#DC5879";
515
- readonly "red-500": "#E91C11";
516
- readonly "red-600": "#BE1809";
517
- readonly "red-900": "#280503";
518
- readonly "orange-100": "#FFE8CC";
519
- readonly "orange-500": "#FF8C00";
520
- readonly "hyper-400": "#5533FF";
521
- readonly "hyper-500": "#3A10E5";
522
- readonly "gray-100": "#F5F5F5";
523
- readonly "gray-300": "#E0E0E0";
524
- readonly "gray-800": "#616161";
525
- readonly "gray-200": "#EEEEEE";
526
- readonly "gray-600": "#9E9E9E";
527
- readonly "gray-900": "#424242";
528
- readonly "white-100": string;
529
- readonly "white-300": string;
530
- readonly "white-400": string;
531
- readonly "white-500": string;
532
- readonly "white-200": string;
533
- readonly "white-600": string;
534
- readonly "white-700": string;
535
- }, "-">) => string;
536
- }>, Record<"borders", import("@codecademy/variance").LiteralPaths<{
537
- 1: string;
538
- 2: string;
539
- }, "-">>>, import("@codecademy/variance/dist/createTheme/types").PrivateThemeKeys> & import("@codecademy/variance/dist/createTheme/types").PrivateThemeKeys, Record<"colors", import("@codecademy/variance").KeyAsVariable<import("@codecademy/variance").LiteralPaths<{
540
- readonly lightBeige: "#FFFBF8";
541
- readonly gold: "#8A7300";
542
- readonly teal: "#006D82";
543
- readonly purple: "#B3CCFF";
544
- readonly 'comment-light': "#686C7B";
545
- readonly 'comment-dark': "#84868D";
546
- readonly 'indent-active-light': "#BCBDC4";
547
- readonly 'indent-active-dark': "#3B3D49";
548
- readonly 'indent-inactive-light': "#8E919D";
549
- readonly 'indent-inactive-dark': "#5F616B";
550
- readonly 'line-number-active-light': "#31374C";
551
- readonly 'line-number-active-dark': "#CECFD2";
552
- readonly 'line-number-inactive-light': "#686C7B";
553
- readonly 'line-number-inactive-dark': "#84868D";
554
- readonly "beige-0": "#FFFBF8";
555
- readonly "pink-800": "#CA00D1";
556
- readonly "orange-800": "#D14900";
557
- readonly "gold-800": "#8A7300";
558
- readonly "teal-500": "#006D82";
559
- readonly "purple-300": "#B3CCFF";
560
- }, "-">, "color">>> & import("@codecademy/variance/dist/createTheme/types").PrivateThemeKeys, {
561
- colors: import("@codecademy/variance").KeyAsVariable<import("@codecademy/variance").LiteralPaths<{
562
- background: {
563
- primary: "blue-0";
564
- };
565
- editor: {
566
- attribute: "green-700";
567
- annotation: "red-500";
568
- atom: "pink-800";
569
- basic: "navy-800";
570
- comment: "comment-light";
571
- constant: "orange-800";
572
- decoration: "red-500";
573
- invalid: "red-500";
574
- key: "teal-500";
575
- keyword: "blue-500";
576
- number: "red-500";
577
- operator: "red-500";
578
- predefined: "navy-800";
579
- property: "red-500";
580
- regexp: "green-700";
581
- string: "gold-800";
582
- tag: "red-500";
583
- text: "orange-800";
584
- value: "gold-800";
585
- variable: "green-700";
586
- ui: {
587
- background: "white";
588
- text: "navy-800";
589
- 'indent-active': "indent-active-light";
590
- 'indent-inactive': "indent-inactive-light";
591
- 'line-number-active': "line-number-active-light";
592
- 'line-number-inactive': "line-number-inactive-light";
593
- };
594
- };
595
- } | {
596
- editor: {
597
- attribute: "green-400";
598
- annotation: "red-300";
599
- atom: "pink-400";
600
- basic: "white";
601
- comment: "comment-dark";
602
- constant: "orange-500";
603
- decoration: "red-300";
604
- invalid: "red-300";
605
- key: "blue-300";
606
- keyword: "purple-300";
607
- number: "red-300";
608
- operator: "red-300";
609
- predefined: "white";
610
- property: "red-300";
611
- regexp: "green-400";
612
- string: "yellow-500";
613
- tag: "red-300";
614
- text: "orange-500";
615
- value: "yellow-500";
616
- variable: "green-400";
617
- ui: {
618
- background: "navy-900";
619
- text: "white";
620
- 'indent-active': "indent-active-dark";
621
- 'indent-inactive': "indent-inactive-dark";
622
- 'line-number-active': "line-number-active-dark";
623
- 'line-number-inactive': "line-number-inactive-dark";
624
- };
625
- };
626
- }, "-", "_">, "colors"> & import("@codecademy/variance/dist/createTheme/types").Assign<import("@codecademy/variance/dist/createTheme/types").Assign<import("@codecademy/variance").KeyAsVariable<import("@codecademy/variance").LiteralPaths<{
627
- readonly beige: "#FFF0E5";
628
- readonly blue: "#1557FF";
629
- readonly green: "#008A27";
630
- readonly hyper: "#3A10E5";
631
- readonly lightBlue: "#66C4FF";
632
- readonly lightGreen: "#AEE938";
633
- readonly navy: "#10162F";
634
- readonly orange: "#FF8C00";
635
- readonly paleBlue: "#F5FCFF";
636
- readonly paleGreen: "#F5FFE3";
637
- readonly palePink: "#FFF5FF";
638
- readonly paleYellow: "#FFFAE5";
639
- readonly pink: "#F966FF";
640
- readonly paleRed: "#DC5879";
641
- readonly red: "#E91C11";
642
- readonly yellow: "#FFD300";
643
- readonly black: "#000000";
644
- readonly white: "#ffffff";
645
- readonly "beige-100": "#FFF0E5";
646
- readonly "blue-0": "#F5FCFF";
647
- readonly "blue-100": "#D3F2FF";
648
- readonly "blue-300": "#66C4FF";
649
- readonly "blue-400": "#3388FF";
650
- readonly "blue-500": "#1557FF";
651
- readonly "blue-800": "#1D2340";
652
- readonly "navy-100": string;
653
- readonly "navy-300": string;
654
- readonly "navy-400": string;
655
- readonly "navy-500": string;
656
- readonly "navy-800": "#10162F";
657
- readonly "navy-200": string;
658
- readonly "navy-600": string;
659
- readonly "navy-700": string;
660
- readonly "navy-900": "#0A0D1C";
661
- readonly "green-0": "#F5FFE3";
662
- readonly "green-100": "#EAFDC6";
663
- readonly "green-400": "#AEE938";
664
- readonly "green-700": "#008A27";
665
- readonly "green-900": "#151C07";
666
- readonly "yellow-0": "#FFFAE5";
667
- readonly "yellow-400": "#CCA900";
668
- readonly "yellow-500": "#FFD300";
669
- readonly "yellow-900": "#211B00";
670
- readonly "pink-0": "#FFF5FF";
671
- readonly "pink-400": "#F966FF";
672
- readonly "red-0": "#FBF1F0";
673
- readonly "red-300": "#E85D7F";
674
- readonly "red-400": "#DC5879";
675
- readonly "red-500": "#E91C11";
676
- readonly "red-600": "#BE1809";
677
- readonly "red-900": "#280503";
678
- readonly "orange-100": "#FFE8CC";
679
- readonly "orange-500": "#FF8C00";
680
- readonly "hyper-400": "#5533FF";
681
- readonly "hyper-500": "#3A10E5";
682
- readonly "gray-100": "#F5F5F5";
683
- readonly "gray-300": "#E0E0E0";
684
- readonly "gray-800": "#616161";
685
- readonly "gray-200": "#EEEEEE";
686
- readonly "gray-600": "#9E9E9E";
687
- readonly "gray-900": "#424242";
688
- readonly "white-100": string;
689
- readonly "white-300": string;
690
- readonly "white-400": string;
691
- readonly "white-500": string;
692
- readonly "white-200": string;
693
- readonly "white-600": string;
694
- readonly "white-700": string;
695
- }, "-">, "color">, import("@codecademy/variance").KeyAsVariable<import("@codecademy/variance").LiteralPaths<{
696
- text: {
697
- _: "navy-800";
698
- accent: "navy-900";
699
- disabled: "navy-500";
700
- secondary: "navy-600";
701
- };
702
- feedback: {
703
- error: "red-600";
704
- success: "green-700";
705
- warning: "yellow";
706
- };
707
- background: {
708
- _: "white";
709
- contrast: "white";
710
- current: "white";
711
- primary: "beige";
712
- selected: "navy-100";
713
- disabled: "navy-200";
714
- hover: "navy-200";
715
- success: "green-0";
716
- warning: "yellow-0";
717
- error: "red-0";
718
- };
719
- shadow: {
720
- primary: "navy-800";
721
- secondary: "navy-600";
722
- };
723
- primary: {
724
- _: "hyper-500";
725
- hover: "hyper-400";
726
- inverse: "yellow-500";
727
- };
728
- secondary: {
729
- _: "navy-800";
730
- hover: "navy-700";
731
- };
732
- danger: {
733
- _: "red-500";
734
- hover: "red-600";
735
- };
736
- interface: {
737
- _: "hyper-500";
738
- hover: "hyper-400";
739
- };
740
- border: {
741
- primary: "navy-800";
742
- secondary: "navy-600";
743
- tertiary: "navy-300";
744
- disabled: "navy-500";
745
- };
746
- } | {
747
- text: {
748
- _: "white";
749
- accent: "beige";
750
- disabled: "white-500";
751
- secondary: "white-600";
752
- };
753
- feedback: {
754
- error: "red-300";
755
- success: "green-400";
756
- warning: "yellow-0";
757
- };
758
- background: {
759
- _: "navy-800";
760
- contrast: "black";
761
- current: "navy-800";
762
- primary: "navy-900";
763
- selected: "white-100";
764
- disabled: "white-200";
765
- hover: "white-200";
766
- success: "green-900";
767
- warning: "yellow-900";
768
- error: "red-900";
769
- };
770
- shadow: {
771
- primary: "white";
772
- secondary: "white-600";
773
- };
774
- primary: {
775
- _: "yellow-500";
776
- hover: "yellow-400";
777
- inverse: "hyper-500";
778
- };
779
- secondary: {
780
- _: "white";
781
- hover: "white-700";
782
- };
783
- danger: {
784
- _: "red-300";
785
- hover: "red-400";
786
- };
787
- interface: {
788
- _: "yellow-500";
789
- hover: "yellow-400";
790
- };
791
- border: {
792
- primary: "white";
793
- secondary: "white-600";
794
- tertiary: "white-300";
795
- disabled: "white-500";
796
- };
797
- }, "-", "_">, "colors"> & import("@codecademy/variance").KeyAsVariable<import("@codecademy/variance").LiteralPaths<{
798
- readonly beige: "#FFF0E5";
799
- readonly blue: "#1557FF";
800
- readonly green: "#008A27";
801
- readonly hyper: "#3A10E5";
802
- readonly lightBlue: "#66C4FF";
803
- readonly lightGreen: "#AEE938";
804
- readonly navy: "#10162F";
805
- readonly orange: "#FF8C00";
806
- readonly paleBlue: "#F5FCFF";
807
- readonly paleGreen: "#F5FFE3";
808
- readonly palePink: "#FFF5FF";
809
- readonly paleYellow: "#FFFAE5";
810
- readonly pink: "#F966FF";
811
- readonly paleRed: "#DC5879";
812
- readonly red: "#E91C11";
813
- readonly yellow: "#FFD300";
814
- readonly black: "#000000";
815
- readonly white: "#ffffff";
816
- readonly "beige-100": "#FFF0E5";
817
- readonly "blue-0": "#F5FCFF";
818
- readonly "blue-100": "#D3F2FF";
819
- readonly "blue-300": "#66C4FF";
820
- readonly "blue-400": "#3388FF";
821
- readonly "blue-500": "#1557FF";
822
- readonly "blue-800": "#1D2340";
823
- readonly "navy-100": string;
824
- readonly "navy-300": string;
825
- readonly "navy-400": string;
826
- readonly "navy-500": string;
827
- readonly "navy-800": "#10162F";
828
- readonly "navy-200": string;
829
- readonly "navy-600": string;
830
- readonly "navy-700": string;
831
- readonly "navy-900": "#0A0D1C";
832
- readonly "green-0": "#F5FFE3";
833
- readonly "green-100": "#EAFDC6";
834
- readonly "green-400": "#AEE938";
835
- readonly "green-700": "#008A27";
836
- readonly "green-900": "#151C07";
837
- readonly "yellow-0": "#FFFAE5";
838
- readonly "yellow-400": "#CCA900";
839
- readonly "yellow-500": "#FFD300";
840
- readonly "yellow-900": "#211B00";
841
- readonly "pink-0": "#FFF5FF";
842
- readonly "pink-400": "#F966FF";
843
- readonly "red-0": "#FBF1F0";
844
- readonly "red-300": "#E85D7F";
845
- readonly "red-400": "#DC5879";
846
- readonly "red-500": "#E91C11";
847
- readonly "red-600": "#BE1809";
848
- readonly "red-900": "#280503";
849
- readonly "orange-100": "#FFE8CC";
850
- readonly "orange-500": "#FF8C00";
851
- readonly "hyper-400": "#5533FF";
852
- readonly "hyper-500": "#3A10E5";
853
- readonly "gray-100": "#F5F5F5";
854
- readonly "gray-300": "#E0E0E0";
855
- readonly "gray-800": "#616161";
856
- readonly "gray-200": "#EEEEEE";
857
- readonly "gray-600": "#9E9E9E";
858
- readonly "gray-900": "#424242";
859
- readonly "white-100": string;
860
- readonly "white-300": string;
861
- readonly "white-400": string;
862
- readonly "white-500": string;
863
- readonly "white-200": string;
864
- readonly "white-600": string;
865
- readonly "white-700": string;
866
- }, "-">, "color">>, import("@codecademy/variance").KeyAsVariable<import("@codecademy/variance").LiteralPaths<{
867
- readonly lightBeige: "#FFFBF8";
868
- readonly gold: "#8A7300";
869
- readonly teal: "#006D82";
870
- readonly purple: "#B3CCFF";
871
- readonly 'comment-light': "#686C7B";
872
- readonly 'comment-dark': "#84868D";
873
- readonly 'indent-active-light': "#BCBDC4";
874
- readonly 'indent-active-dark': "#3B3D49";
875
- readonly 'indent-inactive-light': "#8E919D";
876
- readonly 'indent-inactive-dark': "#5F616B";
877
- readonly 'line-number-active-light': "#31374C";
878
- readonly 'line-number-active-dark': "#CECFD2";
879
- readonly 'line-number-inactive-light': "#686C7B";
880
- readonly 'line-number-inactive-dark': "#84868D";
881
- readonly "beige-0": "#FFFBF8";
882
- readonly "pink-800": "#CA00D1";
883
- readonly "orange-800": "#D14900";
884
- readonly "gold-800": "#8A7300";
885
- readonly "teal-500": "#006D82";
886
- readonly "purple-300": "#B3CCFF";
887
- }, "-">, "color">>;
888
- modes: import("@codecademy/variance/dist/createTheme/types").Merge<import("@codecademy/variance/dist/createTheme/types").Merge<unknown, {
889
- light: import("@codecademy/variance").LiteralPaths<{
890
- text: {
891
- _: "navy-800";
892
- accent: "navy-900";
893
- disabled: "navy-500";
894
- secondary: "navy-600";
895
- };
896
- feedback: {
897
- error: "red-600";
898
- success: "green-700";
899
- warning: "yellow";
900
- };
901
- background: {
902
- _: "white";
903
- contrast: "white";
904
- current: "white";
905
- primary: "beige";
906
- selected: "navy-100";
907
- disabled: "navy-200";
908
- hover: "navy-200";
909
- success: "green-0";
910
- warning: "yellow-0";
911
- error: "red-0";
912
- };
913
- shadow: {
914
- primary: "navy-800";
915
- secondary: "navy-600";
916
- };
917
- primary: {
918
- _: "hyper-500";
919
- hover: "hyper-400";
920
- inverse: "yellow-500";
921
- };
922
- secondary: {
923
- _: "navy-800";
924
- hover: "navy-700";
925
- };
926
- danger: {
927
- _: "red-500";
928
- hover: "red-600";
929
- };
930
- interface: {
931
- _: "hyper-500";
932
- hover: "hyper-400";
933
- };
934
- border: {
935
- primary: "navy-800";
936
- secondary: "navy-600";
937
- tertiary: "navy-300";
938
- disabled: "navy-500";
939
- };
940
- }, "-", "_">;
941
- dark: import("@codecademy/variance").LiteralPaths<{
942
- text: {
943
- _: "white";
944
- accent: "beige";
945
- disabled: "white-500";
946
- secondary: "white-600";
947
- };
948
- feedback: {
949
- error: "red-300";
950
- success: "green-400";
951
- warning: "yellow-0";
952
- };
953
- background: {
954
- _: "navy-800";
955
- contrast: "black";
956
- current: "navy-800";
957
- primary: "navy-900";
958
- selected: "white-100";
959
- disabled: "white-200";
960
- hover: "white-200";
961
- success: "green-900";
962
- warning: "yellow-900";
963
- error: "red-900";
964
- };
965
- shadow: {
966
- primary: "white";
967
- secondary: "white-600";
968
- };
969
- primary: {
970
- _: "yellow-500";
971
- hover: "yellow-400";
972
- inverse: "hyper-500";
973
- };
974
- secondary: {
975
- _: "white";
976
- hover: "white-700";
977
- };
978
- danger: {
979
- _: "red-300";
980
- hover: "red-400";
981
- };
982
- interface: {
983
- _: "yellow-500";
984
- hover: "yellow-400";
985
- };
986
- border: {
987
- primary: "white";
988
- secondary: "white-600";
989
- tertiary: "white-300";
990
- disabled: "white-500";
991
- };
992
- }, "-", "_">;
993
- }>, {
994
- light: import("@codecademy/variance").LiteralPaths<{
995
- background: {
996
- primary: "blue-0";
997
- };
998
- editor: {
999
- attribute: "green-700";
1000
- annotation: "red-500";
1001
- atom: "pink-800";
1002
- basic: "navy-800";
1003
- comment: "comment-light";
1004
- constant: "orange-800";
1005
- decoration: "red-500";
1006
- invalid: "red-500";
1007
- key: "teal-500";
1008
- keyword: "blue-500";
1009
- number: "red-500";
1010
- operator: "red-500";
1011
- predefined: "navy-800";
1012
- property: "red-500";
1013
- regexp: "green-700";
1014
- string: "gold-800";
1015
- tag: "red-500";
1016
- text: "orange-800";
1017
- value: "gold-800";
1018
- variable: "green-700";
1019
- ui: {
1020
- background: "white";
1021
- text: "navy-800";
1022
- 'indent-active': "indent-active-light";
1023
- 'indent-inactive': "indent-inactive-light";
1024
- 'line-number-active': "line-number-active-light";
1025
- 'line-number-inactive': "line-number-inactive-light";
1026
- };
1027
- };
1028
- }, "-", "_">;
1029
- dark: import("@codecademy/variance").LiteralPaths<{
1030
- editor: {
1031
- attribute: "green-400";
1032
- annotation: "red-300";
1033
- atom: "pink-400";
1034
- basic: "white";
1035
- comment: "comment-dark";
1036
- constant: "orange-500";
1037
- decoration: "red-300";
1038
- invalid: "red-300";
1039
- key: "blue-300";
1040
- keyword: "purple-300";
1041
- number: "red-300";
1042
- operator: "red-300";
1043
- predefined: "white";
1044
- property: "red-300";
1045
- regexp: "green-400";
1046
- string: "yellow-500";
1047
- tag: "red-300";
1048
- text: "orange-500";
1049
- value: "yellow-500";
1050
- variable: "green-400";
1051
- ui: {
1052
- background: "navy-900";
1053
- text: "white";
1054
- 'indent-active': "indent-active-dark";
1055
- 'indent-inactive': "indent-inactive-dark";
1056
- 'line-number-active': "line-number-active-dark";
1057
- 'line-number-inactive': "line-number-inactive-dark";
1058
- };
1059
- };
1060
- }, "-", "_">;
1061
- }>;
1062
- mode: "light" | "dark";
1063
- _getColorValue: (color: import("@codecademy/variance").Path<{
1064
- readonly beige: "#FFF0E5";
1065
- readonly blue: "#1557FF";
1066
- readonly green: "#008A27";
1067
- readonly hyper: "#3A10E5";
1068
- readonly lightBlue: "#66C4FF";
1069
- readonly lightGreen: "#AEE938";
1070
- readonly navy: "#10162F";
1071
- readonly orange: "#FF8C00";
1072
- readonly paleBlue: "#F5FCFF";
1073
- readonly paleGreen: "#F5FFE3";
1074
- readonly palePink: "#FFF5FF";
1075
- readonly paleYellow: "#FFFAE5";
1076
- readonly pink: "#F966FF";
1077
- readonly paleRed: "#DC5879";
1078
- readonly red: "#E91C11";
1079
- readonly yellow: "#FFD300";
1080
- readonly black: "#000000";
1081
- readonly white: "#ffffff";
1082
- readonly "beige-100": "#FFF0E5";
1083
- readonly "blue-0": "#F5FCFF";
1084
- readonly "blue-100": "#D3F2FF";
1085
- readonly "blue-300": "#66C4FF";
1086
- readonly "blue-400": "#3388FF";
1087
- readonly "blue-500": "#1557FF";
1088
- readonly "blue-800": "#1D2340";
1089
- readonly "navy-100": string;
1090
- readonly "navy-300": string;
1091
- readonly "navy-400": string;
1092
- readonly "navy-500": string;
1093
- readonly "navy-800": "#10162F";
1094
- readonly "navy-200": string;
1095
- readonly "navy-600": string;
1096
- readonly "navy-700": string;
1097
- readonly "navy-900": "#0A0D1C";
1098
- readonly "green-0": "#F5FFE3";
1099
- readonly "green-100": "#EAFDC6";
1100
- readonly "green-400": "#AEE938";
1101
- readonly "green-700": "#008A27";
1102
- readonly "green-900": "#151C07";
1103
- readonly "yellow-0": "#FFFAE5";
1104
- readonly "yellow-400": "#CCA900";
1105
- readonly "yellow-500": "#FFD300";
1106
- readonly "yellow-900": "#211B00";
1107
- readonly "pink-0": "#FFF5FF";
1108
- readonly "pink-400": "#F966FF";
1109
- readonly "red-0": "#FBF1F0";
1110
- readonly "red-300": "#E85D7F";
1111
- readonly "red-400": "#DC5879";
1112
- readonly "red-500": "#E91C11";
1113
- readonly "red-600": "#BE1809";
1114
- readonly "red-900": "#280503";
1115
- readonly "orange-100": "#FFE8CC";
1116
- readonly "orange-500": "#FF8C00";
1117
- readonly "hyper-400": "#5533FF";
1118
- readonly "hyper-500": "#3A10E5";
1119
- readonly "gray-100": "#F5F5F5";
1120
- readonly "gray-300": "#E0E0E0";
1121
- readonly "gray-800": "#616161";
1122
- readonly "gray-200": "#EEEEEE";
1123
- readonly "gray-600": "#9E9E9E";
1124
- readonly "gray-900": "#424242";
1125
- readonly "white-100": string;
1126
- readonly "white-300": string;
1127
- readonly "white-400": string;
1128
- readonly "white-500": string;
1129
- readonly "white-200": string;
1130
- readonly "white-600": string;
1131
- readonly "white-700": string;
1132
- }, "-"> | "text" | "secondary" | "background" | "primary" | "danger" | "interface" | "border-primary" | "text-disabled" | "text-accent" | "text-secondary" | "secondary-hover" | "feedback-error" | "feedback-success" | "feedback-warning" | "background-disabled" | "background-error" | "background-success" | "background-warning" | "background-contrast" | "background-current" | "background-primary" | "background-selected" | "background-hover" | "primary-hover" | "primary-inverse" | "shadow-secondary" | "shadow-primary" | "danger-hover" | "interface-hover" | "border-disabled" | "border-secondary" | "border-tertiary" | import("@codecademy/variance").Path<{
1133
- readonly lightBeige: "#FFFBF8";
1134
- readonly gold: "#8A7300";
1135
- readonly teal: "#006D82";
1136
- readonly purple: "#B3CCFF";
1137
- readonly 'comment-light': "#686C7B";
1138
- readonly 'comment-dark': "#84868D";
1139
- readonly 'indent-active-light': "#BCBDC4";
1140
- readonly 'indent-active-dark': "#3B3D49";
1141
- readonly 'indent-inactive-light': "#8E919D";
1142
- readonly 'indent-inactive-dark': "#5F616B";
1143
- readonly 'line-number-active-light': "#31374C";
1144
- readonly 'line-number-active-dark': "#CECFD2";
1145
- readonly 'line-number-inactive-light': "#686C7B";
1146
- readonly 'line-number-inactive-dark': "#84868D";
1147
- readonly "beige-0": "#FFFBF8";
1148
- readonly "pink-800": "#CA00D1";
1149
- readonly "orange-800": "#D14900";
1150
- readonly "gold-800": "#8A7300";
1151
- readonly "teal-500": "#006D82";
1152
- readonly "purple-300": "#B3CCFF";
1153
- }, "-">) => string;
1154
- }> & import("@codecademy/variance/dist/createTheme/types").PrivateThemeKeys;
1155
- export type PlatformThemeShape = typeof platformTheme;
1156
- export interface PlatformTheme extends PlatformThemeShape {
1157
- }