Skip to content

Commit

Permalink
feat: add prebuilt theme
Browse files Browse the repository at this point in the history
Signed-off-by: Jakob Steiner <[email protected]>
  • Loading branch information
kosmoz committed Feb 28, 2024
1 parent 4b042f4 commit 861795d
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 4 deletions.
17 changes: 17 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@
},
"files": [
"index.scss",
"scss/**/*.scss"
"scss/**/*.scss",
"dist/"
],
"scripts": {
"css-compile": "sass --embed-sources --load-path node_modules index.scss:dist/theme.css",
"css-compile": "sass --embed-sources --load-path node_modules prebuilt/theme.scss:dist/theme.css",
"css-bundle": "esbuild dist/*.css --bundle --minify --loader:.woff=file --loader:.woff2=file --out-extension:.css=.min.css --outdir=dist",
"build": "node esbuild.mjs",
"build": "rm -rf dist && npm run css-compile && npm run css-bundle",
"release": "release-it"
},
"sass": "index.scss",
Expand All @@ -29,7 +30,8 @@
"devDependencies": {
"release-it": "17.0.0",
"esbuild": "0.19.10",
"sass": "1.69.7"
"sass": "1.69.7",
"bootstrap-icons": "1.11.3"
},
"volta": {
"node": "20.10.0"
Expand Down
2 changes: 2 additions & 0 deletions prebuilt/theme.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@import "../index";
@import "bootstrap-icons/font/bootstrap-icons.css";

0 comments on commit 861795d

Please sign in to comment.