@atom-learning/theme 6.1.0 → 6.3.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/lib/themes.css CHANGED
@@ -1,4 +1,60 @@
1
1
  @layer theme {
2
+ .theme-atom-school-reports {
3
+ /* @deprecated Use the bg-page role (--background-color-page) */
4
+ --color-background: hsl(0, 0%, 98%);
5
+ /* @deprecated Use the bg-accent-subtle role (--background-color-accent-subtle) */
6
+ --color-background-accent: hsl(0, 0%, 96%);
7
+ --color-primary-100: hsl(215, 100%, 98%);
8
+ --color-primary-200: hsl(212, 100%, 95%);
9
+ --color-primary-300: hsl(211, 100%, 92%);
10
+ --color-primary-400: hsl(211, 100%, 88%);
11
+ --color-primary-500: hsl(212, 100%, 80%);
12
+ --color-primary-600: hsl(213, 100%, 71%);
13
+ --color-primary-700: hsl(214, 100%, 58%);
14
+ --color-primary-800: hsl(228, 82%, 35%);
15
+ --color-primary-900: hsl(228, 63%, 23%);
16
+ --color-primary-1000: hsl(227, 57%, 11%);
17
+ --color-primary-1100: hsl(228, 63%, 23%);
18
+ --color-primary-1200: hsl(227, 57%, 11%);
19
+ --text-xs: 0.625rem;
20
+ --text-sm: 0.75rem;
21
+ --text-md: 0.875rem;
22
+ --text-lg: 1rem;
23
+ --text-xl: 1.3125rem;
24
+ --text-2xl: 1.75rem;
25
+ --text-3xl: 2.3125rem;
26
+ --text-4xl: 3.125rem;
27
+ --font-display: 'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
28
+ --font-body: 'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
29
+ }
30
+ }
31
+
32
+ @layer theme {
33
+ [data-brand='school'],
34
+ .theme-atom-school {
35
+ /* @deprecated Use the bg-page role (--background-color-page) */
36
+ --color-background: hsl(0, 0%, 98%);
37
+ /* @deprecated Use the bg-accent-subtle role (--background-color-accent-subtle) */
38
+ --color-background-accent: hsl(0, 0%, 96%);
39
+ --color-primary-100: hsl(215, 100%, 98%);
40
+ --color-primary-200: hsl(212, 100%, 95%);
41
+ --color-primary-300: hsl(211, 100%, 92%);
42
+ --color-primary-400: hsl(211, 100%, 88%);
43
+ --color-primary-500: hsl(212, 100%, 80%);
44
+ --color-primary-600: hsl(213, 100%, 71%);
45
+ --color-primary-700: hsl(214, 100%, 58%);
46
+ --color-primary-800: hsl(228, 82%, 35%);
47
+ --color-primary-900: hsl(228, 63%, 23%);
48
+ --color-primary-1000: hsl(227, 57%, 11%);
49
+ --color-primary-1100: hsl(228, 63%, 23%);
50
+ --color-primary-1200: hsl(227, 57%, 11%);
51
+ --font-display: 'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
52
+ --font-body: 'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
53
+ }
54
+ }
55
+
56
+ @layer theme {
57
+ [data-brand='atom'],
2
58
  .theme-atom {
3
59
  --color-primary-100: hsl(215, 100%, 98%);
4
60
  --color-primary-200: hsl(212, 100%, 95%);
@@ -45,6 +101,7 @@
45
101
  }
46
102
 
47
103
  @layer theme {
104
+ [data-brand='quest'],
48
105
  .theme-quest {
49
106
  --color-primary-100: hsl(151, 70%, 96%);
50
107
  --color-primary-200: hsl(151, 62%, 92%);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@atom-learning/theme",
3
- "version": "6.1.0",
4
- "description": "Design tokens and assets for Atom Learning and Quest",
3
+ "version": "6.3.0-beta.0",
4
+ "description": "Design tokens and assets for Atom Learning, Atom School and Quest",
5
5
  "type": "module",
6
6
  "main": "lib/theme-base.js",
7
7
  "types": "lib/theme-base.d.ts",
@@ -59,9 +59,27 @@
59
59
  "style": "./lib/theme-quest-reports.css",
60
60
  "default": "./lib/theme-quest-reports.js"
61
61
  },
62
+ "./atom-school": {
63
+ "types": "./lib/theme-atom-school.d.ts",
64
+ "style": "./lib/theme-atom-school.css",
65
+ "default": "./lib/theme-atom-school.js"
66
+ },
67
+ "./atom-school-reports": {
68
+ "types": "./lib/theme-atom-school-reports.d.ts",
69
+ "style": "./lib/theme-atom-school-reports.css",
70
+ "default": "./lib/theme-atom-school-reports.js"
71
+ },
62
72
  "./themes": {
63
73
  "style": "./lib/themes.css"
64
74
  },
75
+ "./reports": {
76
+ "style": "./lib/reports.css"
77
+ },
78
+ "./roles": {
79
+ "types": "./lib/roles.d.ts",
80
+ "style": "./lib/roles.css",
81
+ "default": "./lib/roles.js"
82
+ },
65
83
  "./assets/fonts/national-2-condensed-bold.woff2": "./lib/assets/fonts/national-2-condensed-bold.woff2",
66
84
  "./assets/logos/atom/atom-home-light.svg": "./lib/assets/logos/atom/atom-home-light.svg",
67
85
  "./assets/logos/atom/atom-home-primary.svg": "./lib/assets/logos/atom/atom-home-primary.svg",
@@ -97,8 +115,17 @@
97
115
  "quest-reports": [
98
116
  "./lib/theme-quest-reports.d.ts"
99
117
  ],
118
+ "atom-school": [
119
+ "./lib/theme-atom-school.d.ts"
120
+ ],
121
+ "atom-school-reports": [
122
+ "./lib/theme-atom-school-reports.d.ts"
123
+ ],
100
124
  "media": [
101
125
  "./lib/media.d.ts"
126
+ ],
127
+ "roles": [
128
+ "./lib/roles.d.ts"
102
129
  ]
103
130
  }
104
131
  }