@symbo.ls/scratch 0.3.26 → 0.3.29
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 +1 -1
- package/src/factory.js +6 -2
- package/src/index.js +0 -4
- package/src/set.js +1 -5
- package/src/system/color.js +1 -1
- package/src/system/font.js +1 -1
- package/src/system/theme.js +1 -1
- package/src/utils/font.js +1 -1
package/package.json
CHANGED
package/src/factory.js
CHANGED
package/src/index.js
CHANGED
package/src/set.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict'
|
|
2
2
|
|
|
3
3
|
import { applyDocument, applySpacingSequence, applyTimingSequence, applyTypographySequence } from './config'
|
|
4
|
-
import CONFIG,
|
|
4
|
+
import { CONFIG, CSS_VARS } from './factory'
|
|
5
5
|
import { applyReset } from './reset'
|
|
6
6
|
import { setColor, setGradient, setFont, setFontFamily, setTheme } from './system'
|
|
7
7
|
import {
|
|
@@ -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
|
|
package/src/system/color.js
CHANGED
package/src/system/font.js
CHANGED
package/src/system/theme.js
CHANGED
package/src/utils/font.js
CHANGED