@symbo.ls/init
Advanced tools
Comparing version 2.10.68 to 2.10.69
10
index.js
@@ -71,3 +71,7 @@ 'use strict' | ||
export const updateReset = (config, RC_FILE, options = { emotion: defaultEmotion }) => { | ||
const UPDATE_OPTIONS = { | ||
emotion: defaultEmotion | ||
} | ||
export const updateReset = (config, RC_FILE, options = UPDATE_OPTIONS) => { | ||
const emotion = options.emotion || defaultEmotion | ||
const resultConfig = mergeWithLocalFile(config || {}, RC_FILE) | ||
@@ -78,4 +82,4 @@ const conf = set({ | ||
}) | ||
options.emotion.injectGlobal({':root': conf.CSS_VARS }) | ||
options.emotion.injectGlobal(conf.RESET) | ||
emotion.injectGlobal({':root': conf.CSS_VARS }) | ||
emotion.injectGlobal(conf.RESET) | ||
} | ||
@@ -82,0 +86,0 @@ |
{ | ||
"name": "@symbo.ls/init", | ||
"version": "2.10.68", | ||
"version": "2.10.69", | ||
"license": "MIT", | ||
"gitHead": "93780aefe762bd77db53704208c79b58e23b5245", | ||
"gitHead": "17199958c0e7cd6a9938f74149030e768ac1867e", | ||
"source": "index.js", | ||
@@ -7,0 +7,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3886
69