@symbo.ls/scratch 0.6.2 → 0.6.3

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.6.2",
5
+ "version": "0.6.3",
6
6
  "files": [
7
7
  "src"
8
8
  ],
@@ -192,6 +192,6 @@ export const getMediaTheme = (val, key, themeObj) => {
192
192
  }
193
193
  const [name, modifier] = isArray(val) ? val : val.split(' ')
194
194
  let value = CONFIG.THEME[name]
195
- if (modifier && value[modifier]) value = value[modifier]
195
+ if (value && modifier && value[modifier]) value = value[modifier]
196
196
  return recursiveTheme(value)
197
197
  }