@symbo.ls/scratch 0.7.22 → 0.7.24

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.7.22",
5
+ "version": "0.7.24",
6
6
  "files": [
7
7
  "src"
8
8
  ],
@@ -139,7 +139,7 @@ const keySetters = { // eslint-disable-line
139
139
  }
140
140
 
141
141
  export const setMediaTheme = (val, key, suffix, prefers) => {
142
- const theme = {}
142
+ const theme = { value: val }
143
143
 
144
144
  if (isObject(val)) {
145
145
  for (const param in val) {
@@ -14,8 +14,8 @@ export const applyTimingSequence = () => {
14
14
 
15
15
  export const getTimingFunction = value => TIMING[value] || value
16
16
 
17
- export const getTimingByKey = value => getSequenceValuePropertyPair(
17
+ export const getTimingByKey = (value, property = 'timing') => getSequenceValuePropertyPair(
18
18
  value,
19
- 'timing',
19
+ property,
20
20
  TIMING
21
21
  )