@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/README.md
CHANGED
|
@@ -1 +1,69 @@
|
|
|
1
|
-
# theme
|
|
1
|
+
# theme
|
|
2
|
+
|
|
3
|
+
These repository contains the Atom Learning Design System tokens, like colours, sizes, spaces, font families and so on.
|
|
4
|
+
|
|
5
|
+
## How to add new tokens that are not part of the theme specification
|
|
6
|
+
|
|
7
|
+
If you need to add tokens that are not part of the [theme specification](https://github.com/system-ui/theme-specification#key-reference), follow the instruction below. You can also have a look at [this PR](https://github.com/Atom-Learning/theme/pull/25) where we did it for aspect ratios.
|
|
8
|
+
|
|
9
|
+
* In `system-ui-theme.js`, in `schema` add a new field as an empty object, like `ratios: {}`
|
|
10
|
+
* Also in `system-ui-theme.js`, in `matchSchema`, add a new field named `[category].[type]`, which value references the field you added to `schema` in the previous step. For example if the category is ratios, and the type is ratio, it would look like `'ratios.ratio': 'ratios`
|
|
11
|
+
* Depending on what you are adding you might have to add it to an existing .json file or create a new one. In our example, we created a new one `src/properties/ratios.json`, and added all our tokens there. The json structure is as follow
|
|
12
|
+
- first level: the `category` mentioned in the step above
|
|
13
|
+
- second level: the `type` mentioned in the step above
|
|
14
|
+
- third level: the token name, as you would use it with `$`, e.g.: `$16-9`
|
|
15
|
+
- fourth level: `value`, the value the token will be replaced by.
|
|
16
|
+
|
|
17
|
+
e.g.:
|
|
18
|
+
```json
|
|
19
|
+
{
|
|
20
|
+
"ratios": {
|
|
21
|
+
"ratio": {
|
|
22
|
+
"16-9": {
|
|
23
|
+
"value": "16/9"
|
|
24
|
+
},
|
|
25
|
+
"3-2": {
|
|
26
|
+
"value": "3/2"
|
|
27
|
+
},
|
|
28
|
+
"4-3": {
|
|
29
|
+
"value": "4/3"
|
|
30
|
+
},
|
|
31
|
+
"1-1": {
|
|
32
|
+
"value": "1/1"
|
|
33
|
+
},
|
|
34
|
+
"3-4": {
|
|
35
|
+
"value": "3/4"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
* In `style.config.js` add your new category (if you added a new category) to the filter of the formatter `'custom/format/scss-map-flat'`. So it's treated the same way than `'size'` and `'effects'`
|
|
43
|
+
|
|
44
|
+
* In `theme-map.js` add the (css property -> category) relation to `themeMap`, in this example, we added `aspectRatio: 'ratios'`. This `themeMap` config is exported and used by projects using our `theme` repo. It's used by `createStitches()` from `@stitches/react` so that we don't have to reference the `type`, so we can call the token like `'$16-9'` instead of `'$ratios$16-9'`
|
|
45
|
+
|
|
46
|
+
### How is `themeMap` used?
|
|
47
|
+
|
|
48
|
+
For example, in `components` repo we use it like this:
|
|
49
|
+
|
|
50
|
+
```
|
|
51
|
+
...
|
|
52
|
+
import { createStitches, defaultThemeMap } from '@stitches/react'
|
|
53
|
+
import { themeMap } from '@atom-learning/theme/theme-map'
|
|
54
|
+
|
|
55
|
+
...
|
|
56
|
+
|
|
57
|
+
const stitchesConfig = createStitches({
|
|
58
|
+
theme: atomTheme as Theme,
|
|
59
|
+
themeMap: {
|
|
60
|
+
...defaultThemeMap,
|
|
61
|
+
...themeMap
|
|
62
|
+
},
|
|
63
|
+
utils,
|
|
64
|
+
media
|
|
65
|
+
})
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
### Why/When do we need `themeMap`?
|
|
69
|
+
Some CSS properties are not included in the [defaultThemeMap](https://stitches.dev/docs/api#defaultthememap). If they are missing (e.g.: aspectRatio) you need to add them to our custom `themeMap` which we pass to stitches [themeMap](https://stitches.dev/docs/api#thememap) config
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="1000" height="306" fill="none"><path fill="#fff" d="M493.7 224.3c-6-7-6.4-9.7-6.4-16.8V59.7L407 73.6v6.3l12.7 16.5c5.6 7 6 10 6 17.2v84.1A35.5 35.5 0 0 1 396 215c-14.2 0-26.2-10.4-26.2-32.5V59.7l-80.4 13.8V80L302 96.3c5.6 7.1 6 10.1 6 17.2v79.3c0 44.9 29.2 64.4 59.5 64.4 27.3 0 44.5-13.5 58-34.4v34.8l81.6-11.6v-6.4l-13.5-15.3ZM677 184a52.7 52.7 0 0 1-49.4 31.3c-31.4 0-55-20.9-55.3-64h104.6c7.4 0 13.3-6.4 12.5-13.8-5-48.1-36.6-78.2-83.8-78.2-47.3 0-96.2 37.8-96.2 101.8 0 58.4 40.8 96.5 96.9 96.5 46.8 0 74.4-29.5 85.7-68.1l-15-5.6ZM604.8 81.3c16.5 0 25.1 13.8 25.1 27 0 13-7.5 19.8-23.5 19.8H573c2.2-28.8 14.6-46.8 31.8-46.8Zm192 49.1-8.3-3c-22.8-7.8-31.4-13.8-31.4-25.7 0-10.9 9-20.3 23.6-20.3 15.3 0 23.2 5.3 35.6 18l20.5 22.4h6.8l-2.2-52.4a205.9 205.9 0 0 0-58.8-9.7c-42.6 0-73.3 23.6-73.3 63.6 0 31 21 47.6 48.6 58l8.6 3.4c27.4 10.1 36 15.7 36 28.8 0 12.4-9.4 22.1-25.1 22.1-14.6 0-24-3.8-39-20.2L714.3 188h-6.8l2.2 58a221 221 0 0 0 65.9 11.2c41.9 0 76.3-22 76.3-66.6 0-33-21-48.7-55-60.3Zm193 75.3a26.7 26.7 0 0 1-23.5 11.5c-13 0-22.8-7-22.4-25l.3-104h51.6v-24h-51.6V11.4h-7l-76.8 70.4V88h23.2l-1.1 110.4c-.4 41.9 27.3 59.1 57.2 59.1 26.2 0 48.7-12.4 60.3-46l-10.1-6ZM190.6 7.8A156 156 0 0 0 141 0C61 0 0 58.4 0 137l.1 5.6c.1 2.4.2 4.8.5 7.2 4 50.9 32 91 73.4 111.3l3.4 1.6a151 151 0 0 0 61.8 12.9 154 154 0 0 0 57.3-10.7 134.2 134.2 0 0 0 71.3-69 143.3 143.3 0 0 0 12.3-48 153.8 153.8 0 0 0 .5-12.7c0-61.4-36-109.3-90-127.3ZM203 141.7v.1c0 2.4 0 4.7-.2 6.9-2.5 52.5-24.8 83.9-61.1 84h-.4c-40.6 0-61.2-33.8-63.7-87l-.2-5.3v-5.8c0-46.1 14.6-77.8 41-88.2l2.4-.8a56.4 56.4 0 0 1 18.3-2.9c43 0 64 37.8 64 95.8v3.3-.1Z"/><path fill="#fff" d="M308.3 258 250 217.3a133.5 133.5 0 0 1-32.2 51l33.5 37.1 57-47.4Z"/></svg>
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="1000" height="306" fill="none"><path fill="#162D22" d="M493.7 224.3c-6-7-6.4-9.7-6.4-16.8V59.7L407 73.6v6.3l12.7 16.5c5.6 7 6 10 6 17.2v84.1A35.5 35.5 0 0 1 396 215c-14.2 0-26.2-10.4-26.2-32.5V59.7l-80.4 13.8V80L302 96.3c5.6 7.1 6 10.1 6 17.2v79.3c0 44.9 29.2 64.4 59.5 64.4 27.3 0 44.5-13.5 58-34.4v34.8l81.6-11.6v-6.4l-13.5-15.3ZM677 184a52.7 52.7 0 0 1-49.4 31.3c-31.4 0-55-20.9-55.3-64h104.6c7.4 0 13.3-6.4 12.5-13.8-5-48.1-36.6-78.2-83.8-78.2-47.3 0-96.2 37.8-96.2 101.8 0 58.4 40.8 96.5 96.9 96.5 46.8 0 74.4-29.5 85.7-68.1l-15-5.6ZM604.8 81.3c16.5 0 25.1 13.8 25.1 27 0 13-7.5 19.8-23.5 19.8H573c2.2-28.8 14.6-46.8 31.8-46.8Zm192 49.1-8.3-3c-22.8-7.8-31.4-13.8-31.4-25.7 0-10.9 9-20.3 23.6-20.3 15.3 0 23.2 5.3 35.6 18l20.5 22.4h6.8l-2.2-52.4a205.9 205.9 0 0 0-58.8-9.7c-42.6 0-73.3 23.6-73.3 63.6 0 31 21 47.6 48.6 58l8.6 3.4c27.4 10.1 36 15.7 36 28.8 0 12.4-9.4 22.1-25.1 22.1-14.6 0-24-3.8-39-20.2L714.3 188h-6.8l2.2 58a221 221 0 0 0 65.9 11.2c41.9 0 76.3-22 76.3-66.6 0-33-21-48.7-55-60.3Zm193 75.3a26.7 26.7 0 0 1-23.5 11.5c-13 0-22.8-7-22.4-25l.3-104h51.6v-24h-51.6V11.4h-7l-76.8 70.4V88h23.2l-1.1 110.4c-.4 41.9 27.3 59.1 57.2 59.1 26.2 0 48.7-12.4 60.3-46l-10.1-6ZM190.6 7.8A156 156 0 0 0 141 0C61 0 0 58.4 0 137l.1 5.6c.1 2.4.2 4.8.5 7.2 4 50.9 32 91 73.4 111.3l3.4 1.6a151 151 0 0 0 61.8 12.9 154 154 0 0 0 57.3-10.7 134.2 134.2 0 0 0 71.3-69 143.3 143.3 0 0 0 12.3-48 153.8 153.8 0 0 0 .5-12.7c0-61.4-36-109.3-90-127.3ZM203 141.7v.1c0 2.4 0 4.7-.2 6.9-2.5 52.5-24.8 83.9-61.1 84h-.4c-40.6 0-61.2-33.8-63.7-87l-.2-5.3v-5.8c0-46.1 14.6-77.8 41-88.2l2.4-.8a56.4 56.4 0 0 1 18.3-2.9c43 0 64 37.8 64 95.8v3.3-.1Z"/><path fill="#162D22" d="M308.3 258 250 217.3a133.5 133.5 0 0 1-32.2 51l33.5 37.1 57-47.4Z"/></svg>
|
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
export type Theme = {
|
|
2
|
+
"colors": {
|
|
3
|
+
"textForeground": string
|
|
4
|
+
"textSubtle": string
|
|
5
|
+
"textPlaceholder": string
|
|
6
|
+
"background": string
|
|
7
|
+
"backgroundAccent": string
|
|
8
|
+
"grey100": string
|
|
9
|
+
"grey200": string
|
|
10
|
+
"grey300": string
|
|
11
|
+
"grey400": string
|
|
12
|
+
"grey500": string
|
|
13
|
+
"grey600": string
|
|
14
|
+
"grey700": string
|
|
15
|
+
"grey800": string
|
|
16
|
+
"grey900": string
|
|
17
|
+
"grey1000": string
|
|
18
|
+
"grey1100": string
|
|
19
|
+
"grey1200": string
|
|
20
|
+
"blue100": string
|
|
21
|
+
"blue200": string
|
|
22
|
+
"blue300": string
|
|
23
|
+
"blue400": string
|
|
24
|
+
"blue500": string
|
|
25
|
+
"blue600": string
|
|
26
|
+
"blue700": string
|
|
27
|
+
"blue800": string
|
|
28
|
+
"blue900": string
|
|
29
|
+
"blue1000": string
|
|
30
|
+
"blue1100": string
|
|
31
|
+
"blue1200": string
|
|
32
|
+
"purple100": string
|
|
33
|
+
"purple200": string
|
|
34
|
+
"purple300": string
|
|
35
|
+
"purple400": string
|
|
36
|
+
"purple500": string
|
|
37
|
+
"purple600": string
|
|
38
|
+
"purple700": string
|
|
39
|
+
"purple800": string
|
|
40
|
+
"purple900": string
|
|
41
|
+
"purple1000": string
|
|
42
|
+
"purple1100": string
|
|
43
|
+
"purple1200": string
|
|
44
|
+
"cyan100": string
|
|
45
|
+
"cyan200": string
|
|
46
|
+
"cyan300": string
|
|
47
|
+
"cyan400": string
|
|
48
|
+
"cyan500": string
|
|
49
|
+
"cyan600": string
|
|
50
|
+
"cyan700": string
|
|
51
|
+
"cyan800": string
|
|
52
|
+
"cyan900": string
|
|
53
|
+
"cyan1000": string
|
|
54
|
+
"cyan1100": string
|
|
55
|
+
"cyan1200": string
|
|
56
|
+
"green100": string
|
|
57
|
+
"green200": string
|
|
58
|
+
"green300": string
|
|
59
|
+
"green400": string
|
|
60
|
+
"green500": string
|
|
61
|
+
"green600": string
|
|
62
|
+
"green700": string
|
|
63
|
+
"green800": string
|
|
64
|
+
"green900": string
|
|
65
|
+
"green1000": string
|
|
66
|
+
"green1100": string
|
|
67
|
+
"green1200": string
|
|
68
|
+
"magenta100": string
|
|
69
|
+
"magenta200": string
|
|
70
|
+
"magenta300": string
|
|
71
|
+
"magenta400": string
|
|
72
|
+
"magenta500": string
|
|
73
|
+
"magenta600": string
|
|
74
|
+
"magenta700": string
|
|
75
|
+
"magenta800": string
|
|
76
|
+
"magenta900": string
|
|
77
|
+
"magenta1000": string
|
|
78
|
+
"magenta1100": string
|
|
79
|
+
"magenta1200": string
|
|
80
|
+
"red100": string
|
|
81
|
+
"red200": string
|
|
82
|
+
"red300": string
|
|
83
|
+
"red400": string
|
|
84
|
+
"red500": string
|
|
85
|
+
"red600": string
|
|
86
|
+
"red700": string
|
|
87
|
+
"red800": string
|
|
88
|
+
"red900": string
|
|
89
|
+
"red1000": string
|
|
90
|
+
"red1100": string
|
|
91
|
+
"red1200": string
|
|
92
|
+
"teal100": string
|
|
93
|
+
"teal200": string
|
|
94
|
+
"teal300": string
|
|
95
|
+
"teal400": string
|
|
96
|
+
"teal500": string
|
|
97
|
+
"teal600": string
|
|
98
|
+
"teal700": string
|
|
99
|
+
"teal800": string
|
|
100
|
+
"teal900": string
|
|
101
|
+
"teal1000": string
|
|
102
|
+
"teal1100": string
|
|
103
|
+
"teal1200": string
|
|
104
|
+
"orange100": string
|
|
105
|
+
"orange200": string
|
|
106
|
+
"orange300": string
|
|
107
|
+
"orange400": string
|
|
108
|
+
"orange500": string
|
|
109
|
+
"orange600": string
|
|
110
|
+
"orange700": string
|
|
111
|
+
"orange800": string
|
|
112
|
+
"orange900": string
|
|
113
|
+
"orange1000": string
|
|
114
|
+
"orange1100": string
|
|
115
|
+
"orange1200": string
|
|
116
|
+
"yellow100": string
|
|
117
|
+
"yellow200": string
|
|
118
|
+
"yellow300": string
|
|
119
|
+
"yellow400": string
|
|
120
|
+
"yellow500": string
|
|
121
|
+
"yellow600": string
|
|
122
|
+
"yellow700": string
|
|
123
|
+
"yellow800": string
|
|
124
|
+
"yellow900": string
|
|
125
|
+
"yellow1000": string
|
|
126
|
+
"yellow1100": string
|
|
127
|
+
"yellow1200": string
|
|
128
|
+
"lime100": string
|
|
129
|
+
"lime200": string
|
|
130
|
+
"lime300": string
|
|
131
|
+
"lime400": string
|
|
132
|
+
"lime500": string
|
|
133
|
+
"lime600": string
|
|
134
|
+
"lime700": string
|
|
135
|
+
"lime800": string
|
|
136
|
+
"lime900": string
|
|
137
|
+
"lime1000": string
|
|
138
|
+
"lime1100": string
|
|
139
|
+
"lime1200": string
|
|
140
|
+
"tonal50": string
|
|
141
|
+
"tonal100": string
|
|
142
|
+
"tonal200": string
|
|
143
|
+
"tonal300": string
|
|
144
|
+
"tonal400": string
|
|
145
|
+
"tonal500": string
|
|
146
|
+
"tonal600": string
|
|
147
|
+
"alpha100": string
|
|
148
|
+
"alpha150": string
|
|
149
|
+
"alpha200": string
|
|
150
|
+
"alpha250": string
|
|
151
|
+
"alpha600": string
|
|
152
|
+
"brandRed": string
|
|
153
|
+
"brandRedAccent": string
|
|
154
|
+
"brandGreen": string
|
|
155
|
+
"brandGreenAccent": string
|
|
156
|
+
"brandPurple": string
|
|
157
|
+
"brandPurpleAccent": string
|
|
158
|
+
"brandYellow": string
|
|
159
|
+
"brandYellowAccent": string
|
|
160
|
+
"infoLight": string
|
|
161
|
+
"info": string
|
|
162
|
+
"infoMid": string
|
|
163
|
+
"infoDark": string
|
|
164
|
+
"successLight": string
|
|
165
|
+
"success": string
|
|
166
|
+
"successMid": string
|
|
167
|
+
"successDark": string
|
|
168
|
+
"dangerLight": string
|
|
169
|
+
"danger": string
|
|
170
|
+
"dangerMid": string
|
|
171
|
+
"dangerDark": string
|
|
172
|
+
"warningLight": string
|
|
173
|
+
"warning": string
|
|
174
|
+
"warningMid": string
|
|
175
|
+
"warningDark": string
|
|
176
|
+
"warningText": string
|
|
177
|
+
"subjectEnglish": string
|
|
178
|
+
"subjectMaths": string
|
|
179
|
+
"subjectScience": string
|
|
180
|
+
"subjectVerbalReasoning": string
|
|
181
|
+
"subjectNonVerbalReasoning": string
|
|
182
|
+
"subjectCreativeWriting": string
|
|
183
|
+
"subjectExamSkills": string
|
|
184
|
+
"glBlueLight": string
|
|
185
|
+
"glBluePrimary": string
|
|
186
|
+
"glBlueDark": string
|
|
187
|
+
"primary100": string
|
|
188
|
+
"primary200": string
|
|
189
|
+
"primary300": string
|
|
190
|
+
"primary400": string
|
|
191
|
+
"primary500": string
|
|
192
|
+
"primary600": string
|
|
193
|
+
"primary700": string
|
|
194
|
+
"primary800": string
|
|
195
|
+
"primary900": string
|
|
196
|
+
"primary1000": string
|
|
197
|
+
"primary1100": string
|
|
198
|
+
"primary1200": string
|
|
199
|
+
},
|
|
200
|
+
"space": {
|
|
201
|
+
"0": string
|
|
202
|
+
"1": string
|
|
203
|
+
"2": string
|
|
204
|
+
"3": string
|
|
205
|
+
"4": string
|
|
206
|
+
"5": string
|
|
207
|
+
"6": string
|
|
208
|
+
"7": string
|
|
209
|
+
"8": string
|
|
210
|
+
"9": string
|
|
211
|
+
"24": string
|
|
212
|
+
},
|
|
213
|
+
"fontSizes": {
|
|
214
|
+
"xs": string
|
|
215
|
+
"sm": string
|
|
216
|
+
"md": string
|
|
217
|
+
"lg": string
|
|
218
|
+
"xl": string
|
|
219
|
+
"2xl": string
|
|
220
|
+
"3xl": string
|
|
221
|
+
"4xl": string
|
|
222
|
+
},
|
|
223
|
+
"fonts": {
|
|
224
|
+
"sans": string
|
|
225
|
+
"mono": string
|
|
226
|
+
"display": string
|
|
227
|
+
"body": string
|
|
228
|
+
},
|
|
229
|
+
"sizes": {
|
|
230
|
+
"0": string
|
|
231
|
+
"1": string
|
|
232
|
+
"2": string
|
|
233
|
+
"3": string
|
|
234
|
+
"4": string
|
|
235
|
+
"5": string
|
|
236
|
+
"6": string
|
|
237
|
+
"7": string
|
|
238
|
+
"8": string
|
|
239
|
+
},
|
|
240
|
+
"radii": {
|
|
241
|
+
"0": string
|
|
242
|
+
"1": string
|
|
243
|
+
"2": string
|
|
244
|
+
"3": string
|
|
245
|
+
"round": string
|
|
246
|
+
},
|
|
247
|
+
"shadows": {
|
|
248
|
+
"0": string
|
|
249
|
+
"1": string
|
|
250
|
+
"2": string
|
|
251
|
+
"3": string
|
|
252
|
+
},
|
|
253
|
+
"ratios": {
|
|
254
|
+
"16-9": string
|
|
255
|
+
"3-2": string
|
|
256
|
+
"4-3": string
|
|
257
|
+
"1-1": string
|
|
258
|
+
"3-4": string
|
|
259
|
+
}
|
|
260
|
+
}
|
|
@@ -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(215, 100%, 98%)",
|
|
188
|
+
"primary200": "hsl(212, 100%, 95%)",
|
|
189
|
+
"primary300": "hsl(211, 100%, 92%)",
|
|
190
|
+
"primary400": "hsl(211, 100%, 88%)",
|
|
191
|
+
"primary500": "hsl(212, 100%, 80%)",
|
|
192
|
+
"primary600": "hsl(213, 100%, 71%)",
|
|
193
|
+
"primary700": "hsl(214, 100%, 58%)",
|
|
194
|
+
"primary800": "hsl(217, 92%, 51%)",
|
|
195
|
+
"primary900": "hsl(223, 78%, 44%)",
|
|
196
|
+
"primary1000": "hsl(228, 82%, 35%)",
|
|
197
|
+
"primary1100": "hsl(228, 63%, 23%)",
|
|
198
|
+
"primary1200": "hsl(227, 57%, 11%)"
|
|
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": "'Space Grotesk', system-ui, -apple-system, 'Helvetica Neue', sans-serif",
|
|
227
|
+
"body": "'Inter', 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
|
+
}
|