@symbo.ls/scratch 0.3.16 → 0.3.17

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": "Symbols",
5
- "version": "0.3.16",
5
+ "version": "0.3.17",
6
6
  "files": [
7
7
  "src"
8
8
  ],
@@ -0,0 +1,3 @@
1
+ 'use strict'
2
+
3
+ export const CASES = {}
@@ -17,3 +17,5 @@ export * from './icons'
17
17
  export * from './media'
18
18
 
19
19
  export * from './document'
20
+
21
+ export * from './cases'
@@ -104,7 +104,6 @@ const getThemeValue = theme => {
104
104
 
105
105
  export const getTheme = value => {
106
106
  const { THEME } = CONFIG
107
- // console.log('theme', THEME, CONFIG)
108
107
  if (isObjectLike(value) && value[1]) {
109
108
  const themeName = value[0]
110
109
  const subThemeName = value[1]
@@ -214,6 +213,10 @@ const setFontFamily = (val, key) => {
214
213
  return { var: CSSvar, value: str, arr: value, type }
215
214
  }
216
215
 
216
+ const setCases = (val, key) => {
217
+ return val()
218
+ }
219
+
217
220
  const setSameValue = (val, key) => val
218
221
 
219
222
  export const SETTERS = {
@@ -225,6 +228,7 @@ export const SETTERS = {
225
228
  typography: setSameValue,
226
229
  spacing: setSameValue,
227
230
  media: setSameValue,
231
+ cases: setCases,
228
232
  icons: setSameValue
229
233
  }
230
234