Commit Diff


commit - c806356b760c9478ac6b47e22e71917ba436bcd8
commit + e8fe7f5532aee563a949b78098208da9e48445f2
blob - /dev/null
blob + e2ff4955c3c85e9c993f67573f3b73d455d9b76c (mode 644)
--- /dev/null
+++ web/template/.gitmodules
@@ -0,0 +1,3 @@
+[submodule "vendor/custom-bootstrap"]
+	path = vendor/custom-bootstrap
+	url = git@github.com:ijanc/custom-bootstrap
blob - /dev/null
blob + 447ab662e85a6e9e0a4e57947adfd973aa5b16e4 (mode 644)
--- /dev/null
+++ 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)