@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.
- package/README.md +69 -1
- package/lib/assets/quest/logo-light.png +0 -0
- package/lib/assets/quest/logo-light.svg +1 -0
- package/lib/assets/quest/logo.png +0 -0
- package/lib/assets/quest/logo.svg +1 -0
- package/lib/theme-atom.d.ts +260 -0
- package/lib/theme-atom.js +260 -0
- package/lib/theme-atom.scss +252 -0
- package/lib/theme-quest.d.ts +260 -0
- package/lib/theme-quest.js +260 -0
- package/lib/theme-quest.scss +252 -0
- package/package.json +6 -4
- package/theme-map.js +5 -0
- package/lib/index.d.ts +0 -107
- package/lib/index.js +0 -107
- package/lib/index.scss +0 -106
- /package/lib/assets/{logo-light.png → atom/logo-light.png} +0 -0
- /package/lib/assets/{logo-light.svg → atom/logo-light.svg} +0 -0
- /package/lib/assets/{logo-primary.png → atom/logo-primary.png} +0 -0
- /package/lib/assets/{logo-primary.svg → atom/logo-primary.svg} +0 -0
- /package/lib/assets/{logo.png → atom/logo.png} +0 -0
- /package/lib/assets/{logo.svg → atom/logo.svg} +0 -0
package/lib/index.js
DELETED
|
@@ -1,107 +0,0 @@
|
|
|
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(217, 92%, 97%)",
|
|
8
|
-
"tonal50": "hsl(0, 0%, 96%)",
|
|
9
|
-
"tonal100": "hsl(0, 0%, 93%)",
|
|
10
|
-
"tonal200": "hsl(0, 0%, 69%)",
|
|
11
|
-
"tonal300": "hsl(0, 0%, 46%)",
|
|
12
|
-
"tonal400": "hsl(0, 0%, 33%)",
|
|
13
|
-
"tonal500": "hsl(0, 0%, 20%)",
|
|
14
|
-
"tonal600": "hsl(0, 0%, 12%)",
|
|
15
|
-
"alpha100": "hsla(0, 0%, 20%, 0.1)",
|
|
16
|
-
"alpha150": "hsla(0, 0%, 20%, 0.15)",
|
|
17
|
-
"alpha200": "hsla(0, 0%, 20%, 0.2)",
|
|
18
|
-
"alpha250": "hsla(0, 0%, 20%, 0.25)",
|
|
19
|
-
"alpha600": "hsla(0, 0%, 20%, 0.6)",
|
|
20
|
-
"primaryLight": "hsl(217, 92%, 97%)",
|
|
21
|
-
"primary": "hsl(217, 92%, 51%)",
|
|
22
|
-
"primaryMid": "hsl(223, 78%, 45%)",
|
|
23
|
-
"primaryDark": "hsl(228, 82%, 35%)",
|
|
24
|
-
"secondary": "hsl(204, 100%, 72%)",
|
|
25
|
-
"brandRed": "hsl(0, 91%, 64%)",
|
|
26
|
-
"brandRedAccent": "hsl(14, 100%, 71%)",
|
|
27
|
-
"brandGreen": "hsl(128, 47%, 53%)",
|
|
28
|
-
"brandGreenAccent": "hsl(168, 100%, 20%)",
|
|
29
|
-
"brandPurple": "hsl(256, 65%, 62%)",
|
|
30
|
-
"brandPurpleAccent": "hsl(256, 93%, 35%)",
|
|
31
|
-
"brandYellow": "hsl(41, 100%, 55%)",
|
|
32
|
-
"brandYellowAccent": "hsl(33, 100%, 50%)",
|
|
33
|
-
"successLight": "hsl(119, 44%, 94%)",
|
|
34
|
-
"success": "hsl(119, 100%, 27%)",
|
|
35
|
-
"successMid": "hsl(124, 100%, 22%)",
|
|
36
|
-
"successDark": "hsl(126, 100%, 17%)",
|
|
37
|
-
"dangerLight": "hsl(0, 77%, 95%)",
|
|
38
|
-
"danger": "hsl(0, 96%, 48%)",
|
|
39
|
-
"dangerMid": "hsl(0, 96%, 41%)",
|
|
40
|
-
"dangerDark": "hsl(0, 97%, 34%)",
|
|
41
|
-
"warningLight": "hsl(39, 100%, 94%)",
|
|
42
|
-
"warning": "hsl(41, 100%, 55%)",
|
|
43
|
-
"warningMid": "hsl(41, 89%, 48%)",
|
|
44
|
-
"warningDark": "hsl(41, 100%, 41%)",
|
|
45
|
-
"warningText": "hsl(24, 100%, 37%)",
|
|
46
|
-
"subjectEnglish": "hsl(0, 91%, 64%)",
|
|
47
|
-
"subjectMaths": "hsl(217, 92%, 51%)",
|
|
48
|
-
"subjectScience": "hsl(256, 65%, 62%)",
|
|
49
|
-
"subjectVerbalReasoning": "hsl(128, 47%, 53%)",
|
|
50
|
-
"subjectNonVerbalReasoning": "hsl(41, 100%, 55%)",
|
|
51
|
-
"subjectCreativeWriting": "hsl(33, 100%, 50%)",
|
|
52
|
-
"subjectExamSkills": "hsl(256, 93%, 35%)"
|
|
53
|
-
},
|
|
54
|
-
"space": {
|
|
55
|
-
"0": "0.125rem",
|
|
56
|
-
"1": "0.25rem",
|
|
57
|
-
"2": "0.5rem",
|
|
58
|
-
"3": "0.75rem",
|
|
59
|
-
"4": "1rem",
|
|
60
|
-
"5": "1.5rem",
|
|
61
|
-
"6": "2rem",
|
|
62
|
-
"7": "2.5rem",
|
|
63
|
-
"8": "3rem",
|
|
64
|
-
"9": "4rem",
|
|
65
|
-
"10": "5rem"
|
|
66
|
-
},
|
|
67
|
-
"fontSizes": {
|
|
68
|
-
"xs": "0.75rem",
|
|
69
|
-
"sm": "0.875rem",
|
|
70
|
-
"md": "1rem",
|
|
71
|
-
"lg": "1.3125rem",
|
|
72
|
-
"xl": "1.75rem",
|
|
73
|
-
"2xl": "2.3125rem",
|
|
74
|
-
"3xl": "3.125rem",
|
|
75
|
-
"4xl": "5.625rem"
|
|
76
|
-
},
|
|
77
|
-
"fonts": {
|
|
78
|
-
"sans": "system-ui, -apple-system, 'Helvetica Neue', sans-serif",
|
|
79
|
-
"mono": "'SFMono-Regular', Consolas, Menlo, monospace",
|
|
80
|
-
"display": "'Space Grotesk', system-ui, -apple-system, 'Helvetica Neue', sans-serif",
|
|
81
|
-
"body": "'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif"
|
|
82
|
-
},
|
|
83
|
-
"sizes": {
|
|
84
|
-
"0": "0.5rem",
|
|
85
|
-
"1": "1rem",
|
|
86
|
-
"2": "1.5rem",
|
|
87
|
-
"3": "2rem",
|
|
88
|
-
"4": "2.5rem",
|
|
89
|
-
"5": "3rem",
|
|
90
|
-
"6": "4rem",
|
|
91
|
-
"7": "6rem",
|
|
92
|
-
"8": "8rem"
|
|
93
|
-
},
|
|
94
|
-
"radii": {
|
|
95
|
-
"0": "0.25rem",
|
|
96
|
-
"1": "0.5rem",
|
|
97
|
-
"2": "0.75rem",
|
|
98
|
-
"3": "1rem",
|
|
99
|
-
"round": "100rem"
|
|
100
|
-
},
|
|
101
|
-
"shadows": {
|
|
102
|
-
"0": "0 1px 3px hsla(0, 0%, 20%, 0.15), 0 1px 2px hsla(0, 0%, 20%, 0.2)",
|
|
103
|
-
"1": "0 3px 6px hsla(0, 0%, 20%, 0.15), 0 3px 6px hsla(0, 0%, 20%, 0.2)",
|
|
104
|
-
"2": "0 10px 20px hsla(0, 0%, 20%, 0.2), 0 6px 6px hsla(0, 0%, 20%, 0.25)",
|
|
105
|
-
"3": "0 14px 28px hsla(0, 0%, 20%, 0.25), 0 10px 10px hsla(0, 0%, 20%, 0.2)"
|
|
106
|
-
}
|
|
107
|
-
}
|
package/lib/index.scss
DELETED
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
// Do not edit directly
|
|
3
|
-
// Generated on Thu, 04 Aug 2022 06:25:19 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: #f0f6fe;
|
|
10
|
-
$color-tonal-50: #f5f5f5;
|
|
11
|
-
$color-tonal-100: #ededed;
|
|
12
|
-
$color-tonal-200: #b0b0b0;
|
|
13
|
-
$color-tonal-300: #757575;
|
|
14
|
-
$color-tonal-400: #545454;
|
|
15
|
-
$color-tonal-500: #333333;
|
|
16
|
-
$color-tonal-600: #1f1f1f;
|
|
17
|
-
$color-alpha-100: rgba(51, 51, 51, 0.1);
|
|
18
|
-
$color-alpha-150: rgba(51, 51, 51, 0.15);
|
|
19
|
-
$color-alpha-200: rgba(51, 51, 51, 0.2);
|
|
20
|
-
$color-alpha-250: rgba(51, 51, 51, 0.25);
|
|
21
|
-
$color-alpha-600: rgba(51, 51, 51, 0.6);
|
|
22
|
-
$color-primary-light: #f0f6fe;
|
|
23
|
-
$color-primary-base: #0f67f5;
|
|
24
|
-
$color-primary-mid: #194ccc;
|
|
25
|
-
$color-primary-dark: #102da2;
|
|
26
|
-
$color-secondary: #70c6ff;
|
|
27
|
-
$color-brand-red-base: #f75050;
|
|
28
|
-
$color-brand-red-accent: #ff8e6b;
|
|
29
|
-
$color-brand-green-base: #4fbf5e;
|
|
30
|
-
$color-brand-green-accent: #006652;
|
|
31
|
-
$color-brand-purple-base: #815fdd;
|
|
32
|
-
$color-brand-purple-accent: #3306ac;
|
|
33
|
-
$color-brand-yellow-base: #ffb61a;
|
|
34
|
-
$color-brand-yellow-accent: #ff8c00;
|
|
35
|
-
$color-success-light: #e9f6e9;
|
|
36
|
-
$color-success-base: #028a00;
|
|
37
|
-
$color-success-mid: #007007;
|
|
38
|
-
$color-success-dark: #005709;
|
|
39
|
-
$color-danger-light: #fce8e8;
|
|
40
|
-
$color-danger-base: #f00505;
|
|
41
|
-
$color-danger-mid: #cd0404;
|
|
42
|
-
$color-danger-dark: #ab0303;
|
|
43
|
-
$color-warning-light: #fff4e0;
|
|
44
|
-
$color-warning-base: #ffb61a;
|
|
45
|
-
$color-warning-mid: #e7a20d;
|
|
46
|
-
$color-warning-dark: #d18f00;
|
|
47
|
-
$color-warning-text: #bd4b00;
|
|
48
|
-
$color-subject-english: #f75050;
|
|
49
|
-
$color-subject-maths: #0f67f5;
|
|
50
|
-
$color-subject-science: #815fdd;
|
|
51
|
-
$color-subject-verbal-reasoning: #4fbf5e;
|
|
52
|
-
$color-subject-non-verbal-reasoning: #ffb61a;
|
|
53
|
-
$color-subject-creative-writing: #ff8c00;
|
|
54
|
-
$color-subject-exam-skills: #3306ac;
|
|
55
|
-
$font-families-sans: system-ui, -apple-system, 'Helvetica Neue', sans-serif;
|
|
56
|
-
$font-families-mono: 'SFMono-Regular', Consolas, Menlo, monospace;
|
|
57
|
-
$font-families-display: 'Space Grotesk', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
|
|
58
|
-
$font-families-body: 'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
|
|
59
|
-
|
|
60
|
-
$effects-shadows: (
|
|
61
|
-
0: (0 1px 3px rgba(51, 51, 51, 0.15), 0 1px 2px rgba(51, 51, 51, 0.2)),
|
|
62
|
-
1: (0 3px 6px rgba(51, 51, 51, 0.15), 0 3px 6px rgba(51, 51, 51, 0.2)),
|
|
63
|
-
2: (0 10px 20px rgba(51, 51, 51, 0.2), 0 6px 6px rgba(51, 51, 51, 0.25)),
|
|
64
|
-
3: (0 14px 28px rgba(51, 51, 51, 0.25), 0 10px 10px rgba(51, 51, 51, 0.2))
|
|
65
|
-
);
|
|
66
|
-
$size-font: (
|
|
67
|
-
xs: 12px,
|
|
68
|
-
sm: 14px,
|
|
69
|
-
md: 16px,
|
|
70
|
-
lg: 21px,
|
|
71
|
-
xl: 28px,
|
|
72
|
-
2xl: 37px,
|
|
73
|
-
3xl: 50px,
|
|
74
|
-
4xl: 90px
|
|
75
|
-
);
|
|
76
|
-
$size-space: (
|
|
77
|
-
0: 2px,
|
|
78
|
-
1: 4px,
|
|
79
|
-
2: 8px,
|
|
80
|
-
3: 12px,
|
|
81
|
-
4: 16px,
|
|
82
|
-
5: 24px,
|
|
83
|
-
6: 32px,
|
|
84
|
-
7: 40px,
|
|
85
|
-
8: 48px,
|
|
86
|
-
9: 64px,
|
|
87
|
-
10: 80px
|
|
88
|
-
);
|
|
89
|
-
$size-size: (
|
|
90
|
-
0: 8px,
|
|
91
|
-
1: 16px,
|
|
92
|
-
2: 24px,
|
|
93
|
-
3: 32px,
|
|
94
|
-
4: 40px,
|
|
95
|
-
5: 48px,
|
|
96
|
-
6: 64px,
|
|
97
|
-
7: 96px,
|
|
98
|
-
8: 128px
|
|
99
|
-
);
|
|
100
|
-
$size-radii: (
|
|
101
|
-
0: 4px,
|
|
102
|
-
1: 8px,
|
|
103
|
-
2: 12px,
|
|
104
|
-
3: 16px,
|
|
105
|
-
round: 1600px
|
|
106
|
-
);
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|