From 9b08c3dc357f9e4902b74b7047e1a41ad909e1a2 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Sun, 23 Aug 2020 18:49:55 -0400 Subject: Use scheme CSS variables for causal.agency --- www/causal.agency/Makefile | 4 ++-- www/causal.agency/index.html.in | 25 +++++++++++++++++++++---- www/causal.agency/scheme.sed | 6 ------ 3 files changed, 23 insertions(+), 12 deletions(-) delete mode 100644 www/causal.agency/scheme.sed diff --git a/www/causal.agency/Makefile b/www/causal.agency/Makefile index 0bcea6b5..fdb1748e 100644 --- a/www/causal.agency/Makefile +++ b/www/causal.agency/Makefile @@ -21,8 +21,8 @@ FLAGS.play.pty = -h 16 .pty.html: shotty ${FLAGS.$<} $< > $@ -scheme.css: scheme.sed - scheme -s | sed -f scheme.sed > scheme.css +scheme.css: + scheme -s > scheme.css scheme.png: scheme -g > scheme.png diff --git a/www/causal.agency/index.html.in b/www/causal.agency/index.html.in index 168c28f6..82f2457e 100644 --- a/www/causal.agency/index.html.in +++ b/www/causal.agency/index.html.in @@ -2,8 +2,12 @@ Causal Agency diff --git a/www/causal.agency/scheme.sed b/www/causal.agency/scheme.sed deleted file mode 100644 index bf18085b..00000000 --- a/www/causal.agency/scheme.sed +++ /dev/null @@ -1,6 +0,0 @@ -s/[.]bg0/html, &/ -s/[.]fg15/html, &/ -s/[.]fg12/a, &/ -s/[.]fg13/a:visited, &/ - -s/[.]fg8 { color: \([^;]*\); }/pre { border: 1px dashed \1; } &/ -- cgit 1.4.1