@symbo.ls/scratch 2.6.9 → 2.6.10

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": "2.6.9",
5
+ "version": "2.6.10",
6
6
  "files": [
7
7
  "src"
8
8
  ],
@@ -146,7 +146,7 @@ export const setMediaTheme = (val, key, suffix, prefers) => {
146
146
  const { CSS_VARS } = CONFIG
147
147
  const theme = { value: val }
148
148
 
149
- if (isObject(val)) {
149
+ if (isObjectLike(val)) {
150
150
  for (const param in val) {
151
151
  const symb = param.slice(0, 1)
152
152
  const value = val[param]
@@ -191,7 +191,7 @@ const recursiveTheme = val => {
191
191
  const obj = {}
192
192
  for (const param in val) {
193
193
  const symb = param.slice(0, 1)
194
- if (isObject(val[param])) {
194
+ if (isObjectLike(val[param])) {
195
195
  if (symb === '@') {
196
196
  const query = CONFIG.MEDIA[param.slice(1)]
197
197
  const media = `@media screen and ${query}`