style a blog update
All checks were successful
/ build (push) Successful in 7s

This commit is contained in:
Collin Lefeber 2025-04-29 16:48:57 -04:00
parent 2c9c1f5b7c
commit 2246b00767
2 changed files with 39 additions and 5 deletions

View file

@ -1,3 +1,6 @@
.PHONY: all
all: public/pyg.css
python3 ./main.py
public/pyg.css: Makefile pygments_theme_dark.txt pygments_theme_light.txt
echo "@media (prefers-color-scheme: dark) {" > $@
@ -6,8 +9,3 @@ public/pyg.css: Makefile pygments_theme_dark.txt pygments_theme_light.txt
echo "@media (prefers-color-scheme: light) {" >> $@
pygmentize -S "$(shell cat pygments_theme_light.txt)" -f html -a .codehilite >> $@
echo "}" >> $@
.PHONY: all
all:
python3 ./main.py