Skip to content

Commit

Permalink
feat: Add new helpers-only version
Browse files Browse the repository at this point in the history
  • Loading branch information
rindeal authored Sep 14, 2024
1 parent 9a1b620 commit 7bdd07a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
12 changes: 12 additions & 0 deletions versions/bulma-helpers.scss
Original file line number Diff line number Diff line change
@@ -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;
}

0 comments on commit 7bdd07a

Please sign in to comment.