From 31450effe72d3663ba47eb5545bad9a5a56206ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Mart=C3=ADnez=20Portela?= Date: Tue, 29 Nov 2022 23:54:53 +0100 Subject: [PATCH] Add Makefile to concatenate syntax style. --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..8ec4397 --- /dev/null +++ b/Makefile @@ -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 '}' >> $@