@atom-learning/theme 1.0.1 → 1.1.1

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/lib/index.d.ts CHANGED
@@ -42,6 +42,7 @@ export type Theme = {
42
42
  "warning": string
43
43
  "warningMid": string
44
44
  "warningDark": string
45
+ "warningText": string
45
46
  "subjectEnglish": string
46
47
  "subjectMaths": string
47
48
  "subjectScience": string
package/lib/index.js CHANGED
@@ -18,7 +18,7 @@ module.exports = {
18
18
  "alpha250": "hsla(0, 0%, 20%, 0.25)",
19
19
  "alpha600": "hsla(0, 0%, 20%, 0.6)",
20
20
  "primaryLight": "hsl(217, 92%, 97%)",
21
- "primary": "hsl(217, 92%, 54%)",
21
+ "primary": "hsl(217, 92%, 51%)",
22
22
  "primaryMid": "hsl(223, 78%, 45%)",
23
23
  "primaryDark": "hsl(228, 82%, 35%)",
24
24
  "secondary": "hsl(204, 100%, 72%)",
@@ -42,8 +42,9 @@ module.exports = {
42
42
  "warning": "hsl(41, 100%, 55%)",
43
43
  "warningMid": "hsl(41, 89%, 48%)",
44
44
  "warningDark": "hsl(41, 100%, 41%)",
45
+ "warningText": "hsl(24, 100%, 37%)",
45
46
  "subjectEnglish": "hsl(0, 91%, 64%)",
46
- "subjectMaths": "hsl(217, 92%, 54%)",
47
+ "subjectMaths": "hsl(217, 92%, 51%)",
47
48
  "subjectScience": "hsl(256, 65%, 62%)",
48
49
  "subjectVerbalReasoning": "hsl(128, 47%, 53%)",
49
50
  "subjectNonVerbalReasoning": "hsl(41, 100%, 55%)",
@@ -97,9 +98,9 @@ module.exports = {
97
98
  "round": "100rem"
98
99
  },
99
100
  "shadows": {
100
- "0": "0 1px 3px hsla(0, 0%, 20%, 0.15), 0 1px 2px hsla(0, 0%, 20%, 0.2)",
101
- "1": "0 3px 6px hsla(0, 0%, 20%, 0.15), 0 3px 6px hsla(0, 0%, 20%, 0.2)",
102
- "2": "0 10px 20px hsla(0, 0%, 20%, 0.2), 0 6px 6px hsla(0, 0%, 20%, 0.25)",
103
- "3": "0 14px 28px hsla(0, 0%, 20%, 0.25), 0 10px 10px hsla(0, 0%, 20%, 0.2)"
101
+ "0": "0 1px 3px hsla(0, 0%, 20%, 0.1), 0 1px 2px hsla(0, 0%, 20%, 0.15)",
102
+ "1": "0 3px 6px hsla(0, 0%, 20%, 0.1), 0 3px 6px hsla(0, 0%, 20%, 0.1)",
103
+ "2": "0 10px 20px hsla(0, 0%, 20%, 0.1), 0 6px 6px hsla(0, 0%, 20%, 0.1)",
104
+ "3": "0 14px 28px hsla(0, 0%, 20%, 0.15), 0 10px 10px hsla(0, 0%, 20%, 0.1)"
104
105
  }
105
106
  }
package/lib/index.scss CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Tue, 30 Nov 2021 11:41:11 GMT
3
+ // Generated on Fri, 02 Dec 2022 10:17:40 GMT
4
4
 
5
5
  $color-text-foreground: #1f1f1f;
6
6
  $color-text-subtle: #545454;
@@ -20,7 +20,7 @@ $color-alpha-200: rgba(51, 51, 51, 0.2);
20
20
  $color-alpha-250: rgba(51, 51, 51, 0.25);
21
21
  $color-alpha-600: rgba(51, 51, 51, 0.6);
22
22
  $color-primary-light: #f0f6fe;
23
- $color-primary-base: #1e71f6;
23
+ $color-primary-base: #0f67f5;
24
24
  $color-primary-mid: #194ccc;
25
25
  $color-primary-dark: #102da2;
26
26
  $color-secondary: #70c6ff;
@@ -44,8 +44,9 @@ $color-warning-light: #fff4e0;
44
44
  $color-warning-base: #ffb61a;
45
45
  $color-warning-mid: #e7a20d;
46
46
  $color-warning-dark: #d18f00;
47
+ $color-warning-text: #bd4b00;
47
48
  $color-subject-english: #f75050;
48
- $color-subject-maths: #1e71f6;
49
+ $color-subject-maths: #0f67f5;
49
50
  $color-subject-science: #815fdd;
50
51
  $color-subject-verbal-reasoning: #4fbf5e;
51
52
  $color-subject-non-verbal-reasoning: #ffb61a;
@@ -57,10 +58,10 @@ $font-families-display: 'Space Grotesk', system-ui, -apple-system, 'Helvetica Ne
57
58
  $font-families-body: 'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
58
59
 
59
60
  $effects-shadows: (
60
- 0: (0 1px 3px rgba(51, 51, 51, 0.15), 0 1px 2px rgba(51, 51, 51, 0.2)),
61
- 1: (0 3px 6px rgba(51, 51, 51, 0.15), 0 3px 6px rgba(51, 51, 51, 0.2)),
62
- 2: (0 10px 20px rgba(51, 51, 51, 0.2), 0 6px 6px rgba(51, 51, 51, 0.25)),
63
- 3: (0 14px 28px rgba(51, 51, 51, 0.25), 0 10px 10px rgba(51, 51, 51, 0.2))
61
+ 0: (0 1px 3px rgba(51, 51, 51, 0.1), 0 1px 2px rgba(51, 51, 51, 0.15)),
62
+ 1: (0 3px 6px rgba(51, 51, 51, 0.1), 0 3px 6px rgba(51, 51, 51, 0.1)),
63
+ 2: (0 10px 20px rgba(51, 51, 51, 0.1), 0 6px 6px rgba(51, 51, 51, 0.1)),
64
+ 3: (0 14px 28px rgba(51, 51, 51, 0.15), 0 10px 10px rgba(51, 51, 51, 0.1))
64
65
  );
65
66
  $size-font: (
66
67
  xs: 12px,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atom-learning/theme",
3
- "version": "1.0.1",
3
+ "version": "1.1.1",
4
4
  "description": "Design tokens and assets for Atom Learning",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",