@symbo.ls/scratch 0.3.15 → 0.3.16

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.15",
5
+ "version": "0.3.16",
6
6
  "files": [
7
7
  "src"
8
8
  ],
@@ -0,0 +1,3 @@
1
+ 'use strict'
2
+
3
+ export const ICONS = {}
@@ -12,6 +12,8 @@ export * from './spacing'
12
12
  export * from './color'
13
13
  export * from './theme'
14
14
 
15
- export * from './responsive'
15
+ export * from './icons'
16
+
17
+ export * from './media'
16
18
 
17
19
  export * from './document'
@@ -0,0 +1,15 @@
1
+ 'use strict'
2
+
3
+ export const MEDIA = {
4
+ screenL: '(max-width: 1920px)',
5
+ screenD: '(max-width: 1680px)',
6
+ screenS: '(max-width: 1440px)',
7
+ tabletL: '(max-width: 1366px)',
8
+ tabletM: '(max-width: 1280px)',
9
+ tabletS: '(max-width: 1024px)',
10
+ mobileL: '(max-width: 768px)',
11
+ mobileM: '(max-width: 560px)',
12
+ mobileS: '(max-width: 480px)',
13
+
14
+ light: '(prefers-color-scheme: light)'
15
+ }
@@ -1,6 +1,6 @@
1
1
  'use strict'
2
2
 
3
- export const RESPONSIVE = {
3
+ export const BREAKPOINTS = {
4
4
  screenL: 1920,
5
5
  screenD: 1680,
6
6
  screenS: 1440,
@@ -224,7 +224,8 @@ export const SETTERS = {
224
224
  theme: setTheme,
225
225
  typography: setSameValue,
226
226
  spacing: setSameValue,
227
- responsive: setSameValue
227
+ media: setSameValue,
228
+ icons: setSameValue
228
229
  }
229
230
 
230
231
  /**
@@ -262,8 +263,8 @@ export const set = recivedConfig => {
262
263
  applyDocument()
263
264
 
264
265
  CONFIG.verbose = verbose
266
+ if ((ENV === 'test' || ENV === 'development') && CONFIG.verbose) console.log(CONFIG)
265
267
 
266
- console.log(CONFIG)
267
268
  return CONFIG
268
269
  }
269
270