1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 21:53:26 +00:00

feat: upgrade sass architecture

- Modularized the Sass architecture to enhance code maintainability and reduce the output file size
- Replaced deprecated `@import` with `@use` / `@forward`
This commit is contained in:
Cotes Chung
2024-11-21 02:21:34 +08:00
parent 65f960c31a
commit d9d8def9ea
44 changed files with 2662 additions and 2502 deletions

View File

@@ -92,7 +92,8 @@ init_files() {
npm i && npm run build
# track the CSS/JS output
_sedi "/.*\/dist$/d" .gitignore
_sedi "/^_sass\/vendor/d" .gitignore
_sedi "/^assets\/js\/dist/d" .gitignore
}
commit() {

View File

@@ -15,7 +15,7 @@ NODE_SPEC="package.json"
CHANGELOG="docs/CHANGELOG.md"
CONFIG="_config.yml"
CSS_DIST="_sass/dist"
CSS_DIST="_sass/vendor"
JS_DIST="assets/js/dist"
FILES=(