blog

git clone https://git.ce9e.org/blog.git

commit
bfb9249c6b661bac6da0ae2df3cc867279d2cf9e
parent
7479a299c56a7629b5042471e74b7cff9371373f
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2024-04-10 05:57
css: rm dependency on sass

Diffstat

M Makefile 4 ++--
R style/style.scss -> style.css 4 ----

2 files changed, 2 insertions, 6 deletions


diff --git a/Makefile b/Makefile

@@ -57,8 +57,8 @@ build/static/%: static/%
   57    57 	@mkdir -p $$(dirname $@)
   58    58 	ln -f $< $@
   59    59 
   60    -1 build/static/style.css: style/*.scss
   61    -1 	npx sass --no-source-map style/style.scss $@
   -1    60 build/static/style.css: style.css
   -1    61 	cat node_modules/mfbs/css/base.css node_modules/mfbs/css/layout.css node_modules/mfbs/css/fontsize.css $< > $@
   62    62 
   63    63 .PHONY: clean
   64    64 clean:

diff --git a/style/style.scss b/style.css

@@ -1,7 +1,3 @@
    1    -1 @import "../node_modules/mfbs/css/base";
    2    -1 @import "../node_modules/mfbs/css/layout";
    3    -1 @import "../node_modules/mfbs/css/fontsize";
    4    -1 
    5     1 :root {
    6     2 	--color-fg: #222;
    7     3 	--color-link: #222;