@symbo.ls/scratch 2.6.1 → 2.6.9

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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@symbo.ls/scratch",
3
3
  "description": "Φ / CSS framework and methodology.",
4
4
  "author": "symbo.ls",
5
- "version": "2.6.1",
5
+ "version": "2.6.9",
6
6
  "files": [
7
7
  "src"
8
8
  ],
@@ -12,7 +12,6 @@ export const applyReset = (reset = {}) => {
12
12
  const configReset = RESET
13
13
  const configStyles = TYPOGRAPHY.styles
14
14
 
15
- configReset[':root'] = CSS_VARS
16
15
  configReset.body = {
17
16
  ...getMediaTheme('document', `@${CONFIG.globalTheme}`),
18
17
  ...configStyles.body
@@ -25,9 +24,9 @@ export const applyReset = (reset = {}) => {
25
24
  configReset.h6 = configStyles.h6
26
25
  }
27
26
 
28
- return deepMerge(merge(RESET, reset), {
29
- ':root': CSS_VARS,
27
+ const { body, ...styles } = TYPOGRAPHY.styles
30
28
 
29
+ return deepMerge(merge(RESET, reset), {
31
30
  html: {
32
31
  position: 'absolute',
33
32
  overflow: 'hidden',
@@ -46,8 +45,6 @@ export const applyReset = (reset = {}) => {
46
45
  lineHeight: DOCUMENT.lineHeight
47
46
  },
48
47
 
49
- ...TYPOGRAPHY.styles,
50
-
51
48
  body: {
52
49
  boxSizing: 'border-box',
53
50
  height: '100%',
@@ -58,7 +55,8 @@ export const applyReset = (reset = {}) => {
58
55
 
59
56
  ...getMediaTheme('document', `@${CONFIG.globalTheme}`),
60
57
 
61
- ...TYPOGRAPHY.styles.body
58
+ ...styles,
59
+ ...body
62
60
  },
63
61
 
64
62
  // form elements