@haxtheweb/simple-colors-shared-styles
Advanced tools
Comparing version 9.0.1 to 9.0.2
@@ -9,12 +9,9 @@ { | ||
"useHAX": false, | ||
"useSass": true, | ||
"useSass": false, | ||
"files": { | ||
"scss": "src/simple-colors-shared-styles.scss", | ||
"html": "src/simple-colors-shared-styles.html", | ||
"js": "src/simple-colors-shared-styles.js", | ||
"properties": "src/simple-colors-shared-styles-properties.json" | ||
"js": "src/simple-colors-shared-styles.js" | ||
}, | ||
"sharedStyles": [] | ||
}, | ||
"version": "9.0.1", | ||
"version": "9.0.2", | ||
"description": "shared styles for simple-colors", | ||
@@ -47,3 +44,3 @@ "repository": { | ||
"devDependencies": { | ||
"@haxtheweb/deduping-fix": "^9.0.1", | ||
"@haxtheweb/deduping-fix": "^9.0.2", | ||
"@open-wc/testing": "4.0.0", | ||
@@ -65,3 +62,3 @@ "@polymer/iron-component-page": "github:PolymerElements/iron-component-page", | ||
], | ||
"gitHead": "7f62cde6a6242afcb57715e1e2067ea767c777fd" | ||
"gitHead": "f528e4aac8aeadf5350d9262fb515d14d208e376" | ||
} |
@@ -1063,5 +1063,4 @@ /** | ||
if (globalThis.SimpleColorsSharedStyles.instance == null) { | ||
globalThis.SimpleColorsSharedStyles.instance = document.createElement( | ||
"simple-colors-shared-styles", | ||
); | ||
globalThis.SimpleColorsSharedStyles.instance = | ||
globalThis.document.createElement("simple-colors-shared-styles"); | ||
globalThis.SimpleColorsSharedStyles.colors = | ||
@@ -1072,5 +1071,7 @@ globalThis.SimpleColorsSharedStyles.instance.colors; | ||
globalThis.SimpleColorsSharedStyles.stylesheet = | ||
document.createElement("style"); | ||
globalThis.document.createElement("style"); | ||
globalThis.SimpleColorsSharedStyles.stylesheet.innerHTML = `${SimpleColorsSharedStyles.styles[0].cssText}`; | ||
document.head.appendChild(globalThis.SimpleColorsSharedStyles.stylesheet); | ||
globalThis.document.head.appendChild( | ||
globalThis.SimpleColorsSharedStyles.stylesheet, | ||
); | ||
} | ||
@@ -1077,0 +1078,0 @@ return globalThis.SimpleColorsSharedStyles.instance; |
@@ -1063,5 +1063,4 @@ /** | ||
if (globalThis.SimpleColorsSharedStyles.instance == null) { | ||
globalThis.SimpleColorsSharedStyles.instance = document.createElement( | ||
"simple-colors-shared-styles", | ||
); | ||
globalThis.SimpleColorsSharedStyles.instance = | ||
globalThis.document.createElement("simple-colors-shared-styles"); | ||
globalThis.SimpleColorsSharedStyles.colors = | ||
@@ -1072,5 +1071,7 @@ globalThis.SimpleColorsSharedStyles.instance.colors; | ||
globalThis.SimpleColorsSharedStyles.stylesheet = | ||
document.createElement("style"); | ||
globalThis.document.createElement("style"); | ||
globalThis.SimpleColorsSharedStyles.stylesheet.innerHTML = `${SimpleColorsSharedStyles.styles[0].cssText}`; | ||
document.head.appendChild(globalThis.SimpleColorsSharedStyles.stylesheet); | ||
globalThis.document.head.appendChild( | ||
globalThis.SimpleColorsSharedStyles.stylesheet, | ||
); | ||
} | ||
@@ -1077,0 +1078,0 @@ return globalThis.SimpleColorsSharedStyles.instance; |
Sorry, the diff of this file is not supported yet
122044
17
2586