@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,78 +0,0 @@
1
- import { createTheme } from '@codecademy/variance';
2
- import { platformPalette } from '../variables';
3
- import { coreTheme } from './core';
4
-
5
- /**
6
- * @description This is an extended theme for the learning environment with an expanded set of tokens
7
- * That are not needed for the rest of the application.
8
- */
9
-
10
- export const platformTheme = createTheme(coreTheme).addColors(platformPalette).addColorModes('dark', {
11
- light: {
12
- background: {
13
- primary: 'blue-0'
14
- },
15
- editor: {
16
- attribute: 'green-700',
17
- annotation: 'red-500',
18
- atom: 'pink-800',
19
- basic: 'navy-800',
20
- comment: 'comment-light',
21
- constant: 'orange-800',
22
- decoration: 'red-500',
23
- invalid: 'red-500',
24
- key: 'teal-500',
25
- keyword: 'blue-500',
26
- number: 'red-500',
27
- operator: 'red-500',
28
- predefined: 'navy-800',
29
- property: 'red-500',
30
- regexp: 'green-700',
31
- string: 'gold-800',
32
- tag: 'red-500',
33
- text: 'orange-800',
34
- value: 'gold-800',
35
- variable: 'green-700',
36
- ui: {
37
- background: 'white',
38
- text: 'navy-800',
39
- 'indent-active': 'indent-active-light',
40
- 'indent-inactive': 'indent-inactive-light',
41
- 'line-number-active': 'line-number-active-light',
42
- 'line-number-inactive': 'line-number-inactive-light'
43
- }
44
- }
45
- },
46
- dark: {
47
- editor: {
48
- attribute: 'green-400',
49
- annotation: 'red-300',
50
- atom: 'pink-400',
51
- basic: 'white',
52
- comment: 'comment-dark',
53
- constant: 'orange-500',
54
- decoration: 'red-300',
55
- invalid: 'red-300',
56
- key: 'blue-300',
57
- keyword: 'purple-300',
58
- number: 'red-300',
59
- operator: 'red-300',
60
- predefined: 'white',
61
- property: 'red-300',
62
- regexp: 'green-400',
63
- string: 'yellow-500',
64
- tag: 'red-300',
65
- text: 'orange-500',
66
- value: 'yellow-500',
67
- variable: 'green-400',
68
- ui: {
69
- background: 'navy-900',
70
- text: 'white',
71
- 'indent-active': 'indent-active-dark',
72
- 'indent-inactive': 'indent-inactive-dark',
73
- 'line-number-active': 'line-number-active-dark',
74
- 'line-number-inactive': 'line-number-inactive-dark'
75
- }
76
- }
77
- }
78
- }).build();
@@ -1,6 +0,0 @@
1
- import '@emotion/react';
2
- import { CoreTheme } from '../themes';
3
-
4
- declare module '@emotion/react' {
5
- export interface Theme extends CoreTheme {}
6
- }
@@ -1 +0,0 @@
1
- export * from './themed';
@@ -1 +0,0 @@
1
- export * from './themed';
@@ -1,14 +0,0 @@
1
- import { Path, PathValue } from '@codecademy/variance';
2
- import { Theme } from '@emotion/react';
3
- /**
4
- * Creates a function that will look up the a design token from the `theme` context of a
5
- * tyled component or a component that accepts theme as a prop.
6
- *
7
- * @param path Valid path for current theme
8
- * @returns A function that accepts an object with a keyof `theme` and looks up the
9
- * value at supplied path parameter
10
- */
11
- export type SafeThemeValues = Omit<Theme, '_variables' | '_tokens' | '_getColorValue' | 'modes'>;
12
- export declare function themed<P extends Path<SafeThemeValues>>(path: P): (props: {
13
- theme: Theme;
14
- }) => PathValue<SafeThemeValues, P>;
@@ -1,16 +0,0 @@
1
- import get from 'lodash/get';
2
-
3
- /**
4
- * Creates a function that will look up the a design token from the `theme` context of a
5
- * tyled component or a component that accepts theme as a prop.
6
- *
7
- * @param path Valid path for current theme
8
- * @returns A function that accepts an object with a keyof `theme` and looks up the
9
- * value at supplied path parameter
10
- */
11
-
12
- export function themed(path) {
13
- return ({
14
- theme
15
- }) => get(theme, path);
16
- }
@@ -1,8 +0,0 @@
1
- export declare const borderRadii: {
2
- none: string;
3
- sm: string;
4
- md: string;
5
- lg: string;
6
- xl: string;
7
- full: string;
8
- };
@@ -1,8 +0,0 @@
1
- export const borderRadii = {
2
- none: '0px',
3
- sm: '2px',
4
- md: '4px',
5
- lg: '8px',
6
- xl: '16px',
7
- full: '999px'
8
- };
@@ -1,310 +0,0 @@
1
- export declare const coreSwatches: {
2
- readonly beige: {
3
- readonly '100': "#FFF0E5";
4
- };
5
- readonly blue: {
6
- readonly '0': "#F5FCFF";
7
- readonly '100': "#D3F2FF";
8
- readonly '300': "#66C4FF";
9
- readonly '400': "#3388FF";
10
- readonly '500': "#1557FF";
11
- readonly '800': "#1D2340";
12
- };
13
- readonly navy: {
14
- readonly '100': string;
15
- readonly '200': string;
16
- readonly '300': string;
17
- readonly '400': string;
18
- readonly '500': string;
19
- readonly '600': string;
20
- readonly '700': string;
21
- readonly '800': "#10162F";
22
- readonly '900': "#0A0D1C";
23
- };
24
- readonly green: {
25
- readonly '0': "#F5FFE3";
26
- readonly '100': "#EAFDC6";
27
- readonly '400': "#AEE938";
28
- readonly '700': "#008A27";
29
- readonly '900': "#151C07";
30
- };
31
- readonly yellow: {
32
- readonly '0': "#FFFAE5";
33
- readonly '400': "#CCA900";
34
- readonly '500': "#FFD300";
35
- readonly '900': "#211B00";
36
- };
37
- readonly pink: {
38
- readonly '0': "#FFF5FF";
39
- readonly '400': "#F966FF";
40
- };
41
- readonly red: {
42
- readonly '0': "#FBF1F0";
43
- readonly '300': "#E85D7F";
44
- readonly '400': "#DC5879";
45
- readonly '500': "#E91C11";
46
- readonly '600': "#BE1809";
47
- readonly '900': "#280503";
48
- };
49
- readonly orange: {
50
- readonly '100': "#FFE8CC";
51
- readonly '500': "#FF8C00";
52
- };
53
- readonly hyper: {
54
- readonly '400': "#5533FF";
55
- readonly '500': "#3A10E5";
56
- };
57
- readonly gray: {
58
- readonly '100': "#F5F5F5";
59
- readonly '200': "#EEEEEE";
60
- readonly '300': "#E0E0E0";
61
- readonly '600': "#9E9E9E";
62
- readonly '800': "#616161";
63
- readonly '900': "#424242";
64
- };
65
- readonly white: {
66
- readonly '100': string;
67
- readonly '200': string;
68
- readonly '300': string;
69
- readonly '400': string;
70
- readonly '500': string;
71
- readonly '600': string;
72
- readonly '700': string;
73
- };
74
- };
75
- export declare const trueColors: {
76
- readonly beige: "#FFF0E5";
77
- readonly blue: "#1557FF";
78
- readonly green: "#008A27";
79
- readonly hyper: "#3A10E5";
80
- readonly lightBlue: "#66C4FF";
81
- readonly lightGreen: "#AEE938";
82
- readonly navy: "#10162F";
83
- readonly orange: "#FF8C00";
84
- readonly paleBlue: "#F5FCFF";
85
- readonly paleGreen: "#F5FFE3";
86
- readonly palePink: "#FFF5FF";
87
- readonly paleYellow: "#FFFAE5";
88
- readonly pink: "#F966FF";
89
- readonly paleRed: "#DC5879";
90
- readonly red: "#E91C11";
91
- readonly yellow: "#FFD300";
92
- readonly black: "#000000";
93
- readonly white: "#ffffff";
94
- };
95
- export declare const corePalette: {
96
- readonly beige: "#FFF0E5";
97
- readonly blue: "#1557FF";
98
- readonly green: "#008A27";
99
- readonly hyper: "#3A10E5";
100
- readonly lightBlue: "#66C4FF";
101
- readonly lightGreen: "#AEE938";
102
- readonly navy: "#10162F";
103
- readonly orange: "#FF8C00";
104
- readonly paleBlue: "#F5FCFF";
105
- readonly paleGreen: "#F5FFE3";
106
- readonly palePink: "#FFF5FF";
107
- readonly paleYellow: "#FFFAE5";
108
- readonly pink: "#F966FF";
109
- readonly paleRed: "#DC5879";
110
- readonly red: "#E91C11";
111
- readonly yellow: "#FFD300";
112
- readonly black: "#000000";
113
- readonly white: "#ffffff";
114
- readonly "beige-100": "#FFF0E5";
115
- readonly "blue-0": "#F5FCFF";
116
- readonly "blue-100": "#D3F2FF";
117
- readonly "blue-300": "#66C4FF";
118
- readonly "blue-400": "#3388FF";
119
- readonly "blue-500": "#1557FF";
120
- readonly "blue-800": "#1D2340";
121
- readonly "navy-100": string;
122
- readonly "navy-300": string;
123
- readonly "navy-400": string;
124
- readonly "navy-500": string;
125
- readonly "navy-800": "#10162F";
126
- readonly "navy-200": string;
127
- readonly "navy-600": string;
128
- readonly "navy-700": string;
129
- readonly "navy-900": "#0A0D1C";
130
- readonly "green-0": "#F5FFE3";
131
- readonly "green-100": "#EAFDC6";
132
- readonly "green-400": "#AEE938";
133
- readonly "green-700": "#008A27";
134
- readonly "green-900": "#151C07";
135
- readonly "yellow-0": "#FFFAE5";
136
- readonly "yellow-400": "#CCA900";
137
- readonly "yellow-500": "#FFD300";
138
- readonly "yellow-900": "#211B00";
139
- readonly "pink-0": "#FFF5FF";
140
- readonly "pink-400": "#F966FF";
141
- readonly "red-0": "#FBF1F0";
142
- readonly "red-300": "#E85D7F";
143
- readonly "red-400": "#DC5879";
144
- readonly "red-500": "#E91C11";
145
- readonly "red-600": "#BE1809";
146
- readonly "red-900": "#280503";
147
- readonly "orange-100": "#FFE8CC";
148
- readonly "orange-500": "#FF8C00";
149
- readonly "hyper-400": "#5533FF";
150
- readonly "hyper-500": "#3A10E5";
151
- readonly "gray-100": "#F5F5F5";
152
- readonly "gray-300": "#E0E0E0";
153
- readonly "gray-800": "#616161";
154
- readonly "gray-200": "#EEEEEE";
155
- readonly "gray-600": "#9E9E9E";
156
- readonly "gray-900": "#424242";
157
- readonly "white-100": string;
158
- readonly "white-300": string;
159
- readonly "white-400": string;
160
- readonly "white-500": string;
161
- readonly "white-200": string;
162
- readonly "white-600": string;
163
- readonly "white-700": string;
164
- };
165
- /**
166
- * Platform Colors
167
- */
168
- export declare const platformSwatches: {
169
- readonly beige: {
170
- readonly '0': "#FFFBF8";
171
- };
172
- readonly gold: {
173
- readonly '800': "#8A7300";
174
- };
175
- readonly orange: {
176
- readonly '800': "#D14900";
177
- };
178
- readonly pink: {
179
- readonly '800': "#CA00D1";
180
- };
181
- readonly teal: {
182
- readonly '500': "#006D82";
183
- };
184
- readonly purple: {
185
- readonly '300': "#B3CCFF";
186
- };
187
- };
188
- export declare const truePlatformColors: {
189
- readonly lightBeige: "#FFFBF8";
190
- readonly gold: "#8A7300";
191
- readonly teal: "#006D82";
192
- readonly purple: "#B3CCFF";
193
- };
194
- export declare const platformEditorColors: {
195
- readonly 'comment-light': "#686C7B";
196
- readonly 'comment-dark': "#84868D";
197
- readonly 'indent-active-light': "#BCBDC4";
198
- readonly 'indent-active-dark': "#3B3D49";
199
- readonly 'indent-inactive-light': "#8E919D";
200
- readonly 'indent-inactive-dark': "#5F616B";
201
- readonly 'line-number-active-light': "#31374C";
202
- readonly 'line-number-active-dark': "#CECFD2";
203
- readonly 'line-number-inactive-light': "#686C7B";
204
- readonly 'line-number-inactive-dark': "#84868D";
205
- };
206
- export declare const platformPalette: {
207
- readonly lightBeige: "#FFFBF8";
208
- readonly gold: "#8A7300";
209
- readonly teal: "#006D82";
210
- readonly purple: "#B3CCFF";
211
- readonly 'comment-light': "#686C7B";
212
- readonly 'comment-dark': "#84868D";
213
- readonly 'indent-active-light': "#BCBDC4";
214
- readonly 'indent-active-dark': "#3B3D49";
215
- readonly 'indent-inactive-light': "#8E919D";
216
- readonly 'indent-inactive-dark': "#5F616B";
217
- readonly 'line-number-active-light': "#31374C";
218
- readonly 'line-number-active-dark': "#CECFD2";
219
- readonly 'line-number-inactive-light': "#686C7B";
220
- readonly 'line-number-inactive-dark': "#84868D";
221
- readonly "beige-0": "#FFFBF8";
222
- readonly "pink-800": "#CA00D1";
223
- readonly "orange-800": "#D14900";
224
- readonly "gold-800": "#8A7300";
225
- readonly "teal-500": "#006D82";
226
- readonly "purple-300": "#B3CCFF";
227
- };
228
- /**
229
- * LX Studio Colors
230
- */
231
- export declare const lxStudioColors: {
232
- readonly lxStudioSuccess: "#06844F";
233
- readonly lxStudioBgPrimary: "#FAFBFC";
234
- readonly lxStudioPurple: "#5628FE";
235
- readonly lxStudioPurpleHover: "#7955FC";
236
- };
237
- export declare const lxStudioPalette: {
238
- lxStudioSuccess: "#06844F";
239
- lxStudioBgPrimary: "#FAFBFC";
240
- lxStudioPurple: "#5628FE";
241
- lxStudioPurpleHover: "#7955FC";
242
- beige: "#FFF0E5";
243
- blue: "#1557FF";
244
- green: "#008A27";
245
- hyper: "#3A10E5";
246
- lightBlue: "#66C4FF";
247
- lightGreen: "#AEE938";
248
- navy: "#10162F";
249
- orange: "#FF8C00";
250
- paleBlue: "#F5FCFF";
251
- paleGreen: "#F5FFE3";
252
- palePink: "#FFF5FF";
253
- paleYellow: "#FFFAE5";
254
- pink: "#F966FF";
255
- paleRed: "#DC5879";
256
- red: "#E91C11";
257
- yellow: "#FFD300";
258
- black: "#000000";
259
- white: "#ffffff";
260
- "beige-100": "#FFF0E5";
261
- "blue-0": "#F5FCFF";
262
- "blue-100": "#D3F2FF";
263
- "blue-300": "#66C4FF";
264
- "blue-400": "#3388FF";
265
- "blue-500": "#1557FF";
266
- "blue-800": "#1D2340";
267
- "navy-100": string;
268
- "navy-300": string;
269
- "navy-400": string;
270
- "navy-500": string;
271
- "navy-800": "#10162F";
272
- "navy-200": string;
273
- "navy-600": string;
274
- "navy-700": string;
275
- "navy-900": "#0A0D1C";
276
- "green-0": "#F5FFE3";
277
- "green-100": "#EAFDC6";
278
- "green-400": "#AEE938";
279
- "green-700": "#008A27";
280
- "green-900": "#151C07";
281
- "yellow-0": "#FFFAE5";
282
- "yellow-400": "#CCA900";
283
- "yellow-500": "#FFD300";
284
- "yellow-900": "#211B00";
285
- "pink-0": "#FFF5FF";
286
- "pink-400": "#F966FF";
287
- "red-0": "#FBF1F0";
288
- "red-300": "#E85D7F";
289
- "red-400": "#DC5879";
290
- "red-500": "#E91C11";
291
- "red-600": "#BE1809";
292
- "red-900": "#280503";
293
- "orange-100": "#FFE8CC";
294
- "orange-500": "#FF8C00";
295
- "hyper-400": "#5533FF";
296
- "hyper-500": "#3A10E5";
297
- "gray-100": "#F5F5F5";
298
- "gray-300": "#E0E0E0";
299
- "gray-800": "#616161";
300
- "gray-200": "#EEEEEE";
301
- "gray-600": "#9E9E9E";
302
- "gray-900": "#424242";
303
- "white-100": string;
304
- "white-300": string;
305
- "white-400": string;
306
- "white-500": string;
307
- "white-200": string;
308
- "white-600": string;
309
- "white-700": string;
310
- };
@@ -1,170 +0,0 @@
1
- import { flattenScale } from '@codecademy/variance';
2
- import { rgba } from 'polished';
3
- /**
4
- * Core Colors
5
- */
6
-
7
- const black = '#000000';
8
- const white = '#ffffff';
9
- const navy = '#10162F';
10
- export const coreSwatches = {
11
- beige: {
12
- '100': '#FFF0E5'
13
- },
14
- blue: {
15
- '0': '#F5FCFF',
16
- '100': '#D3F2FF',
17
- '300': '#66C4FF',
18
- '400': '#3388FF',
19
- '500': '#1557FF',
20
- '800': '#1D2340'
21
- },
22
- navy: {
23
- '100': rgba(navy, 0.04),
24
- '200': rgba(navy, 0.12),
25
- '300': rgba(navy, 0.28),
26
- '400': rgba(navy, 0.47),
27
- '500': rgba(navy, 0.63),
28
- '600': rgba(navy, 0.75),
29
- '700': rgba(navy, 0.86),
30
- '800': navy,
31
- '900': '#0A0D1C'
32
- },
33
- green: {
34
- '0': '#F5FFE3',
35
- '100': '#EAFDC6',
36
- '400': '#AEE938',
37
- '700': '#008A27',
38
- '900': '#151C07'
39
- },
40
- yellow: {
41
- '0': '#FFFAE5',
42
- '400': '#CCA900',
43
- '500': '#FFD300',
44
- '900': '#211B00'
45
- },
46
- pink: {
47
- '0': '#FFF5FF',
48
- '400': '#F966FF'
49
- },
50
- red: {
51
- '0': '#FBF1F0',
52
- '300': '#E85D7F',
53
- '400': '#DC5879',
54
- '500': '#E91C11',
55
- '600': '#BE1809',
56
- '900': '#280503'
57
- },
58
- orange: {
59
- '100': '#FFE8CC',
60
- '500': '#FF8C00'
61
- },
62
- hyper: {
63
- '400': '#5533FF',
64
- '500': '#3A10E5'
65
- },
66
- gray: {
67
- '100': '#F5F5F5',
68
- '200': '#EEEEEE',
69
- '300': '#E0E0E0',
70
- '600': '#9E9E9E',
71
- '800': '#616161',
72
- '900': '#424242'
73
- },
74
- white: {
75
- '100': rgba(white, 0.04),
76
- '200': rgba(white, 0.09),
77
- '300': rgba(white, 0.2),
78
- '400': rgba(white, 0.35),
79
- '500': rgba(white, 0.5),
80
- '600': rgba(white, 0.65),
81
- '700': rgba(white, 0.8)
82
- }
83
- };
84
- export const trueColors = {
85
- beige: coreSwatches.beige[100],
86
- blue: coreSwatches.blue[500],
87
- green: coreSwatches.green[700],
88
- hyper: coreSwatches.hyper[500],
89
- lightBlue: coreSwatches.blue[300],
90
- lightGreen: coreSwatches.green[400],
91
- navy: coreSwatches.navy[800],
92
- orange: coreSwatches.orange[500],
93
- paleBlue: coreSwatches.blue[0],
94
- paleGreen: coreSwatches.green[0],
95
- palePink: coreSwatches.pink[0],
96
- paleYellow: coreSwatches.yellow[0],
97
- pink: coreSwatches.pink[400],
98
- paleRed: coreSwatches.red[400],
99
- red: coreSwatches.red[500],
100
- yellow: coreSwatches.yellow[500],
101
- black,
102
- white
103
- };
104
- export const corePalette = {
105
- ...flattenScale(coreSwatches),
106
- ...trueColors
107
- };
108
-
109
- /**
110
- * Platform Colors
111
- */
112
-
113
- export const platformSwatches = {
114
- beige: {
115
- '0': '#FFFBF8'
116
- },
117
- gold: {
118
- '800': '#8A7300'
119
- },
120
- orange: {
121
- '800': '#D14900'
122
- },
123
- pink: {
124
- '800': '#CA00D1'
125
- },
126
- teal: {
127
- '500': '#006D82'
128
- },
129
- purple: {
130
- '300': '#B3CCFF'
131
- }
132
- };
133
- export const truePlatformColors = {
134
- lightBeige: platformSwatches.beige[0],
135
- gold: platformSwatches.gold[800],
136
- teal: platformSwatches.teal[500],
137
- purple: platformSwatches.purple[300]
138
- };
139
- export const platformEditorColors = {
140
- 'comment-light': '#686C7B',
141
- 'comment-dark': '#84868D',
142
- 'indent-active-light': '#BCBDC4',
143
- 'indent-active-dark': '#3B3D49',
144
- 'indent-inactive-light': '#8E919D',
145
- 'indent-inactive-dark': '#5F616B',
146
- 'line-number-active-light': '#31374C',
147
- 'line-number-active-dark': '#CECFD2',
148
- 'line-number-inactive-light': '#686C7B',
149
- 'line-number-inactive-dark': '#84868D'
150
- };
151
- export const platformPalette = {
152
- ...flattenScale(platformSwatches),
153
- ...platformEditorColors,
154
- ...truePlatformColors
155
- };
156
-
157
- /**
158
- * LX Studio Colors
159
- */
160
-
161
- export const lxStudioColors = {
162
- lxStudioSuccess: '#06844F',
163
- lxStudioBgPrimary: '#FAFBFC',
164
- lxStudioPurple: '#5628FE',
165
- lxStudioPurpleHover: '#7955FC'
166
- };
167
- export const lxStudioPalette = {
168
- ...corePalette,
169
- ...lxStudioColors
170
- };