@symbo.ls/scratch 0.4.0 → 0.4.1

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.4.0",
5
+ "version": "0.4.1",
6
6
  "files": [
7
7
  "src"
8
8
  ],
@@ -65,7 +65,6 @@ export const getSpacingByKey = (val, property = 'padding', props, unit) => {
65
65
  if (!stack) return
66
66
 
67
67
  const length = stack.length
68
- console.log(stack)
69
68
 
70
69
  const wrapSequenceItem = (prop, i) => getSequenceValue({
71
70
  type,
@@ -80,6 +80,4 @@ export const getFontSizeByKey = val => getSequenceValue({
80
80
  prefix: '--font-size-'
81
81
  })
82
82
 
83
- console.log(defaultProps)
84
-
85
83
  export const TYPOGRAPHY = defaultProps
package/src/set.js CHANGED
@@ -85,7 +85,5 @@ export const set = recivedConfig => {
85
85
 
86
86
  return CONFIG
87
87
  }
88
- console.log(CONFIG.RESET)
89
- console.log(CSS_VARS)
90
88
 
91
89
  export * from './system'
@@ -88,7 +88,6 @@ const goThroughInteractiveStates = (theme, value) => {
88
88
 
89
89
  const setPrefersScheme = (theme, key, variant, themeValue) => {
90
90
  const result = getTheme(variant)
91
- // console.log(variant)
92
91
  themeValue[`@media (prefers-color-scheme: ${key})`] = result
93
92
  if (isObject(variant) && !variant.value) variant.value = result
94
93
  }
@@ -99,8 +98,6 @@ const goThroughVariants = (theme, value) => {
99
98
  const keys = Object.keys(variants)
100
99
  keys.map(key => {
101
100
  const variant = variants[key]
102
- // console.log('=========')
103
- // console.log(theme, key, variant, value)
104
101
  if (key === 'dark' || key === 'light') setPrefersScheme(theme, key, variant, value)
105
102
  if (key === 'inverse') setInverseTheme(theme, variant, value)
106
103
  return theme
package/src/utils/var.js CHANGED
@@ -21,7 +21,6 @@ export const setVariables = (result, key) => {
21
21
  export const applySequenceVars = (props, mediaName) => {
22
22
  const unit = props.unit || CONFIG.UNIT.default
23
23
  const { sequence, scales } = props
24
- console.log(props)
25
24
 
26
25
  for (const key in sequence) {
27
26
  const item = sequence[key]