stash
This commit is contained in:
parent
ce1e5f1d62
commit
c345372382
9 changed files with 233 additions and 82 deletions
21
frontend/src/scss/_pixel-fonts.scss
Normal file
21
frontend/src/scss/_pixel-fonts.scss
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
// Specialized bitmap-style fonts label.js's drawTextLeaf switches to below an effective text
|
||||
// size of 10px, where a general-purpose sans-serif gets blurry/illegible - each is designed for
|
||||
// (and named after) roughly the pixel size it's used at. See
|
||||
// ../assets/fonts/pixel/LICENSE.md for sources/licenses.
|
||||
@font-face {
|
||||
font-family: "Tom Thumb";
|
||||
src: url("../assets/fonts/pixel/TomThumb.ttf") format("truetype");
|
||||
font-display: block;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "PICO-8";
|
||||
src: url("../assets/fonts/pixel/PICO-8.ttf") format("truetype");
|
||||
font-display: block;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Silkscreen";
|
||||
src: url("../assets/fonts/pixel/Silkscreen-Regular.woff2") format("woff2");
|
||||
font-display: block;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue