@symbo.ls/scratch 0.3.27 → 0.3.28

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": "0.3.27",
5
+ "version": "0.3.28",
6
6
  "files": [
7
7
  "src"
8
8
  ],
package/src/factory.js CHANGED
@@ -1,6 +1,10 @@
1
1
  'use strict'
2
2
 
3
3
  import * as CONFIG from './config'
4
-
5
4
  export const CSS_VARS = {}
5
+
6
+ CONFIG.verbose = false
7
+ CONFIG.useVariable = false
8
+ CONFIG.var = CSS_VARS
9
+
6
10
  export { CONFIG }
package/src/set.js CHANGED
@@ -67,11 +67,8 @@ export const setEach = (factoryName, props) => {
67
67
  export const set = recivedConfig => {
68
68
  const { version, verbose, useVariable, ...config } = recivedConfig
69
69
 
70
- // console.log('=========')
71
- // console.log(verbose)
72
70
  CONFIG.verbose = verbose
73
71
  CONFIG.useVariable = useVariable
74
- // console.log(recivedConfig)
75
72
  if ((ENV === 'test' || ENV === 'development') && CONFIG.verbose) console.log(CONFIG)
76
73
 
77
74
  const keys = Object.keys(config)
@@ -84,7 +81,6 @@ export const set = recivedConfig => {
84
81
  applyDocument()
85
82
  applyReset()
86
83
 
87
- CONFIG.VARS = CSS_VARS
88
84
  return CONFIG
89
85
  }
90
86