@warp-ds/elements-core
Advanced tools
Comparing version 0.0.1-alpha.1 to 0.0.1-alpha.2
{ | ||
"name": "@warp-ds/elements-core", | ||
"type": "module", | ||
"version": "0.0.1-alpha.1", | ||
"version": "0.0.1-alpha.2", | ||
"description": "", | ||
@@ -9,3 +9,5 @@ "main": "./src/element.js", | ||
".": "./src/element.js", | ||
"./utils": "./src/utils.js" | ||
"./element.js": "./src/element.js", | ||
"./global.js": "./src/global.js", | ||
"./utils.js": "./src/utils.js" | ||
}, | ||
@@ -12,0 +14,0 @@ "scripts": { |
import { PodiumElement } from '@podium/element'; | ||
import { getBrand, getGlobalStyles } from './utils.js'; | ||
import { styles } from './global.js'; | ||
const brandInfo = getBrand(); | ||
const globalCss = await getGlobalStyles(brandInfo); | ||
export default class WarpElement extends PodiumElement { | ||
static styles = [ | ||
...globalCss, | ||
...styles, | ||
]; | ||
@@ -15,2 +12,2 @@ | ||
} | ||
} | ||
} |
2560
5