From e8fe7f5532aee563a949b78098208da9e48445f2 Mon Sep 17 00:00:00 2001 From: msi Date: Fri, 14 Nov 2025 14:28:38 -0300 Subject: Add submodule custom css --- web/template/.gitmodules | 3 +++ web/template/Makefile | 17 +++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 web/template/.gitmodules create mode 100644 web/template/Makefile (limited to 'web/template') diff --git a/web/template/.gitmodules b/web/template/.gitmodules new file mode 100644 index 0000000..e2ff495 --- /dev/null +++ b/web/template/.gitmodules @@ -0,0 +1,3 @@ +[submodule "vendor/custom-bootstrap"] + path = vendor/custom-bootstrap + url = git@github.com:ijanc/custom-bootstrap diff --git a/web/template/Makefile b/web/template/Makefile new file mode 100644 index 0000000..447ab66 --- /dev/null +++ b/web/template/Makefile @@ -0,0 +1,17 @@ +SASS ?= sass +PNPM ?= pnpm + +CUSTOM_BOOTSTRAP_SCSS := vendor/custom-bootstrap/scss/custom.scss +CUSTOM_CSS_OUT := assets/css/custom.css +VENDOR_FOLDER := vendor/custom-bootstrap + +.PHONY: css watch-css install + +install: + $(SASS) -C $(VENDOR_FOLDER) install + +css: + $(SASS) $(CUSTOM_BOOTSTRAP_SCSS) $(CUSTOM_CSS_OUT) + +watch-css: + $(SASS) --watch $(CUSTOM_BOOTSTRAP_SCSS):$(CUSTOM_CSS_OUT) -- cgit v1.2.3