Minificar todas las tipografías
This commit is contained in:
parent
4523ccf2ce
commit
143e0f6c3d
1 changed files with 3 additions and 0 deletions
3
Makefile
3
Makefile
|
@ -64,6 +64,9 @@ fa-%: always ## Agregar un ícono de Fork Awesome (reemplazar % por el nombre)
|
||||||
@echo Agregando $* a la lista de íconos
|
@echo Agregando $* a la lista de íconos
|
||||||
@grep -q "$*" fa.txt || grep '^$$fa-var-$*: ' node_modules/fork-awesome/scss/_variables.scss | sed -re "s/^.*: \"\\\(.*)\";/\1 $*/" >> fa.txt
|
@grep -q "$*" fa.txt || grep '^$$fa-var-$*: ' node_modules/fork-awesome/scss/_variables.scss | sed -re "s/^.*: \"\\\(.*)\";/\1 $*/" >> fa.txt
|
||||||
|
|
||||||
|
fonts := $(wildcard assets/fonts/*.otf assets/fonts/*.ttf)
|
||||||
|
fonts: $(fonts) ## Minifica todas las tipografías
|
||||||
|
|
||||||
gfont: ## Descarga tipografías de Google Fonts (css="url del css")
|
gfont: ## Descarga tipografías de Google Fonts (css="url del css")
|
||||||
@test -n "$(css)"
|
@test -n "$(css)"
|
||||||
wget "$(css)" -nv -kO /tmp/gfont
|
wget "$(css)" -nv -kO /tmp/gfont
|
||||||
|
|
Loading…
Reference in a new issue