summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--assets/style.scss3
-rwxr-xr-xscripts/build_sass.sh4
3 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ced1bda..c9d0cf8 100644
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,7 @@ build_fonts: clean
17 --output-file='output/iosevka-term-ss09-bold.woff2' 17 --output-file='output/iosevka-term-ss09-bold.woff2'
18 18
19build_sass: clean 19build_sass: clean
20 @sassc assets/style.scss | node_modules/.bin/csso > output/style.css 20 @scripts/build_sass.sh
21 21
22build_content: clean 22build_content: clean
23 @scripts/build_content.sh 23 @scripts/build_content.sh
diff --git a/assets/style.scss b/assets/style.scss
index 8e021d8..a08d4f5 100644
--- a/assets/style.scss
+++ b/assets/style.scss
@@ -73,7 +73,8 @@ $subcontent-indent: 4ch;
73html, 73html,
74pre, 74pre,
75code { 75code {
76 font-family: "Iosevka Term SS09"; 76 font-family: "Iosevka Term SS09", "Lucida Console", "Courier New", Courier,
77 monospace;
77 font-feature-settings: "calt" 0, "dlig" 1; 78 font-feature-settings: "calt" 0, "dlig" 1;
78} 79}
79 80
diff --git a/scripts/build_sass.sh b/scripts/build_sass.sh
new file mode 100755
index 0000000..a6d9c93
--- /dev/null
+++ b/scripts/build_sass.sh
@@ -0,0 +1,4 @@
1#!/bin/bash
2
3echo "[COMPILE] assets/style.scss -> output/style.css"
4sassc assets/style.scss | node_modules/.bin/csso > output/style.css