@atom-learning/theme 6.0.0-beta.7 → 6.0.0-beta.8

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.
Files changed (2) hide show
  1. package/lib/themes.css +64 -0
  2. package/package.json +4 -1
package/lib/themes.css ADDED
@@ -0,0 +1,64 @@
1
+ @layer theme {
2
+ .theme-atom {
3
+ --color-primary-100: hsl(215, 100%, 98%);
4
+ --color-primary-200: hsl(212, 100%, 95%);
5
+ --color-primary-300: hsl(211, 100%, 92%);
6
+ --color-primary-400: hsl(211, 100%, 88%);
7
+ --color-primary-500: hsl(212, 100%, 80%);
8
+ --color-primary-600: hsl(213, 100%, 71%);
9
+ --color-primary-700: hsl(214, 100%, 58%);
10
+ --color-primary-800: hsl(217, 92%, 51%);
11
+ --color-primary-900: hsl(223, 79%, 44%);
12
+ --color-primary-1000: hsl(228, 82%, 35%);
13
+ --color-primary-1100: hsl(228, 63%, 23%);
14
+ --color-primary-1200: hsl(227, 57%, 11%);
15
+ --font-display: 'National 2 Condensed', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
16
+ --font-body: 'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
17
+ }
18
+ }
19
+
20
+ @layer theme {
21
+ .theme-quest-reports {
22
+ --color-primary-100: hsl(151, 70%, 96%);
23
+ --color-primary-200: hsl(151, 62%, 92%);
24
+ --color-primary-300: hsl(151, 53%, 83%);
25
+ --color-primary-400: hsl(151, 50%, 75%);
26
+ --color-primary-500: hsl(151, 46%, 64%);
27
+ --color-primary-600: hsl(158, 42%, 49%);
28
+ --color-primary-700: hsl(162, 51%, 35%);
29
+ --color-primary-800: hsl(162, 69%, 28%);
30
+ --color-primary-900: hsl(164, 100%, 15%);
31
+ --color-primary-1000: hsl(164, 100%, 13%);
32
+ --color-primary-1100: hsl(150, 34%, 15%);
33
+ --color-primary-1200: hsl(150, 30%, 9%);
34
+ --text-xs: 0.625rem;
35
+ --text-sm: 0.75rem;
36
+ --text-md: 0.875rem;
37
+ --text-lg: 1rem;
38
+ --text-xl: 1.3125rem;
39
+ --text-2xl: 1.75rem;
40
+ --text-3xl: 2.3125rem;
41
+ --text-4xl: 3.125rem;
42
+ --font-display: 'DM Sans', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
43
+ --font-body: 'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
44
+ }
45
+ }
46
+
47
+ @layer theme {
48
+ .theme-quest {
49
+ --color-primary-100: hsl(151, 70%, 96%);
50
+ --color-primary-200: hsl(151, 62%, 92%);
51
+ --color-primary-300: hsl(151, 53%, 83%);
52
+ --color-primary-400: hsl(151, 50%, 75%);
53
+ --color-primary-500: hsl(151, 46%, 64%);
54
+ --color-primary-600: hsl(158, 42%, 49%);
55
+ --color-primary-700: hsl(162, 51%, 35%);
56
+ --color-primary-800: hsl(162, 69%, 28%);
57
+ --color-primary-900: hsl(164, 100%, 15%);
58
+ --color-primary-1000: hsl(164, 100%, 13%);
59
+ --color-primary-1100: hsl(150, 34%, 15%);
60
+ --color-primary-1200: hsl(150, 30%, 9%);
61
+ --font-display: 'DM Sans', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
62
+ --font-body: 'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
63
+ }
64
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atom-learning/theme",
3
- "version": "6.0.0-beta.7",
3
+ "version": "6.0.0-beta.8",
4
4
  "description": "Design tokens and assets for Atom Learning and Quest",
5
5
  "type": "module",
6
6
  "main": "lib/theme-base.js",
@@ -56,6 +56,9 @@
56
56
  "style": "./lib/theme-quest-reports.css",
57
57
  "default": "./lib/theme-quest-reports.js"
58
58
  },
59
+ "./themes": {
60
+ "style": "./lib/themes.css"
61
+ },
59
62
  "./assets/fonts/national-2-condensed-bold.woff2": "./lib/assets/fonts/national-2-condensed-bold.woff2",
60
63
  "./assets/logos/atom/atom-home-light.svg": "./lib/assets/logos/atom/atom-home-light.svg",
61
64
  "./assets/logos/atom/atom-home-primary.svg": "./lib/assets/logos/atom/atom-home-primary.svg",