Add font css

This commit is contained in:
Daniel Flanagan 2020-12-16 11:12:42 -06:00
parent d421b70c5b
commit bb6dcfb055
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
2 changed files with 6 additions and 3 deletions

View file

@ -6,7 +6,7 @@ NETLIFY_DEPLOY ?= deploy -d public
all: build all: build
.PHONY: build .PHONY: build
build: static/styles.css ; @${HUGO} build: static/font.css static/styles.css ; @${HUGO}
.PHONY: public .PHONY: public
public: build public: build
@ -30,6 +30,9 @@ publish: clean-css public ; @netlify ${NETLIFY_DEPLOY} && echo "Run \`make publi
.PHONY: publish-prod .PHONY: publish-prod
publish-prod: clean-css public ; @netlify ${NETLIFY_DEPLOY} --prod publish-prod: clean-css public ; @netlify ${NETLIFY_DEPLOY} --prod
static/font.css: src/stylus/font.styl
stylus --compress $< -o $@
static/styles.css: src/stylus/styles.styl $(shell find src/stylus -regex ".*\.styl") static/styles.css: src/stylus/styles.styl $(shell find src/stylus -regex ".*\.styl")
stylus --compress $< -o $@ stylus --compress $< -o $@

4
static/.gitignore vendored
View file

@ -1,2 +1,2 @@
/styles.css /*.css
/styles.css.map /*.css.map