From 7b4a84ef759a0f03a7c11aa2938c3377f05b1476 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 24 May 2023 00:00:53 -0700 Subject: [PATCH] Add automatic builds for my yoshi theme colors --- GNUmakefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index cc6664d..9c00d0b 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1,4 +1,4 @@ -.PHONY: publish deploy html css help +.PHONY: publish deploy html css help theme help: ## Show this help @egrep -h '\s##\s' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}' @@ -33,3 +33,9 @@ clean: ## Remove all of the build files serve: ## Run a simple web server to look at the results @cd public && php -S localhost:8000 + +theme: ## Generate the theme CSS + eldev emacs --quick --batch --load htmlize --load ox-html \ + -eval "(setq org-html-htmlize-output-type 'css)" \ + -funcall org-html-htmlize-generate-css \ + -eval '(write-file "src/less/yoshi.css")'