From 7bdd07a32927b03a5425654a1e315b47ecfeee8f Mon Sep 17 00:00:00 2001 From: Jan Chren ~rindeal Date: Sat, 14 Sep 2024 00:14:13 +0000 Subject: [PATCH] feat: Add new helpers-only version --- package.json | 3 ++- versions/bulma-helpers.scss | 12 ++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 versions/bulma-helpers.scss diff --git a/package.json b/package.json index 816e670f..c49b7360 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/versions/bulma-helpers.scss b/versions/bulma-helpers.scss new file mode 100644 index 00000000..80c927ce --- /dev/null +++ b/versions/bulma-helpers.scss @@ -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; +}