mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2024-12-19 20:12:52 +02:00
Update cheat sheet WITH removed icons
Update the cheat sheet to v3.0.0 but also show the removed icons of v2.3.3. That style is .nfold (read: nf-old) and it is just hacked in. I believe it can be removed later on, with 3.1.0 or something at least. We also need the old (removed) icons as a font to display them despite being removed. A small helper script 'archives' just the dropped glyphs into a new webfont. The script can be removed afterwards, this is a single run, archiving the dropped after v2.3.3 icons. See pairing commit in master branch: Date: Wed May 3 17:54:44 2023 +0200 generate-css: Create cheat sheet with removed icons [note] Also remove unused `nerd-fonts-generated.css`, wich confuses me every time. It's sufficient to have it in the master branch for people, we do not use it here. f
This commit is contained in:
parent
c7ac5f7364
commit
01af9e8ab5
@ -199,6 +199,12 @@ a.nerd-font-button:before {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#main .nerd-font-cheat-sheet .nfold {
|
||||
font-size: 3.25em;
|
||||
color: #8810b0;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#main .nerd-font-cheat-sheet .glyph-popout-copy-clipboard {
|
||||
background: #585547;
|
||||
border: 2px solid #0fbfcf;
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,7 @@
|
||||
---
|
||||
---
|
||||
{% include css/bootstrap-grid.min.css %}
|
||||
{% include css/nerd-fonts-generated-removed.min.css %}
|
||||
{% include css/nerd-fonts-generated.min.css %}
|
||||
{% include css/base.scss %}
|
||||
{% include css/skeleton.scss %}
|
||||
|
BIN
assets/fonts/Symbols-2048-em Nerd Font Complete v233.woff2
Normal file
BIN
assets/fonts/Symbols-2048-em Nerd Font Complete v233.woff2
Normal file
Binary file not shown.
10
generate-webfonts-old.sh
Executable file
10
generate-webfonts-old.sh
Executable file
@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
# See commit message that introduces this file :-}
|
||||
|
||||
# assets/fonts/Symbols-2048-em Nerd Font Complete v233.woff2
|
||||
|
||||
font_src="Symbols-2048-em Nerd Font Complete.woff2"
|
||||
font_dest="Symbols-2048-em Nerd Font Complete v233.woff2"
|
||||
webfontdir="assets/fonts"
|
||||
|
||||
fontforge -lang=ff -c "Open(\"${webfontdir}/${font_src}\"); Select(0xf500, 0xffff); SelectInvert(); Cut(); Generate(\"${webfontdir}/${font_dest}\")"
|
Loading…
Reference in New Issue
Block a user