diff --git a/package.json b/package.json index 3700118..485c590 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "scripts": { "dev": "vite dev", "build": "vite build && npm run package", - "build:theme": "smui-theme compile static/smui.css -i src/theme", + "build:theme": "smui-theme compile static/smui.css -i src/theme && sass --no-source-map src/theme/_custom.scss:static/custom.css", "build:static": "npm run build --static && npm run build:theme", "preview": "vite preview", "package": "svelte-kit sync && svelte-package && publint", @@ -29,7 +29,8 @@ "types": "./dist/index.d.ts", "main": "./dist/index.js", "svelte": "./dist/index.js" - } + }, + "./theme/default": "./static/theme.scss" }, "files": [ "dist", diff --git a/src/app.html b/src/app.html index fc9cae4..42b89bf 100644 --- a/src/app.html +++ b/src/app.html @@ -5,8 +5,8 @@ - - + + diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index b867cf9..f2d837e 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,5 +1,4 @@