Skip to content

Commit d6b9f59

Browse files
committed
Bump to latest lunet, use dart-sass and re-enable minification
1 parent 8d4093b commit d6b9f59

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/site.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
uses: actions/configure-pages@v5
2828
- name: Build web site
2929
run: |
30-
dotnet tool install --global lunet --version "0.7.*"
30+
dotnet tool install --global lunet --version "0.8.*"
3131
lunet build
3232
- name: Upload artifact
3333
uses: actions/upload-pages-artifact@v3

.lunet/css/main.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ $bootstrap-icons-font-dir: "/fonts";
2121
--color-c64-yellow: #ECE304;
2222
--color-c64-green: #4CAB27;
2323
--color-c64-blue: #3966AD;
24+
--bs-font-sans-serif: #{inspect($font-family-base)};
2425
}
2526

2627
@font-face {

config.scriban

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,11 @@ with bundle
7272

7373
# copy font files
7474
content bootstrap_icons "/font/fonts/bootstrap-icons.*" "/fonts/"
75-
75+
7676
# concatenate css/js files
77+
scss.use_dart_sass = true # Use Dart Sass for SCSS compilation
7778
concat = true
78-
#minify = true # Cannot minify because of of CSS minification issues
79+
minify = true
7980
end
8081

8182
with attributes

0 commit comments

Comments
 (0)