@atom-learning/theme 6.2.0 → 6.3.0-beta.2

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.
@@ -1,10 +1,16 @@
1
1
  export const theme: {
2
2
  colors: {
3
+ /** @deprecated Use the text-default role (--text-color-default) */
3
4
  textBold: "hsl(0, 0%, 12%)"
5
+ /** @deprecated Use the text-default role (--text-color-default) */
4
6
  textRegular: "hsl(0, 0%, 20%)"
7
+ /** @deprecated Use the text-subtle role (--text-color-subtle) */
5
8
  textSubtle: "hsl(0, 0%, 33%)"
9
+ /** @deprecated Use the text-subtlest role (--text-color-subtlest) */
6
10
  textMinimal: "hsl(0, 0%, 46%)"
11
+ /** @deprecated Use the bg-page role (--background-color-page) */
7
12
  background: "hsl(0, 0%, 96%)"
13
+ /** @deprecated Use the bg-accent-subtle role (--background-color-accent-subtle) */
8
14
  backgroundAccent: "hsl(215, 100%, 98%)"
9
15
  black: "#000"
10
16
  white: "#fff"
@@ -19,7 +25,7 @@ export const theme: {
19
25
  grey800: "hsl(0, 0%, 33%)"
20
26
  grey900: "hsl(0, 0%, 20%)"
21
27
  grey1000: "hsl(0, 0%, 12%)"
22
- grey1100: "hsl(0, 0%, 10%)"
28
+ grey1100: "hsl(0, 0%, 9%)"
23
29
  grey1200: "hsl(0, 0%, 6%)"
24
30
  blue100: "hsl(215, 100%, 98%)"
25
31
  blue200: "hsl(212, 100%, 95%)"
@@ -34,15 +40,15 @@ export const theme: {
34
40
  blue1100: "hsl(228, 63%, 23%)"
35
41
  blue1200: "hsl(227, 57%, 11%)"
36
42
  pink100: "hsl(311, 100%, 98%)"
37
- pink200: "hsl(310, 100%, 95%)"
38
- pink300: "hsl(311, 100%, 90%)"
39
- pink400: "hsl(313, 100%, 80%)"
43
+ pink200: "hsl(308, 83%, 95%)"
44
+ pink300: "hsl(311, 84%, 90%)"
45
+ pink400: "hsl(315, 97%, 86%)"
40
46
  pink500: "hsl(313, 83%, 72%)"
41
47
  pink600: "hsl(315, 82%, 66%)"
42
48
  pink700: "hsl(316, 63%, 56%)"
43
49
  pink800: "hsl(317, 63%, 44%)"
44
50
  pink900: "hsl(318, 63%, 37%)"
45
- pink1000: "hsl(319, 55%, 33%)"
51
+ pink1000: "hsl(319, 57%, 26%)"
46
52
  pink1100: "hsl(318, 98%, 16%)"
47
53
  pink1200: "hsl(318, 97%, 12%)"
48
54
  purple100: "hsl(246, 83%, 98%)"
@@ -50,11 +56,11 @@ export const theme: {
50
56
  purple300: "hsl(246, 76%, 92%)"
51
57
  purple400: "hsl(246, 74%, 85%)"
52
58
  purple500: "hsl(249, 72%, 76%)"
53
- purple600: "hsl(252, 70%, 66%)"
54
- purple700: "hsl(256, 65%, 62%)"
59
+ purple600: "hsl(251, 68%, 69%)"
60
+ purple700: "hsl(256, 59%, 58%)"
55
61
  purple800: "hsl(252, 51%, 51%)"
56
62
  purple900: "hsl(257, 54%, 42%)"
57
- purple1000: "hsl(257, 53%, 35%)"
63
+ purple1000: "hsl(257, 54%, 31%)"
58
64
  purple1100: "hsl(255, 57%, 23%)"
59
65
  purple1200: "hsl(255, 76%, 13%)"
60
66
  cyan100: "hsl(198, 100%, 97%)"
@@ -70,10 +76,10 @@ export const theme: {
70
76
  cyan1100: "hsl(206, 97%, 15%)"
71
77
  cyan1200: "hsl(207, 73%, 9%)"
72
78
  green100: "hsl(148, 93%, 94%)"
73
- green200: "hsl(149, 95%, 91%)"
74
- green300: "hsl(147, 87%, 85%)"
75
- green400: "hsl(148, 84%, 70%)"
76
- green500: "hsl(148, 75%, 54%)"
79
+ green200: "hsl(149, 79%, 89%)"
80
+ green300: "hsl(147, 72%, 82%)"
81
+ green400: "hsl(146, 72%, 75%)"
82
+ green500: "hsl(143, 67%, 61%)"
77
83
  green600: "hsl(148, 77%, 45%)"
78
84
  green700: "hsl(148, 84%, 36%)"
79
85
  green800: "hsl(158, 79%, 29%)"
@@ -122,12 +128,12 @@ export const theme: {
122
128
  orange300: "hsl(46, 100%, 77%)"
123
129
  orange400: "hsl(44, 100%, 65%)"
124
130
  orange500: "hsl(41, 100%, 55%)"
125
- orange600: "hsl(35, 95%, 50%)"
126
- orange700: "hsl(29, 100%, 55%)"
131
+ orange600: "hsl(32, 100%, 60%)"
132
+ orange700: "hsl(30, 94%, 52%)"
127
133
  orange800: "hsl(22, 94%, 54%)"
128
- orange900: "hsl(22, 100%, 46%)"
129
- orange1000: "hsl(20, 100%, 39%)"
130
- orange1100: "hsl(18, 100%, 27%)"
134
+ orange900: "hsl(21, 92%, 43%)"
135
+ orange1000: "hsl(18, 93%, 35%)"
136
+ orange1100: "hsl(17, 94%, 28%)"
131
137
  orange1200: "hsl(18, 100%, 21%)"
132
138
  yellow100: "hsl(53, 94%, 93%)"
133
139
  yellow200: "hsl(54, 92%, 85%)"
@@ -142,8 +148,8 @@ export const theme: {
142
148
  yellow1100: "hsl(41, 100%, 11%)"
143
149
  yellow1200: "hsl(39, 100%, 8%)"
144
150
  lime100: "hsl(73, 94%, 93%)"
145
- lime200: "hsl(73, 94%, 87%)"
146
- lime300: "hsl(73, 90%, 77%)"
151
+ lime200: "hsl(73, 87%, 86%)"
152
+ lime300: "hsl(74, 84%, 76%)"
147
153
  lime400: "hsl(74, 82%, 69%)"
148
154
  lime500: "hsl(74, 68%, 58%)"
149
155
  lime600: "hsl(74, 77%, 41%)"
@@ -173,9 +179,9 @@ export const theme: {
173
179
  maroon600: "hsl(7, 78%, 60%)"
174
180
  maroon700: "hsl(7, 67%, 44%)"
175
181
  maroon800: "hsl(7, 95%, 32%)"
176
- maroon900: "hsl(349, 89%, 28%)"
177
- maroon1000: "hsl(346, 77%, 26%)"
178
- maroon1100: "hsl(335, 73%, 20%)"
182
+ maroon900: "hsl(349, 88%, 27%)"
183
+ maroon1000: "hsl(346, 79%, 22%)"
184
+ maroon1100: "hsl(334, 77%, 16%)"
179
185
  maroon1200: "hsl(335, 81%, 12%)"
180
186
  marsh100: "hsl(147, 50%, 96%)"
181
187
  marsh200: "hsl(147, 27%, 88%)"
@@ -199,20 +205,20 @@ export const theme: {
199
205
  coolGrey800: "hsl(207, 11%, 35%)"
200
206
  coolGrey900: "hsl(208, 15%, 22%)"
201
207
  coolGrey1000: "hsl(208, 19%, 14%)"
202
- coolGrey1100: "hsl(207, 20%, 11%)"
208
+ coolGrey1100: "hsl(207, 22%, 10%)"
203
209
  coolGrey1200: "hsl(210, 18%, 7%)"
204
- emerald100: "#EEFCF5"
205
- emerald200: "#DEF7EB"
206
- emerald300: "#BDEBD4"
207
- emerald400: "#9FDFC0"
208
- emerald500: "#79CDA5"
209
- emerald600: "#48B18B"
210
- emerald700: "#2C876B"
211
- emerald800: "#16795B"
212
- emerald900: "#004C38"
213
- emerald1000: "#004231"
214
- emerald1100: "#193326"
215
- emerald1200: "#101E17"
210
+ emerald100: "hsl(151, 70%, 96%)"
211
+ emerald200: "hsl(151, 62%, 92%)"
212
+ emerald300: "hsl(151, 53%, 83%)"
213
+ emerald400: "hsl(151, 50%, 75%)"
214
+ emerald500: "hsl(151, 46%, 64%)"
215
+ emerald600: "hsl(158, 42%, 49%)"
216
+ emerald700: "hsl(162, 51%, 35%)"
217
+ emerald800: "hsl(162, 69%, 28%)"
218
+ emerald900: "hsl(164, 100%, 15%)"
219
+ emerald1000: "hsl(164, 100%, 13%)"
220
+ emerald1100: "hsl(150, 34%, 15%)"
221
+ emerald1200: "hsl(150, 30%, 9%)"
216
222
  alpha100: "hsla(0, 0%, 20%, 0.1)"
217
223
  alpha150: "hsla(0, 0%, 20%, 0.15)"
218
224
  alpha200: "hsla(0, 0%, 20%, 0.2)"
@@ -237,15 +243,15 @@ export const theme: {
237
243
  warningText: "hsl(24, 100%, 37%)"
238
244
  subjectEnglish: "hsl(333, 75%, 59%)"
239
245
  subjectMaths: "hsl(214, 100%, 58%)"
240
- subjectScience: "hsl(256, 65%, 62%)"
246
+ subjectScience: "hsl(256, 59%, 58%)"
241
247
  subjectVerbalReasoning: "hsl(148, 84%, 36%)"
242
248
  subjectNonVerbalReasoning: "hsl(41, 100%, 55%)"
243
- subjectCreativeWriting: "hsl(29, 100%, 55%)"
244
- subjectExamSkills: "hsl(257, 53%, 35%)"
249
+ subjectCreativeWriting: "hsl(30, 94%, 52%)"
250
+ subjectExamSkills: "hsl(257, 54%, 31%)"
245
251
  subjectGcseEnglishLiterature: "hsl(333, 75%, 59%)"
246
- subjectGcseEnglishLanguage: "hsl(256, 65%, 62%)"
252
+ subjectGcseEnglishLanguage: "hsl(256, 59%, 58%)"
247
253
  subjectGcseMaths: "hsl(214, 100%, 58%)"
248
- subjectGcseChemistry: "hsl(29, 100%, 55%)"
254
+ subjectGcseChemistry: "hsl(30, 94%, 52%)"
249
255
  subjectGcsePhysics: "hsl(206, 9%, 49%)"
250
256
  subjectGcseBiology: "hsl(148, 84%, 36%)"
251
257
  glBlueLight: "hsl(222, 68%, 78%)"
@@ -298,11 +304,17 @@ export const theme: {
298
304
  export type Theme = typeof theme
299
305
 
300
306
  export const properties: {
307
+ /** @deprecated Use the text-default role (--text-color-default) */
301
308
  '--color-text-bold': "hsl(0, 0%, 12%)"
309
+ /** @deprecated Use the text-default role (--text-color-default) */
302
310
  '--color-text-regular': "hsl(0, 0%, 20%)"
311
+ /** @deprecated Use the text-subtle role (--text-color-subtle) */
303
312
  '--color-text-subtle': "hsl(0, 0%, 33%)"
313
+ /** @deprecated Use the text-subtlest role (--text-color-subtlest) */
304
314
  '--color-text-minimal': "hsl(0, 0%, 46%)"
315
+ /** @deprecated Use the bg-page role (--background-color-page) */
305
316
  '--color-background': "hsl(0, 0%, 96%)"
317
+ /** @deprecated Use the bg-accent-subtle role (--background-color-accent-subtle) */
306
318
  '--color-background-accent': "hsl(215, 100%, 98%)"
307
319
  '--color-black': "#000"
308
320
  '--color-white': "#fff"
@@ -317,7 +329,7 @@ export const properties: {
317
329
  '--color-grey-800': "hsl(0, 0%, 33%)"
318
330
  '--color-grey-900': "hsl(0, 0%, 20%)"
319
331
  '--color-grey-1000': "hsl(0, 0%, 12%)"
320
- '--color-grey-1100': "hsl(0, 0%, 10%)"
332
+ '--color-grey-1100': "hsl(0, 0%, 9%)"
321
333
  '--color-grey-1200': "hsl(0, 0%, 6%)"
322
334
  '--color-blue-100': "hsl(215, 100%, 98%)"
323
335
  '--color-blue-200': "hsl(212, 100%, 95%)"
@@ -332,15 +344,15 @@ export const properties: {
332
344
  '--color-blue-1100': "hsl(228, 63%, 23%)"
333
345
  '--color-blue-1200': "hsl(227, 57%, 11%)"
334
346
  '--color-pink-100': "hsl(311, 100%, 98%)"
335
- '--color-pink-200': "hsl(310, 100%, 95%)"
336
- '--color-pink-300': "hsl(311, 100%, 90%)"
337
- '--color-pink-400': "hsl(313, 100%, 80%)"
347
+ '--color-pink-200': "hsl(308, 83%, 95%)"
348
+ '--color-pink-300': "hsl(311, 84%, 90%)"
349
+ '--color-pink-400': "hsl(315, 97%, 86%)"
338
350
  '--color-pink-500': "hsl(313, 83%, 72%)"
339
351
  '--color-pink-600': "hsl(315, 82%, 66%)"
340
352
  '--color-pink-700': "hsl(316, 63%, 56%)"
341
353
  '--color-pink-800': "hsl(317, 63%, 44%)"
342
354
  '--color-pink-900': "hsl(318, 63%, 37%)"
343
- '--color-pink-1000': "hsl(319, 55%, 33%)"
355
+ '--color-pink-1000': "hsl(319, 57%, 26%)"
344
356
  '--color-pink-1100': "hsl(318, 98%, 16%)"
345
357
  '--color-pink-1200': "hsl(318, 97%, 12%)"
346
358
  '--color-purple-100': "hsl(246, 83%, 98%)"
@@ -348,11 +360,11 @@ export const properties: {
348
360
  '--color-purple-300': "hsl(246, 76%, 92%)"
349
361
  '--color-purple-400': "hsl(246, 74%, 85%)"
350
362
  '--color-purple-500': "hsl(249, 72%, 76%)"
351
- '--color-purple-600': "hsl(252, 70%, 66%)"
352
- '--color-purple-700': "hsl(256, 65%, 62%)"
363
+ '--color-purple-600': "hsl(251, 68%, 69%)"
364
+ '--color-purple-700': "hsl(256, 59%, 58%)"
353
365
  '--color-purple-800': "hsl(252, 51%, 51%)"
354
366
  '--color-purple-900': "hsl(257, 54%, 42%)"
355
- '--color-purple-1000': "hsl(257, 53%, 35%)"
367
+ '--color-purple-1000': "hsl(257, 54%, 31%)"
356
368
  '--color-purple-1100': "hsl(255, 57%, 23%)"
357
369
  '--color-purple-1200': "hsl(255, 76%, 13%)"
358
370
  '--color-cyan-100': "hsl(198, 100%, 97%)"
@@ -368,10 +380,10 @@ export const properties: {
368
380
  '--color-cyan-1100': "hsl(206, 97%, 15%)"
369
381
  '--color-cyan-1200': "hsl(207, 73%, 9%)"
370
382
  '--color-green-100': "hsl(148, 93%, 94%)"
371
- '--color-green-200': "hsl(149, 95%, 91%)"
372
- '--color-green-300': "hsl(147, 87%, 85%)"
373
- '--color-green-400': "hsl(148, 84%, 70%)"
374
- '--color-green-500': "hsl(148, 75%, 54%)"
383
+ '--color-green-200': "hsl(149, 79%, 89%)"
384
+ '--color-green-300': "hsl(147, 72%, 82%)"
385
+ '--color-green-400': "hsl(146, 72%, 75%)"
386
+ '--color-green-500': "hsl(143, 67%, 61%)"
375
387
  '--color-green-600': "hsl(148, 77%, 45%)"
376
388
  '--color-green-700': "hsl(148, 84%, 36%)"
377
389
  '--color-green-800': "hsl(158, 79%, 29%)"
@@ -420,12 +432,12 @@ export const properties: {
420
432
  '--color-orange-300': "hsl(46, 100%, 77%)"
421
433
  '--color-orange-400': "hsl(44, 100%, 65%)"
422
434
  '--color-orange-500': "hsl(41, 100%, 55%)"
423
- '--color-orange-600': "hsl(35, 95%, 50%)"
424
- '--color-orange-700': "hsl(29, 100%, 55%)"
435
+ '--color-orange-600': "hsl(32, 100%, 60%)"
436
+ '--color-orange-700': "hsl(30, 94%, 52%)"
425
437
  '--color-orange-800': "hsl(22, 94%, 54%)"
426
- '--color-orange-900': "hsl(22, 100%, 46%)"
427
- '--color-orange-1000': "hsl(20, 100%, 39%)"
428
- '--color-orange-1100': "hsl(18, 100%, 27%)"
438
+ '--color-orange-900': "hsl(21, 92%, 43%)"
439
+ '--color-orange-1000': "hsl(18, 93%, 35%)"
440
+ '--color-orange-1100': "hsl(17, 94%, 28%)"
429
441
  '--color-orange-1200': "hsl(18, 100%, 21%)"
430
442
  '--color-yellow-100': "hsl(53, 94%, 93%)"
431
443
  '--color-yellow-200': "hsl(54, 92%, 85%)"
@@ -440,8 +452,8 @@ export const properties: {
440
452
  '--color-yellow-1100': "hsl(41, 100%, 11%)"
441
453
  '--color-yellow-1200': "hsl(39, 100%, 8%)"
442
454
  '--color-lime-100': "hsl(73, 94%, 93%)"
443
- '--color-lime-200': "hsl(73, 94%, 87%)"
444
- '--color-lime-300': "hsl(73, 90%, 77%)"
455
+ '--color-lime-200': "hsl(73, 87%, 86%)"
456
+ '--color-lime-300': "hsl(74, 84%, 76%)"
445
457
  '--color-lime-400': "hsl(74, 82%, 69%)"
446
458
  '--color-lime-500': "hsl(74, 68%, 58%)"
447
459
  '--color-lime-600': "hsl(74, 77%, 41%)"
@@ -471,9 +483,9 @@ export const properties: {
471
483
  '--color-maroon-600': "hsl(7, 78%, 60%)"
472
484
  '--color-maroon-700': "hsl(7, 67%, 44%)"
473
485
  '--color-maroon-800': "hsl(7, 95%, 32%)"
474
- '--color-maroon-900': "hsl(349, 89%, 28%)"
475
- '--color-maroon-1000': "hsl(346, 77%, 26%)"
476
- '--color-maroon-1100': "hsl(335, 73%, 20%)"
486
+ '--color-maroon-900': "hsl(349, 88%, 27%)"
487
+ '--color-maroon-1000': "hsl(346, 79%, 22%)"
488
+ '--color-maroon-1100': "hsl(334, 77%, 16%)"
477
489
  '--color-maroon-1200': "hsl(335, 81%, 12%)"
478
490
  '--color-marsh-100': "hsl(147, 50%, 96%)"
479
491
  '--color-marsh-200': "hsl(147, 27%, 88%)"
@@ -497,20 +509,20 @@ export const properties: {
497
509
  '--color-cool-grey-800': "hsl(207, 11%, 35%)"
498
510
  '--color-cool-grey-900': "hsl(208, 15%, 22%)"
499
511
  '--color-cool-grey-1000': "hsl(208, 19%, 14%)"
500
- '--color-cool-grey-1100': "hsl(207, 20%, 11%)"
512
+ '--color-cool-grey-1100': "hsl(207, 22%, 10%)"
501
513
  '--color-cool-grey-1200': "hsl(210, 18%, 7%)"
502
- '--color-emerald-100': "#EEFCF5"
503
- '--color-emerald-200': "#DEF7EB"
504
- '--color-emerald-300': "#BDEBD4"
505
- '--color-emerald-400': "#9FDFC0"
506
- '--color-emerald-500': "#79CDA5"
507
- '--color-emerald-600': "#48B18B"
508
- '--color-emerald-700': "#2C876B"
509
- '--color-emerald-800': "#16795B"
510
- '--color-emerald-900': "#004C38"
511
- '--color-emerald-1000': "#004231"
512
- '--color-emerald-1100': "#193326"
513
- '--color-emerald-1200': "#101E17"
514
+ '--color-emerald-100': "hsl(151, 70%, 96%)"
515
+ '--color-emerald-200': "hsl(151, 62%, 92%)"
516
+ '--color-emerald-300': "hsl(151, 53%, 83%)"
517
+ '--color-emerald-400': "hsl(151, 50%, 75%)"
518
+ '--color-emerald-500': "hsl(151, 46%, 64%)"
519
+ '--color-emerald-600': "hsl(158, 42%, 49%)"
520
+ '--color-emerald-700': "hsl(162, 51%, 35%)"
521
+ '--color-emerald-800': "hsl(162, 69%, 28%)"
522
+ '--color-emerald-900': "hsl(164, 100%, 15%)"
523
+ '--color-emerald-1000': "hsl(164, 100%, 13%)"
524
+ '--color-emerald-1100': "hsl(150, 34%, 15%)"
525
+ '--color-emerald-1200': "hsl(150, 30%, 9%)"
514
526
  '--color-alpha-100': "hsla(0, 0%, 20%, 0.1)"
515
527
  '--color-alpha-150': "hsla(0, 0%, 20%, 0.15)"
516
528
  '--color-alpha-200': "hsla(0, 0%, 20%, 0.2)"
@@ -535,15 +547,15 @@ export const properties: {
535
547
  '--color-warning-text': "hsl(24, 100%, 37%)"
536
548
  '--color-subject-english': "hsl(333, 75%, 59%)"
537
549
  '--color-subject-maths': "hsl(214, 100%, 58%)"
538
- '--color-subject-science': "hsl(256, 65%, 62%)"
550
+ '--color-subject-science': "hsl(256, 59%, 58%)"
539
551
  '--color-subject-verbal-reasoning': "hsl(148, 84%, 36%)"
540
552
  '--color-subject-non-verbal-reasoning': "hsl(41, 100%, 55%)"
541
- '--color-subject-creative-writing': "hsl(29, 100%, 55%)"
542
- '--color-subject-exam-skills': "hsl(257, 53%, 35%)"
553
+ '--color-subject-creative-writing': "hsl(30, 94%, 52%)"
554
+ '--color-subject-exam-skills': "hsl(257, 54%, 31%)"
543
555
  '--color-subject-gcse-english-literature': "hsl(333, 75%, 59%)"
544
- '--color-subject-gcse-english-language': "hsl(256, 65%, 62%)"
556
+ '--color-subject-gcse-english-language': "hsl(256, 59%, 58%)"
545
557
  '--color-subject-gcse-maths': "hsl(214, 100%, 58%)"
546
- '--color-subject-gcse-chemistry': "hsl(29, 100%, 55%)"
558
+ '--color-subject-gcse-chemistry': "hsl(30, 94%, 52%)"
547
559
  '--color-subject-gcse-physics': "hsl(206, 9%, 49%)"
548
560
  '--color-subject-gcse-biology': "hsl(148, 84%, 36%)"
549
561
  '--color-gl-light': "hsl(222, 68%, 78%)"