@atom-learning/theme 2.0.0-beta.0 → 3.0.0-beta.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.
@@ -0,0 +1,260 @@
1
+ module.exports = {
2
+ "colors": {
3
+ "textForeground": "hsl(0, 0%, 12%)",
4
+ "textSubtle": "hsl(0, 0%, 33%)",
5
+ "textPlaceholder": "hsl(0, 0%, 46%)",
6
+ "background": "hsl(0, 0%, 96%)",
7
+ "backgroundAccent": "hsl(215, 100%, 98%)",
8
+ "grey100": "hsl(0, 0%, 96%)",
9
+ "grey200": "hsl(0, 0%, 92%)",
10
+ "grey300": "hsl(0, 0%, 88%)",
11
+ "grey400": "hsl(0, 0%, 81%)",
12
+ "grey500": "hsl(0, 0%, 73%)",
13
+ "grey600": "hsl(0, 0%, 62%)",
14
+ "grey700": "hsl(0, 0%, 46%)",
15
+ "grey800": "hsl(0, 0%, 33%)",
16
+ "grey900": "hsl(0, 0%, 20%)",
17
+ "grey1000": "hsl(0, 0%, 12%)",
18
+ "grey1100": "hsl(0, 0%, 10%)",
19
+ "grey1200": "hsl(0, 0%, 6%)",
20
+ "blue100": "hsl(215, 100%, 98%)",
21
+ "blue200": "hsl(212, 100%, 95%)",
22
+ "blue300": "hsl(211, 100%, 92%)",
23
+ "blue400": "hsl(211, 100%, 88%)",
24
+ "blue500": "hsl(212, 100%, 80%)",
25
+ "blue600": "hsl(213, 100%, 71%)",
26
+ "blue700": "hsl(214, 100%, 58%)",
27
+ "blue800": "hsl(217, 92%, 51%)",
28
+ "blue900": "hsl(223, 78%, 44%)",
29
+ "blue1000": "hsl(228, 82%, 35%)",
30
+ "blue1100": "hsl(228, 63%, 23%)",
31
+ "blue1200": "hsl(227, 57%, 11%)",
32
+ "purple100": "hsl(282, 100%, 98%)",
33
+ "purple200": "hsl(270, 100%, 95%)",
34
+ "purple300": "hsl(271, 100%, 92%)",
35
+ "purple400": "hsl(270, 100%, 89%)",
36
+ "purple500": "hsl(270, 90%, 81%)",
37
+ "purple600": "hsl(271, 97%, 69%)",
38
+ "purple700": "hsl(273, 84%, 47%)",
39
+ "purple800": "hsl(273, 94%, 48%)",
40
+ "purple900": "hsl(268, 79%, 42%)",
41
+ "purple1000": "hsl(266, 82%, 32%)",
42
+ "purple1100": "hsl(265, 63%, 23%)",
43
+ "purple1200": "hsl(265, 61%, 14%)",
44
+ "cyan100": "hsl(198, 100%, 97%)",
45
+ "cyan200": "hsl(199, 100%, 94%)",
46
+ "cyan300": "hsl(201, 100%, 89%)",
47
+ "cyan400": "hsl(200, 100%, 84%)",
48
+ "cyan500": "hsl(201, 96%, 73%)",
49
+ "cyan600": "hsl(202, 85%, 60%)",
50
+ "cyan700": "hsl(204, 81%, 46%)",
51
+ "cyan800": "hsl(205, 100%, 38%)",
52
+ "cyan900": "hsl(206, 100%, 30%)",
53
+ "cyan1000": "hsl(205, 100%, 21%)",
54
+ "cyan1100": "hsl(206, 97%, 15%)",
55
+ "cyan1200": "hsl(207, 73%, 9%)",
56
+ "green100": "hsl(135, 80%, 96%)",
57
+ "green200": "hsl(135, 72%, 92%)",
58
+ "green300": "hsl(135, 68%, 83%)",
59
+ "green400": "hsl(135, 65%, 76%)",
60
+ "green500": "hsl(136, 56%, 62%)",
61
+ "green600": "hsl(137, 42%, 49%)",
62
+ "green700": "hsl(138, 51%, 35%)",
63
+ "green800": "hsl(138, 68%, 29%)",
64
+ "green900": "hsl(138, 74%, 21%)",
65
+ "green1000": "hsl(138, 89%, 14%)",
66
+ "green1100": "hsl(135, 91%, 9%)",
67
+ "green1200": "hsl(123, 56%, 6%)",
68
+ "magenta100": "hsl(330, 100%, 99%)",
69
+ "magenta200": "hsl(329, 100%, 96%)",
70
+ "magenta300": "hsl(332, 100%, 92%)",
71
+ "magenta400": "hsl(333, 100%, 90%)",
72
+ "magenta500": "hsl(333, 90%, 80%)",
73
+ "magenta600": "hsl(333, 87%, 72%)",
74
+ "magenta700": "hsl(333, 75%, 59%)",
75
+ "magenta800": "hsl(333, 69%, 49%)",
76
+ "magenta900": "hsl(333, 74%, 36%)",
77
+ "magenta1000": "hsl(333, 86%, 25%)",
78
+ "magenta1100": "hsl(333, 95%, 16%)",
79
+ "magenta1200": "hsl(334, 62%, 10%)",
80
+ "red100": "hsl(0, 100%, 99%)",
81
+ "red200": "hsl(0, 100%, 96%)",
82
+ "red300": "hsl(357, 100%, 93%)",
83
+ "red400": "hsl(356, 100%, 90%)",
84
+ "red500": "hsl(356, 96%, 83%)",
85
+ "red600": "hsl(357, 90%, 73%)",
86
+ "red700": "hsl(357, 80%, 59%)",
87
+ "red800": "hsl(357, 76%, 49%)",
88
+ "red900": "hsl(357, 73%, 37%)",
89
+ "red1000": "hsl(357, 79%, 26%)",
90
+ "red1100": "hsl(357, 91%, 17%)",
91
+ "red1200": "hsl(357, 73%, 10%)",
92
+ "teal100": "hsl(180, 83%, 95%)",
93
+ "teal200": "hsl(180, 75%, 88%)",
94
+ "teal300": "hsl(180, 71%, 78%)",
95
+ "teal400": "hsl(179, 70%, 71%)",
96
+ "teal500": "hsl(179, 65%, 52%)",
97
+ "teal600": "hsl(179, 76%, 41%)",
98
+ "teal700": "hsl(179, 91%, 31%)",
99
+ "teal800": "hsl(178, 100%, 25%)",
100
+ "teal900": "hsl(180, 100%, 18%)",
101
+ "teal1000": "hsl(183, 100%, 13%)",
102
+ "teal1100": "hsl(187, 92%, 10%)",
103
+ "teal1200": "hsl(186, 56%, 7%)",
104
+ "orange100": "hsl(38, 100%, 95%)",
105
+ "orange200": "hsl(38, 100%, 90%)",
106
+ "orange300": "hsl(37, 100%, 84%)",
107
+ "orange400": "hsl(36, 96%, 78%)",
108
+ "orange500": "hsl(33, 100%, 67%)",
109
+ "orange600": "hsl(31, 97%, 57%)",
110
+ "orange700": "hsl(30, 92%, 46%)",
111
+ "orange800": "hsl(29, 100%, 43%)",
112
+ "orange900": "hsl(27, 100%, 36%)",
113
+ "orange1000": "hsl(24, 100%, 26%)",
114
+ "orange1100": "hsl(20, 97%, 15%)",
115
+ "orange1200": "hsl(20, 96%, 11%)",
116
+ "yellow100": "hsl(53, 94%, 93%)",
117
+ "yellow200": "hsl(54, 92%, 85%)",
118
+ "yellow300": "hsl(54, 92%, 75%)",
119
+ "yellow400": "hsl(52, 97%, 63%)",
120
+ "yellow500": "hsl(51, 100%, 46%)",
121
+ "yellow600": "hsl(49, 100%, 39%)",
122
+ "yellow700": "hsl(48, 100%, 35%)",
123
+ "yellow800": "hsl(46, 100%, 30%)",
124
+ "yellow900": "hsl(44, 100%, 22%)",
125
+ "yellow1000": "hsl(44, 100%, 18%)",
126
+ "yellow1100": "hsl(41, 100%, 11%)",
127
+ "yellow1200": "hsl(39, 100%, 8%)",
128
+ "lime100": "hsl(73, 94%, 93%)",
129
+ "lime200": "hsl(73, 94%, 87%)",
130
+ "lime300": "hsl(73, 90%, 77%)",
131
+ "lime400": "hsl(74, 82%, 69%)",
132
+ "lime500": "hsl(74, 68%, 58%)",
133
+ "lime600": "hsl(74, 77%, 41%)",
134
+ "lime700": "hsl(75, 100%, 31%)",
135
+ "lime800": "hsl(75, 100%, 27%)",
136
+ "lime900": "hsl(75, 100%, 19%)",
137
+ "lime1000": "hsl(75, 100%, 15%)",
138
+ "lime1100": "hsl(75, 100%, 9%)",
139
+ "lime1200": "hsl(74, 100%, 6%)",
140
+ "tonal50": "hsl(0, 0%, 96%)",
141
+ "tonal100": "hsl(0, 0%, 92%)",
142
+ "tonal200": "hsl(0, 0%, 62%)",
143
+ "tonal300": "hsl(0, 0%, 46%)",
144
+ "tonal400": "hsl(0, 0%, 33%)",
145
+ "tonal500": "hsl(0, 0%, 20%)",
146
+ "tonal600": "hsl(0, 0%, 12%)",
147
+ "alpha100": "hsla(0, 0%, 20%, 0.1)",
148
+ "alpha150": "hsla(0, 0%, 20%, 0.15)",
149
+ "alpha200": "hsla(0, 0%, 20%, 0.2)",
150
+ "alpha250": "hsla(0, 0%, 20%, 0.25)",
151
+ "alpha600": "hsla(0, 0%, 20%, 0.6)",
152
+ "brandRed": "hsl(0, 91%, 64%)",
153
+ "brandRedAccent": "hsl(14, 100%, 71%)",
154
+ "brandGreen": "hsl(128, 47%, 53%)",
155
+ "brandGreenAccent": "hsl(168, 100%, 20%)",
156
+ "brandPurple": "hsl(256, 65%, 62%)",
157
+ "brandPurpleAccent": "hsl(256, 93%, 35%)",
158
+ "brandYellow": "hsl(41, 100%, 55%)",
159
+ "brandYellowAccent": "hsl(33, 100%, 50%)",
160
+ "infoLight": "hsl(215, 100%, 98%)",
161
+ "info": "hsl(217, 92%, 51%)",
162
+ "infoMid": "hsl(223, 78%, 44%)",
163
+ "infoDark": "hsl(228, 82%, 35%)",
164
+ "successLight": "hsl(119, 44%, 94%)",
165
+ "success": "hsl(119, 100%, 27%)",
166
+ "successMid": "hsl(124, 100%, 22%)",
167
+ "successDark": "hsl(126, 100%, 17%)",
168
+ "dangerLight": "hsl(0, 77%, 95%)",
169
+ "danger": "hsl(0, 96%, 48%)",
170
+ "dangerMid": "hsl(0, 96%, 41%)",
171
+ "dangerDark": "hsl(0, 97%, 34%)",
172
+ "warningLight": "hsl(39, 100%, 94%)",
173
+ "warning": "hsl(41, 100%, 55%)",
174
+ "warningMid": "hsl(41, 89%, 48%)",
175
+ "warningDark": "hsl(41, 100%, 41%)",
176
+ "warningText": "hsl(24, 100%, 37%)",
177
+ "subjectEnglish": "hsl(0, 91%, 64%)",
178
+ "subjectMaths": "hsl(217, 92%, 51%)",
179
+ "subjectScience": "hsl(256, 65%, 62%)",
180
+ "subjectVerbalReasoning": "hsl(128, 47%, 53%)",
181
+ "subjectNonVerbalReasoning": "hsl(41, 100%, 55%)",
182
+ "subjectCreativeWriting": "hsl(33, 100%, 50%)",
183
+ "subjectExamSkills": "hsl(256, 93%, 35%)",
184
+ "glBlueLight": "hsl(222, 68%, 78%)",
185
+ "glBluePrimary": "hsl(222, 56%, 55%)",
186
+ "glBlueDark": "hsl(222, 35%, 43%)",
187
+ "primary100": "hsl(151, 70%, 96%)",
188
+ "primary200": "hsl(151, 62%, 92%)",
189
+ "primary300": "hsl(151, 53%, 83%)",
190
+ "primary400": "hsl(151, 50%, 75%)",
191
+ "primary500": "hsl(151, 46%, 64%)",
192
+ "primary600": "hsl(151, 42%, 49%)",
193
+ "primary700": "hsl(151, 51%, 35%)",
194
+ "primary800": "hsl(151, 63%, 29%)",
195
+ "primary900": "hsl(151, 55%, 21%)",
196
+ "primary1000": "hsl(151, 47%, 18%)",
197
+ "primary1100": "hsl(151, 34%, 13%)",
198
+ "primary1200": "hsl(151, 24%, 7%)"
199
+ },
200
+ "space": {
201
+ "0": "0.125rem",
202
+ "1": "0.25rem",
203
+ "2": "0.5rem",
204
+ "3": "0.75rem",
205
+ "4": "1rem",
206
+ "5": "2rem",
207
+ "6": "2.5rem",
208
+ "7": "3rem",
209
+ "8": "4rem",
210
+ "9": "5rem",
211
+ "24": "1.5rem"
212
+ },
213
+ "fontSizes": {
214
+ "xs": "0.75rem",
215
+ "sm": "0.875rem",
216
+ "md": "1rem",
217
+ "lg": "1.3125rem",
218
+ "xl": "1.75rem",
219
+ "2xl": "2.3125rem",
220
+ "3xl": "3.125rem",
221
+ "4xl": "5.625rem"
222
+ },
223
+ "fonts": {
224
+ "sans": "system-ui, -apple-system, 'Helvetica Neue', sans-serif",
225
+ "mono": "'SFMono-Regular', Consolas, Menlo, monospace",
226
+ "display": "'Make', system-ui, -apple-system, 'Helvetica Neue', sans-serif",
227
+ "body": "'DM Sans', system-ui, -apple-system, 'Helvetica Neue', sans-serif"
228
+ },
229
+ "sizes": {
230
+ "0": "0.5rem",
231
+ "1": "1rem",
232
+ "2": "1.5rem",
233
+ "3": "2rem",
234
+ "4": "2.5rem",
235
+ "5": "3rem",
236
+ "6": "4rem",
237
+ "7": "6rem",
238
+ "8": "8rem"
239
+ },
240
+ "radii": {
241
+ "0": "0.25rem",
242
+ "1": "0.5rem",
243
+ "2": "0.75rem",
244
+ "3": "1rem",
245
+ "round": "100rem"
246
+ },
247
+ "shadows": {
248
+ "0": "0 1px 3px hsla(0, 0%, 20%, 0.1), 0 1px 2px hsla(0, 0%, 20%, 0.15)",
249
+ "1": "0 3px 6px hsla(0, 0%, 20%, 0.1), 0 3px 6px hsla(0, 0%, 20%, 0.1)",
250
+ "2": "0 10px 20px hsla(0, 0%, 20%, 0.1), 0 6px 6px hsla(0, 0%, 20%, 0.1)",
251
+ "3": "0 14px 28px hsla(0, 0%, 20%, 0.15), 0 10px 10px hsla(0, 0%, 20%, 0.1)"
252
+ },
253
+ "ratios": {
254
+ "16-9": "16/9",
255
+ "3-2": "3/2",
256
+ "4-3": "4/3",
257
+ "1-1": "1/1",
258
+ "3-4": "3/4"
259
+ }
260
+ }
@@ -0,0 +1,252 @@
1
+
2
+ // Do not edit directly
3
+ // Generated on Mon, 08 Jan 2024 11:47:58 GMT
4
+
5
+ $color-text-foreground: #1f1f1f;
6
+ $color-text-subtle: #545454;
7
+ $color-text-placeholder: #757575;
8
+ $color-background-base: #f5f5f5;
9
+ $color-background-accent: #f5f9ff;
10
+ $color-grey-100: #f5f5f5;
11
+ $color-grey-200: #ebebeb;
12
+ $color-grey-300: #e0e0e0;
13
+ $color-grey-400: #cfcfcf;
14
+ $color-grey-500: #bababa;
15
+ $color-grey-600: #9e9e9e;
16
+ $color-grey-700: #757575;
17
+ $color-grey-800: #545454;
18
+ $color-grey-900: #333333;
19
+ $color-grey-1000: #1f1f1f;
20
+ $color-grey-1100: #1a1a1a;
21
+ $color-grey-1200: #0f0f0f;
22
+ $color-blue-100: #f5f9ff;
23
+ $color-blue-200: #e5f1ff;
24
+ $color-blue-300: #d6eaff;
25
+ $color-blue-400: #c2dfff;
26
+ $color-blue-500: #99c9ff;
27
+ $color-blue-600: #6baeff;
28
+ $color-blue-700: #2986ff;
29
+ $color-blue-800: #0f67f5;
30
+ $color-blue-900: #194ac8;
31
+ $color-blue-1000: #102da2;
32
+ $color-blue-1100: #162460;
33
+ $color-blue-1200: #0c132c;
34
+ $color-purple-100: #fcf5ff;
35
+ $color-purple-200: #f2e5ff;
36
+ $color-purple-300: #ebd6ff;
37
+ $color-purple-400: #e3c7ff;
38
+ $color-purple-500: #cfa3fa;
39
+ $color-purple-600: #b363fd;
40
+ $color-purple-700: #8213dd;
41
+ $color-purple-800: #8607ed;
42
+ $color-purple-900: #6516c0;
43
+ $color-purple-1000: #490f95;
44
+ $color-purple-1100: #341660;
45
+ $color-purple-1200: #200e39;
46
+ $color-cyan-100: #f0faff;
47
+ $color-cyan-200: #e0f5ff;
48
+ $color-cyan-300: #c7ebff;
49
+ $color-cyan-400: #ade4ff;
50
+ $color-cyan-500: #78cefc;
51
+ $color-cyan-600: #42b0f0;
52
+ $color-cyan-700: #1688d4;
53
+ $color-cyan-800: #0071c2;
54
+ $color-cyan-900: #005799;
55
+ $color-cyan-1000: #003e6b;
56
+ $color-cyan-1100: #012b4b;
57
+ $color-cyan-1200: #061928;
58
+ $color-green-100: #edfdf1;
59
+ $color-green-200: #dcf9e3;
60
+ $color-green-300: #b6f1c5;
61
+ $color-green-400: #9aeaae;
62
+ $color-green-500: #68d485;
63
+ $color-green-600: #48b166;
64
+ $color-green-700: #2c8747;
65
+ $color-green-800: #187c36;
66
+ $color-green-900: #0e5d26;
67
+ $color-green-1000: #044317;
68
+ $color-green-1100: #022c0d;
69
+ $color-green-1200: #071808;
70
+ $color-magenta-100: #fffafc;
71
+ $color-magenta-200: #ffebf5;
72
+ $color-magenta-300: #ffd6e9;
73
+ $color-magenta-400: #ffcce3;
74
+ $color-magenta-500: #fa9ec7;
75
+ $color-magenta-600: #f679b1;
76
+ $color-magenta-700: #e5488f;
77
+ $color-magenta-800: #d32774;
78
+ $color-magenta-900: #a01855;
79
+ $color-magenta-1000: #77093a;
80
+ $color-magenta-1100: #500225;
81
+ $color-magenta-1200: #290a17;
82
+ $color-red-100: #fffafa;
83
+ $color-red-200: #ffebeb;
84
+ $color-red-300: #ffdbdd;
85
+ $color-red-400: #ffcccf;
86
+ $color-red-500: #fdaab0;
87
+ $color-red-600: #f87c82;
88
+ $color-red-700: #ea434b;
89
+ $color-red-800: #dc1e27;
90
+ $color-red-900: #a31920;
91
+ $color-red-1000: #770e13;
92
+ $color-red-1100: #530408;
93
+ $color-red-1200: #2c0709;
94
+ $color-teal-100: #e8fdfd;
95
+ $color-teal-200: #c9f7f7;
96
+ $color-teal-300: #9fefef;
97
+ $color-teal-400: #81e9e7;
98
+ $color-teal-500: #35d4d2;
99
+ $color-teal-600: #19b8b5;
100
+ $color-teal-700: #079795;
101
+ $color-teal-800: #00807b;
102
+ $color-teal-900: #005c5c;
103
+ $color-teal-1000: #003f42;
104
+ $color-teal-1100: #022b31;
105
+ $color-teal-1200: #081a1c;
106
+ $color-orange-100: #fff6e5;
107
+ $color-orange-200: #ffeccc;
108
+ $color-orange-300: #ffe0ad;
109
+ $color-orange-400: #fdd291;
110
+ $color-orange-500: #ffb357;
111
+ $color-orange-600: #fc9527;
112
+ $color-orange-700: #e17509;
113
+ $color-orange-800: #db6a00;
114
+ $color-orange-900: #b85300;
115
+ $color-orange-1000: #853500;
116
+ $color-orange-1100: #4b1a01;
117
+ $color-orange-1200: #371301;
118
+ $color-yellow-100: #fefadc;
119
+ $color-yellow-200: #fcf5b6;
120
+ $color-yellow-300: #faee85;
121
+ $color-yellow-400: #fce445;
122
+ $color-yellow-500: #ebc700;
123
+ $color-yellow-600: #c7a200;
124
+ $color-yellow-700: #b38f00;
125
+ $color-yellow-800: #997500;
126
+ $color-yellow-900: #705200;
127
+ $color-yellow-1000: #5c4300;
128
+ $color-yellow-1100: #382600;
129
+ $color-yellow-1200: #291b00;
130
+ $color-lime-100: #f7fedc;
131
+ $color-lime-200: #f0fdbf;
132
+ $color-lime-300: #e2f990;
133
+ $color-lime-400: #d3f16f;
134
+ $color-lime-500: #bbdd4b;
135
+ $color-lime-600: #93b918;
136
+ $color-lime-700: #779e00;
137
+ $color-lime-800: #678a00;
138
+ $color-lime-900: #496100;
139
+ $color-lime-1000: #394d00;
140
+ $color-lime-1100: #222e00;
141
+ $color-lime-1200: #171f00;
142
+ $color-tonal-50: #f5f5f5;
143
+ $color-tonal-100: #ebebeb;
144
+ $color-tonal-200: #9e9e9e;
145
+ $color-tonal-300: #757575;
146
+ $color-tonal-400: #545454;
147
+ $color-tonal-500: #333333;
148
+ $color-tonal-600: #1f1f1f;
149
+ $color-alpha-100: rgba(51, 51, 51, 0.1);
150
+ $color-alpha-150: rgba(51, 51, 51, 0.15);
151
+ $color-alpha-200: rgba(51, 51, 51, 0.2);
152
+ $color-alpha-250: rgba(51, 51, 51, 0.25);
153
+ $color-alpha-600: rgba(51, 51, 51, 0.6);
154
+ $color-brand-red-base: #f75050;
155
+ $color-brand-red-accent: #ff8e6b;
156
+ $color-brand-green-base: #4fbf5e;
157
+ $color-brand-green-accent: #006652;
158
+ $color-brand-purple-base: #815fdd;
159
+ $color-brand-purple-accent: #3306ac;
160
+ $color-brand-yellow-base: #ffb61a;
161
+ $color-brand-yellow-accent: #ff8c00;
162
+ $color-info-light: #f5f9ff;
163
+ $color-info-base: #0f67f5;
164
+ $color-info-mid: #194ac8;
165
+ $color-info-dark: #102da2;
166
+ $color-success-light: #e9f6e9;
167
+ $color-success-base: #028a00;
168
+ $color-success-mid: #007007;
169
+ $color-success-dark: #005709;
170
+ $color-danger-light: #fce8e8;
171
+ $color-danger-base: #f00505;
172
+ $color-danger-mid: #cd0404;
173
+ $color-danger-dark: #ab0303;
174
+ $color-warning-light: #fff4e0;
175
+ $color-warning-base: #ffb61a;
176
+ $color-warning-mid: #e7a20d;
177
+ $color-warning-dark: #d18f00;
178
+ $color-warning-text: #bd4b00;
179
+ $color-subject-english: #f75050;
180
+ $color-subject-maths: #0f67f5;
181
+ $color-subject-science: #815fdd;
182
+ $color-subject-verbal-reasoning: #4fbf5e;
183
+ $color-subject-non-verbal-reasoning: #ffb61a;
184
+ $color-subject-creative-writing: #ff8c00;
185
+ $color-subject-exam-skills: #3306ac;
186
+ $color-gl-blue-light: #a1b8ed;
187
+ $color-gl-blue-primary: #4c73cd;
188
+ $color-gl-blue-dark: #475e94;
189
+ $color-primary-100: #eefcf5;
190
+ $color-primary-200: #def7eb;
191
+ $color-primary-300: #bdebd4;
192
+ $color-primary-400: #9fdfc0;
193
+ $color-primary-500: #79cda5;
194
+ $color-primary-600: #48b17f;
195
+ $color-primary-700: #2c875b;
196
+ $color-primary-800: #1b794c;
197
+ $color-primary-900: #185337;
198
+ $color-primary-1000: #18432f;
199
+ $color-primary-1100: #162c22;
200
+ $color-primary-1200: #0e1612;
201
+ $font-families-sans: system-ui, -apple-system, 'Helvetica Neue', sans-serif;
202
+ $font-families-mono: 'SFMono-Regular', Consolas, Menlo, monospace;
203
+ $font-families-display: 'Make', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
204
+ $font-families-body: 'DM Sans', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
205
+
206
+ $effects-shadows: (
207
+ 0: (0 1px 3px rgba(51, 51, 51, 0.1), 0 1px 2px rgba(51, 51, 51, 0.15)),
208
+ 1: (0 3px 6px rgba(51, 51, 51, 0.1), 0 3px 6px rgba(51, 51, 51, 0.1)),
209
+ 2: (0 10px 20px rgba(51, 51, 51, 0.1), 0 6px 6px rgba(51, 51, 51, 0.1)),
210
+ 3: (0 14px 28px rgba(51, 51, 51, 0.15), 0 10px 10px rgba(51, 51, 51, 0.1))
211
+ );
212
+ $size-font: (
213
+ xs: 12px,
214
+ sm: 14px,
215
+ md: 16px,
216
+ lg: 21px,
217
+ xl: 28px,
218
+ 2xl: 37px,
219
+ 3xl: 50px,
220
+ 4xl: 90px
221
+ );
222
+ $size-space: (
223
+ 0: 2px,
224
+ 1: 4px,
225
+ 2: 8px,
226
+ 3: 12px,
227
+ 4: 16px,
228
+ 5: 32px,
229
+ 6: 40px,
230
+ 7: 48px,
231
+ 8: 64px,
232
+ 9: 80px,
233
+ 24: 24px
234
+ );
235
+ $size-size: (
236
+ 0: 8px,
237
+ 1: 16px,
238
+ 2: 24px,
239
+ 3: 32px,
240
+ 4: 40px,
241
+ 5: 48px,
242
+ 6: 64px,
243
+ 7: 96px,
244
+ 8: 128px
245
+ );
246
+ $size-radii: (
247
+ 0: 4px,
248
+ 1: 8px,
249
+ 2: 12px,
250
+ 3: 16px,
251
+ round: 1600px
252
+ );
package/package.json CHANGED
@@ -1,17 +1,18 @@
1
1
  {
2
2
  "name": "@atom-learning/theme",
3
- "version": "2.0.0-beta.0",
3
+ "version": "3.0.0-beta.0",
4
4
  "description": "Design tokens and assets for Atom Learning",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
7
7
  "scripts": {
8
- "build:lib": "node ./scripts/build.js",
8
+ "build:lib": "node ./scripts/build.js --theme=atom && node ./scripts/build.js --theme=quest",
9
9
  "build:docs": "cp -r ./src/documentation/. ./lib",
10
10
  "prepublishOnly": "run-s clean build:lib build:docs",
11
11
  "clean": "del ./lib"
12
12
  },
13
13
  "files": [
14
- "lib"
14
+ "lib",
15
+ "theme-map.js"
15
16
  ],
16
17
  "author": "",
17
18
  "license": "ISC",
@@ -19,7 +20,8 @@
19
20
  "del-cli": "^3.0.1",
20
21
  "npm-run-all": "^4.1.5",
21
22
  "pascal-case": "^3.1.2",
22
- "style-dictionary": "^3.0.1"
23
+ "style-dictionary": "^3.0.1",
24
+ "yargs": "^17.7.2"
23
25
  },
