@symbo.ls/scratch 0.6.1 → 0.6.2
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 +1 -1
- package/src/system/theme.js +1 -1
package/package.json
CHANGED
package/src/system/theme.js
CHANGED
|
@@ -186,7 +186,7 @@ const recursiveTheme = val => {
|
|
|
186
186
|
}
|
|
187
187
|
|
|
188
188
|
export const getMediaTheme = (val, key, themeObj) => {
|
|
189
|
-
if (!isString(val)) {
|
|
189
|
+
if (!val || !isString(val)) {
|
|
190
190
|
if ((ENV === 'test' || ENV === 'development') && CONFIG.verbose) console.warn(val, '- type for color is not valid')
|
|
191
191
|
return
|
|
192
192
|
}
|