Add Makefile to concatenate syntax style.

This commit is contained in:
Sergio Martínez Portela 2022-11-29 23:54:53 +01:00
parent e268734a3f
commit 31450effe7
1 changed files with 7 additions and 0 deletions

7
Makefile Normal file
View File

@ -0,0 +1,7 @@
all: static/syntax.css
static/syntax.css: static/light-syntax.css static/dark-syntax.css
cat static/light-syntax.css > $@
echo '@media (prefers-color-scheme: dark) { ' >> $@
cat static/dark-syntax.css >> $@
echo '}' >> $@