dump nerdfonts from the website to use locally
Some checks failed
Build the docker image for the frontend application / build (push) Failing after 20s
Some checks failed
Build the docker image for the frontend application / build (push) Failing after 20s
Signed-off-by: ngn <ngn@ngn.tf>
This commit is contained in:
parent
66c96ae312
commit
9a72d3f95d
1
app/.gitignore
vendored
1
app/.gitignore
vendored
@ -8,3 +8,4 @@ node_modules
|
|||||||
!.env.example
|
!.env.example
|
||||||
vite.config.js.timestamp-*
|
vite.config.js.timestamp-*
|
||||||
vite.config.ts.timestamp-*
|
vite.config.ts.timestamp-*
|
||||||
|
nerdfonts.*
|
||||||
|
23
app/Makefile
23
app/Makefile
@ -1,10 +1,25 @@
|
|||||||
all:
|
NF_CSS = static/css/nerdfonts.css
|
||||||
|
NF_WOFF = static/assets/nerdfonts.woff2
|
||||||
|
|
||||||
|
all: $(NF_CSS)
|
||||||
npm run build
|
npm run build
|
||||||
|
|
||||||
|
$(NF_CSS): $(NF_WOFF)
|
||||||
|
wget "https://www.nerdfonts.com/assets/css/webfont.css" -O $@
|
||||||
|
sed 's/\.\.\/fonts\/Symbols-2048-em Nerd Font Complete\.woff2/\/assets\/nerdfonts\.woff2/g' -i $@
|
||||||
|
|
||||||
|
$(NF_WOFF):
|
||||||
|
wget "https://www.nerdfonts.com/assets/fonts/Symbols-2048-em%20Nerd%20Font%20Complete.woff2" -O $@
|
||||||
|
|
||||||
|
run: $(NF_CSS)
|
||||||
|
npm run dev
|
||||||
|
|
||||||
format:
|
format:
|
||||||
npm run format
|
npm run format
|
||||||
|
|
||||||
run:
|
clean:
|
||||||
npm run dev
|
rm -rf build
|
||||||
|
rm $(NF_CSS)
|
||||||
|
rm $(NF_WOFF)
|
||||||
|
|
||||||
.PHONY: format
|
.PHONY: format run clean
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
/* im using nerd fonts btw */
|
|
||||||
@import "https://www.nerdfonts.com/assets/css/webfont.css";
|
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: "Ubuntu";
|
font-family: "Ubuntu";
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
|
@ -1,4 +1,12 @@
|
|||||||
|
/*
|
||||||
|
|
||||||
|
* animations.css: stuff like the cursor animation
|
||||||
|
* webfont.css: webfont dumped from https://www.nerdfonts.com/assets/css/webfont.css
|
||||||
|
* font.css: the main font (Ubuntu)
|
||||||
|
|
||||||
|
*/
|
||||||
@import "./animations.css";
|
@import "./animations.css";
|
||||||
|
@import "./nerdfonts.css";
|
||||||
@import "./font.css";
|
@import "./font.css";
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user