24
26
  "dependencies": {}
25
27
  }
package/theme-map.js ADDED
@@ -0,0 +1,5 @@
1
+ module.exports = {
2
+ themeMap: {
3
+ aspectRatio: 'ratios'
4
+ }
5
+ }
package/lib/index.d.ts DELETED
@@ -1,107 +0,0 @@
1
- export type Theme = {
2
- "colors": {
3
- "textForeground": string
4
- "textSubtle": string
5
- "textPlaceholder": string
6
- "background": string
7
- "backgroundAccent": string
8
- "tonal50": string
9
- "tonal100": string
10
- "tonal200": string
11
- "tonal300": string
12
- "tonal400": string
13
- "tonal500": string
14
- "tonal600": string
15
- "alpha100": string
16
- "alpha150": string
17
- "alpha200": string
18
- "alpha250": string
19
- "alpha600": string
20
- "primaryLight": string
21
- "primary": string
22
- "primaryMid": string
23
- "primaryDark": string
24
- "secondary": string
25
- "brandRed": string
26
- "brandRedAccent": string
27
- "brandGreen": string
28
- "brandGreenAccent": string
29
- "brandPurple": string
30
- "brandPurpleAccent": string
31
- "brandYellow": string
32
- "brandYellowAccent": string
33
- "successLight": string
34
- "success": string
35
- "successMid": string
36
- "successDark": string
37
- "dangerLight": string
38
- "danger": string
39
- "dangerMid": string
40
- "dangerDark": string
41
- "warningLight": string
42
- "warning": string
43
- "warningMid": string
44
- "warningDark": string
45
- "warningText": string
46
- "subjectEnglish": string
47
- "subjectMaths": string
48
- "subjectScience": string
49
- "subjectVerbalReasoning": string
50
- "subjectNonVerbalReasoning": string
51
- "subjectCreativeWriting": string
52
- "subjectExamSkills": string
53
- },
54
- "space": {
55
- "0": string
56
- "1": string
57
- "2": string
58
- "3": string
59
- "4": string
60
- "5": string
61
- "6": string
62
- "7": string
63
- "8": string
64
- "9": string
65
- "10": string
66
- },
67
- "fontSizes": {
68
- "xs": string
69
- "sm": string
70
- "md": string
71
- "lg": string
72
- "xl": string
73
- "2xl": string
74
- "3xl": string
75
- "4xl": string
76
- },
77
- "fonts": {
78
- "sans": string
79
- "mono": string
80
- "display": string
81
- "body": string
82
- },
83
- "sizes": {
84
- "0": string
85
- "1": string
86
- "2": string
87
- "3": string
88
- "4": string
89
- "5": string
90
- "6": string
91
- "7": string
92
- "8": string
93
- },
94
- "radii": {
95
- "0": string
96
- "1": string
97
- "2": string
98
- "3": string
99
- "round": string
100
- },
101
- "shadows": {
102
- "0": string
103
- "1": string
104
- "2": string
105
- "3": string
106
- }
107
- }