@atom-learning/theme 6.0.0-beta.0 → 6.0.0-beta.2

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.
@@ -1,4 +1,4 @@
1
- module.exports = {
1
+ export default {
2
2
  "colors": {
3
3
  "textBold": "hsl(0, 0%, 12%)",
4
4
  "textRegular": "hsl(0, 0%, 20%)",
@@ -239,17 +239,7 @@ module.exports = {
239
239
  "primary1200": "hsl(150, 30%, 9%)"
240
240
  },
241
241
  "space": {
242
- "0": "0.125rem",
243
- "1": "0.25rem",
244
- "2": "0.5rem",
245
- "3": "0.75rem",
246
- "4": "1rem",
247
- "5": "2rem",
248
- "6": "2.5rem",
249
- "7": "3rem",
250
- "8": "4rem",
251
- "9": "5rem",
252
- "24": "1.5rem"
242
+ "base": "0.25rem"
253
243
  },
254
244
  "fontSizes": {
255
245
  "xs": "0.75rem",
@@ -267,35 +257,16 @@ module.exports = {
267
257
  "display": "'DM Sans', system-ui, -apple-system, 'Helvetica Neue', sans-serif",
268
258
  "body": "'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif"
269
259
  },
270
- "sizes": {
271
- "0": "0.5rem",
272
- "1": "1rem",
273
- "2": "1.5rem",
274
- "3": "2rem",
275
- "4": "2.5rem",
276
- "5": "3rem",
277
- "6": "4rem",
278
- "7": "6rem",
279
- "8": "8rem"
280
- },
281
260
  "radii": {
282
- "0": "0.25rem",
283
- "1": "0.5rem",
284
- "2": "0.75rem",
285
- "3": "1rem",
286
- "round": "100rem"
261
+ "sm": "0.25rem",
262
+ "md": "0.5rem",
263
+ "lg": "0.75rem",
264
+ "xl": "1rem"
287
265
  },
288
266
  "shadows": {
289
- "0": "0 1px 3px hsla(0, 0%, 20%, 0.1), 0 1px 2px hsla(0, 0%, 20%, 0.15)",
290
- "1": "0 3px 6px hsla(0, 0%, 20%, 0.1), 0 3px 6px hsla(0, 0%, 20%, 0.1)",
291
- "2": "0 10px 20px hsla(0, 0%, 20%, 0.1), 0 6px 6px hsla(0, 0%, 20%, 0.1)",
292
- "3": "0 14px 28px hsla(0, 0%, 20%, 0.15), 0 10px 10px hsla(0, 0%, 20%, 0.1)"
293
- },
294
- "ratios": {
295
- "16-9": "16/9",
296
- "3-2": "3/2",
297
- "4-3": "4/3",
298
- "1-1": "1/1",
299
- "3-4": "3/4"
267
+ "sm": "0 1px 3px hsla(0, 0%, 20%, 0.1), 0 1px 2px hsla(0, 0%, 20%, 0.15)",
268
+ "md": "0 3px 6px hsla(0, 0%, 20%, 0.1), 0 3px 6px hsla(0, 0%, 20%, 0.1)",
269
+ "lg": "0 10px 20px hsla(0, 0%, 20%, 0.1), 0 6px 6px hsla(0, 0%, 20%, 0.1)",
270
+ "xl": "0 14px 28px hsla(0, 0%, 20%, 0.15), 0 10px 10px hsla(0, 0%, 20%, 0.1)"
300
271
  }
301
272
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atom-learning/theme",
3
- "version": "6.0.0-beta.0",
3
+ "version": "6.0.0-beta.2",
4
4
  "description": "Design tokens and assets for Atom Learning and Quest",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -24,5 +24,19 @@
24
24
  "yargs": "^17.7.2"
25
25
  },
26
26
  "dependencies": {},
27
- "packageManager": "yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610"
27
+ "packageManager": "yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610",
28
+ "exports": {
29
+ "./quest": {
30
+ "types": "./lib/theme-quest.d.ts",
31
+ "default": "./lib/theme-quest.js"
32
+ },
33
+ "./atom": {
34
+ "types": "./lib/theme-atom.d.ts",
35
+ "default": "./lib/theme-atom.js"
36
+ },
37
+ "./quest-reports": {
38
+ "types": "./lib/theme-quest-reports.d.ts",
39
+ "default": "./lib/theme-quest-reports.js"
40
+ }
41
+ }
28
42
  }