feat: Add new helpers-only version

This commit is contained in:
Jan Chren ~rindeal 2024-09-14 00:14:13 +00:00 committed by GitHub
parent 9a1b620195
commit 7bdd07a329
2 changed files with 14 additions and 1 deletions

View File

@ -38,11 +38,12 @@
"scripts": {
"build-bulma": "sass --style=expanded --source-map bulma.scss css/bulma.css",
"minify-bulma": "postcss css/bulma.css --no-map --use cssnano --output css/bulma.min.css",
"version-helpers": "sass --style=expanded --source-map versions/bulma-helpers.scss css/versions/bulma-helpers.css",
"version-no-dark-mode": "sass --style=expanded --source-map versions/bulma-no-dark-mode.scss css/versions/bulma-no-dark-mode.css",
"version-no-helpers": "sass --style=expanded --source-map versions/bulma-no-helpers.scss css/versions/bulma-no-helpers.css",
"version-no-helpers-prefixed": "sass --style=expanded --source-map versions/bulma-no-helpers-prefixed.scss css/versions/bulma-no-helpers-prefixed.css",
"version-prefixed": "sass --style=expanded --source-map versions/bulma-prefixed.scss css/versions/bulma-prefixed.min.css",
"build-versions": "npm run version-no-dark-mode && npm run version-no-helpers && npm run version-no-helpers-prefixed && npm run version-prefixed",
"build-versions": "npm run version-helpers && npm run version-no-dark-mode && npm run version-no-helpers && npm run version-no-helpers-prefixed && npm run version-prefixed",
"minify-versions": "postcss css/versions/*.css --dir css/versions --ext min.css --no-map --use cssnano",
"build-all": "npm run build-bulma && npm run build-versions",
"minify-all": "npm run minify-bulma && npm run minify-versions",

View File

@ -0,0 +1,12 @@
@charset "utf-8";
/*! bulma.io v1.0.2 | MIT License | github.com/jgthms/bulma */
@forward "../sass/helpers";
@use "../sass/themes/light";
@use "../sass/themes/setup";
:root {
@include light.light-theme;
@include setup.setup-theme;
}