From 83dffef47d7c373cab4b34085d61b2e13795c40b Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Wed, 13 Apr 2022 14:24:50 +0530 Subject: [PATCH] Use new theme config --- vite.config.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/vite.config.js b/vite.config.js index 8cc16d26..4dd35af2 100644 --- a/vite.config.js +++ b/vite.config.js @@ -16,7 +16,13 @@ export default defineConfig(({mode}) => { sourcemap: true, }, plugins: [ - themeBuilder({manifestLocations: ["./src/platform/web/ui/css/themes/element"], compiledVariables}), + themeBuilder({ + themeConfig: { + themes: {"element": "./src/platform/web/ui/css/themes/element"}, + default: "element", + }, + compiledVariables + }), // important this comes before service worker // otherwise the manifest and the icons it refers to won't be cached injectWebManifest("assets/manifest.json"),