@symbo.ls/scratch 2.10.211 → 2.10.223

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.
@@ -21,8 +21,8 @@ __export(spacing_exports, {
21
21
  SPACING: () => SPACING
22
22
  });
23
23
  module.exports = __toCommonJS(spacing_exports);
24
- var import_sequence = require("./sequence");
25
- var import_typography = require("./typography");
24
+ var import_sequence = require("./sequence.js");
25
+ var import_typography = require("./typography.js");
26
26
  const defaultProps = {
27
27
  base: import_typography.TYPOGRAPHY.base,
28
28
  type: "spacing",
@@ -21,12 +21,12 @@ __export(timing_exports, {
21
21
  TIMING: () => TIMING
22
22
  });
23
23
  module.exports = __toCommonJS(timing_exports);
24
- var import__ = require(".");
24
+ var import_sequence = require("./sequence");
25
25
  const defaultProps = {
26
26
  default: 150,
27
27
  base: 150,
28
28
  type: "timing",
29
- ratio: import__.SEQUENCE["perfect-fourth"],
29
+ ratio: import_sequence.SEQUENCE["perfect-fourth"],
30
30
  range: [-3, 12],
31
31
  unit: "ms",
32
32
  sequence: {},
package/dist/cjs/set.js CHANGED
@@ -117,5 +117,6 @@ const set = (recivedConfig, options = SET_OPTIONS) => {
117
117
  (0, import_system.applyTimingSequence)();
118
118
  (0, import_system.applyDocument)();
119
119
  (0, import_system.applyReset)();
120
+ console.log(CONFIG.RESET);
120
121
  return CONFIG;
121
122
  };
@@ -46,7 +46,7 @@ const applyReset = (reset = {}) => {
46
46
  return (0, import_utils.deepMerge)((0, import_utils.merge)(RESET, reset), {
47
47
  html: {
48
48
  position: "absolute",
49
- overflow: "hidden",
49
+ // overflow: 'hidden',
50
50
  width: "100%",
51
51
  height: "100%",
52
52
  top: "0",
@@ -56,6 +56,7 @@ const applyReset = (reset = {}) => {
56
56
  transform: "translate3d(0, 0, 1px)",
57
57
  scrollBehavior: "smooth",
58
58
  fontSize: TYPOGRAPHY.browserDefault + "px",
59
+ ...CONFIG.useDocumentTheme ? (0, import__.getMediaTheme)("document", `@${CONFIG.globalTheme}`) : {},
59
60
  fontFamily: DOCUMENT.fontFamily,
60
61
  lineHeight: DOCUMENT.lineHeight
61
62
  },
@@ -65,7 +66,6 @@ const applyReset = (reset = {}) => {
65
66
  margin: 0,
66
67
  fontFamily: DOCUMENT.fontFamily,
67
68
  fontSize: TYPOGRAPHY.base / TYPOGRAPHY.browserDefault + CONFIG.UNIT.default,
68
- ...CONFIG.useDocumentTheme ? (0, import__.getMediaTheme)("document", `@${CONFIG.globalTheme}`) : {},
69
69
  ...templates,
70
70
  ...body
71
71
  },
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.10.211",
5
+ "version": "2.10.223",
6
6
  "files": [
7
7
  "src",
8
8
  "dist"
@@ -36,5 +36,5 @@
36
36
  "> 1%",
37
37
  "ie >= 9"
38
38
  ],
39
- "gitHead": "dce0b6a43e184536459c3f63a2417fa182117cdf"
39
+ "gitHead": "496c386dc0146a10c3b29c1e821598e4e3389aa8"
40
40
  }
@@ -1,7 +1,7 @@
1
1
  'use strict'
2
2
 
3
- import { SEQUENCE } from './sequence'
4
- import { TYPOGRAPHY } from './typography'
3
+ import { SEQUENCE } from './sequence.js'
4
+ import { TYPOGRAPHY } from './typography.js'
5
5
 
6
6
  const defaultProps = {
7
7
  base: TYPOGRAPHY.base,
@@ -1,6 +1,6 @@
1
1
  'use strict'
2
2
 
3
- import { SEQUENCE } from '.'
3
+ import { SEQUENCE } from './sequence'
4
4
 
5
5
  const defaultProps = {
6
6
  default: 150,
package/src/set.js CHANGED
@@ -117,6 +117,8 @@ export const set = (recivedConfig, options = SET_OPTIONS) => {
117
117
  applyDocument()
118
118
  applyReset()
119
119
 
120
+ console.log(CONFIG.RESET)
121
+
120
122
  return CONFIG
121
123
  }
122
124
 
@@ -29,7 +29,7 @@ export const applyReset = (reset = {}) => {
29
29
  return deepMerge(merge(RESET, reset), {
30
30
  html: {
31
31
  position: 'absolute',
32
- overflow: 'hidden',
32
+ // overflow: 'hidden',
33
33
  width: '100%',
34
34
  height: '100%',
35
35
  top: '0',
@@ -41,6 +41,8 @@ export const applyReset = (reset = {}) => {
41
41
 
42
42
  fontSize: TYPOGRAPHY.browserDefault + 'px',
43
43
 
44
+ ...(CONFIG.useDocumentTheme ? getMediaTheme('document', `@${CONFIG.globalTheme}`) : {}),
45
+
44
46
  fontFamily: DOCUMENT.fontFamily,
45
47
  lineHeight: DOCUMENT.lineHeight
46
48
  },
@@ -53,8 +55,6 @@ export const applyReset = (reset = {}) => {
53
55
 
54
56
  fontSize: TYPOGRAPHY.base / TYPOGRAPHY.browserDefault + CONFIG.UNIT.default,
55
57
 
56
- ...(CONFIG.useDocumentTheme ? getMediaTheme('document', `@${CONFIG.globalTheme}`) : {}),
57
-
58
58
  ...templates,
59
59
  ...body
60
60
  },