From 8fce1ed70c57b180059da423a544ddbf1b47342a Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 1 May 2026 16:09:24 +0300 Subject: ua self-host noir webfonts --- README.md | 7 +++ .../templates/themes/noir/FONT_LICENSE.txt | 51 +++++++++++++++++++++ ...ibm-plex-mono-v20-latin_latin-ext-regular.woff2 | Bin 0 -> 21728 bytes .../playfair-display-v40-latin_latin-ext-700.woff2 | Bin 0 -> 30504 bytes ...yfair-display-v40-latin_latin-ext-regular.woff2 | Bin 0 -> 28748 bytes internal/generator/templates/themes/noir/theme.css | 24 ++++++++++ 6 files changed, 82 insertions(+) create mode 100644 internal/generator/templates/themes/noir/FONT_LICENSE.txt create mode 100644 internal/generator/templates/themes/noir/ibm-plex-mono-v20-latin_latin-ext-regular.woff2 create mode 100644 internal/generator/templates/themes/noir/playfair-display-v40-latin_latin-ext-700.woff2 create mode 100644 internal/generator/templates/themes/noir/playfair-display-v40-latin_latin-ext-regular.woff2 diff --git a/README.md b/README.md index 93b119a..3706b38 100644 --- a/README.md +++ b/README.md @@ -146,6 +146,13 @@ Bundled web fonts: from [Google Fonts](https://fonts.google.com/specimen/VT323), [SIL OFL 1.1](https://openfontlicense.org/open-font-license-official-text/). See [internal/generator/templates/themes/matrix/FONT_LICENSE.txt](internal/generator/templates/themes/matrix/FONT_LICENSE.txt). +- **noir** — *Playfair Display* Regular + Bold and *IBM Plex Mono* Regular + (.woff2, latin+latin-ext) by Claus Eggers Sørensen, Mike Abbink, Bold Monday, + and IBM, from Google Fonts + ([Playfair Display](https://fonts.google.com/specimen/Playfair+Display), + [IBM Plex Mono](https://fonts.google.com/specimen/IBM+Plex+Mono)), + [SIL OFL 1.1](https://openfontlicense.org/open-font-license-official-text/). + See [internal/generator/templates/themes/noir/FONT_LICENSE.txt](internal/generator/templates/themes/noir/FONT_LICENSE.txt). - **ocean** — *Outfit* Regular + Medium (.woff2, latin+latin-ext) by Rodrigo Fuenzalida, from [Google Fonts](https://fonts.google.com/specimen/Outfit), [SIL OFL 1.1](https://openfontlicense.org/open-font-license-official-text/). diff --git a/internal/generator/templates/themes/noir/FONT_LICENSE.txt b/internal/generator/templates/themes/noir/FONT_LICENSE.txt new file mode 100644 index 0000000..fda644f --- /dev/null +++ b/internal/generator/templates/themes/noir/FONT_LICENSE.txt @@ -0,0 +1,51 @@ +Playfair Display and IBM Plex Mono +================================== + +This directory bundles the web fonts: + + playfair-display-v40-latin_latin-ext-regular.woff2 (weight 400) + playfair-display-v40-latin_latin-ext-700.woff2 (weight 700) + ibm-plex-mono-v20-latin_latin-ext-regular.woff2 (weight 400) + +Subsets: latin, latin-ext. + +Source / version +---------------- +- Playfair Display family page : https://fonts.google.com/specimen/Playfair+Display +- Playfair Display designer : Claus Eggers Sørensen +- Playfair Display webfont set : playfair-display-v40 (latin + latin-ext, woff2) +- Playfair Display fetched via : https://gwfh.mranftl.com/fonts/playfair-display +- Playfair Display download URL: https://gwfh.mranftl.com/api/fonts/playfair-display?download=zip&subsets=latin,latin-ext&formats=woff2&variants=regular,700 +- Playfair Display fetched on : 2026-05-01 +- Playfair Display modified : 2025-09-11 + +- IBM Plex Mono family page : https://fonts.google.com/specimen/IBM+Plex+Mono +- IBM Plex Mono designer : Mike Abbink, Bold Monday, IBM +- IBM Plex Mono webfont set : ibm-plex-mono-v20 (latin + latin-ext, woff2) +- IBM Plex Mono fetched via : https://gwfh.mranftl.com/fonts/ibm-plex-mono +- IBM Plex Mono download URL : https://gwfh.mranftl.com/api/fonts/ibm-plex-mono?download=zip&subsets=latin,latin-ext&formats=woff2&variants=regular +- IBM Plex Mono fetched on : 2026-05-01 +- IBM Plex Mono modified : 2025-09-16 + +License +------- +SIL Open Font License, Version 1.1. + + - Summary : https://scripts.sil.org/cms/scripts/page.php?item_id=OFL_web + - Full text : https://openfontlicense.org/open-font-license-official-text/ + +The OFL allows free use, modification, and redistribution of the font, +including embedding in commercial products. Any standalone modified +version of the font itself must be released under the same license and +must not use the Reserved Font Names "Playfair", "Playfair Display", or +"IBM Plex". + +Required attribution +-------------------- +Font: "Playfair Display" by Claus Eggers Sørensen + https://fonts.google.com/specimen/Playfair+Display + Licensed under the SIL Open Font License 1.1. + +Font: "IBM Plex Mono" by Mike Abbink, Bold Monday, IBM + https://fonts.google.com/specimen/IBM+Plex+Mono + Licensed under the SIL Open Font License 1.1. diff --git a/internal/generator/templates/themes/noir/ibm-plex-mono-v20-latin_latin-ext-regular.woff2 b/internal/generator/templates/themes/noir/ibm-plex-mono-v20-latin_latin-ext-regular.woff2 new file mode 100644 index 0000000..996cdc0 Binary files /dev/null and b/internal/generator/templates/themes/noir/ibm-plex-mono-v20-latin_latin-ext-regular.woff2 differ diff --git a/internal/generator/templates/themes/noir/playfair-display-v40-latin_latin-ext-700.woff2 b/internal/generator/templates/themes/noir/playfair-display-v40-latin_latin-ext-700.woff2 new file mode 100644 index 0000000..1759e88 Binary files /dev/null and b/internal/generator/templates/themes/noir/playfair-display-v40-latin_latin-ext-700.woff2 differ diff --git a/internal/generator/templates/themes/noir/playfair-display-v40-latin_latin-ext-regular.woff2 b/internal/generator/templates/themes/noir/playfair-display-v40-latin_latin-ext-regular.woff2 new file mode 100644 index 0000000..ed9f8f6 Binary files /dev/null and b/internal/generator/templates/themes/noir/playfair-display-v40-latin_latin-ext-regular.woff2 differ diff --git a/internal/generator/templates/themes/noir/theme.css b/internal/generator/templates/themes/noir/theme.css index a6d9e07..c1b5b0d 100644 --- a/internal/generator/templates/themes/noir/theme.css +++ b/internal/generator/templates/themes/noir/theme.css @@ -1,3 +1,27 @@ + /* Bundled web fonts: "Playfair Display" and "IBM Plex Mono" from + Google Fonts, self-hosted under the SIL Open Font License 1.1. + See FONT_LICENSE.txt in this directory. */ + @font-face { + font-family: 'Playfair Display'; + src: url('playfair-display-v40-latin_latin-ext-regular.woff2') format('woff2'); + font-weight: 400; + font-style: normal; + font-display: swap; + } + @font-face { + font-family: 'Playfair Display'; + src: url('playfair-display-v40-latin_latin-ext-700.woff2') format('woff2'); + font-weight: 700; + font-style: normal; + font-display: swap; + } + @font-face { + font-family: 'IBM Plex Mono'; + src: url('ibm-plex-mono-v20-latin_latin-ext-regular.woff2') format('woff2'); + font-weight: 400; + font-style: normal; + font-display: swap; + } :root { --fog:#0b0b0b; --ink:#d8d1c4; --silver:#a4a09a; --street:#161616; --lamp:#f0ead6; --blood:#a9372b; } * { margin:0; padding:0; box-sizing:border-box; } body { font-family:'IBM Plex Mono','Courier New',monospace; background:#050505; color:var(--ink); overflow:hidden; height:100vh; height:100dvh; } -- cgit v1.2.3