summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-01 10:38:46 +0300
committerPaul Buetow <paul@buetow.org>2026-05-01 10:38:46 +0300
commit36d1f8e17bc1146ed52f6a8bf319b6c06a3be0f5 (patch)
treed5fd602d614d4cc0631c7c5f0092bf538d955d80
parent64ea6091374753ec5424b5883aa0a189fa54831e (diff)
Add synthwave self-hosted webfonts for task ya
-rw-r--r--README.md7
-rw-r--r--internal/generator/templates/themes/synthwave/FONT_LICENSE.txt48
-rw-r--r--internal/generator/templates/themes/synthwave/RussoOne-Regular.woff2bin0 -> 9624 bytes
-rw-r--r--internal/generator/templates/themes/synthwave/ShareTechMono-Regular.woff2bin0 -> 15620 bytes
-rw-r--r--internal/generator/templates/themes/synthwave/theme.css18
5 files changed, 73 insertions, 0 deletions
diff --git a/README.md b/README.md
index 902c1b3..4163b2b 100644
--- a/README.md
+++ b/README.md
@@ -136,6 +136,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).
+- **synthwave** — *Russo One* Regular (.woff2, latin+latin-ext) by
+ Jovanny Lemonad and *Share Tech Mono* Regular (.woff2, latin+latin-ext) by
+ Carrois Apostrophe, from Google Fonts
+ ([Russo One](https://fonts.google.com/specimen/Russo+One),
+ [Share Tech Mono](https://fonts.google.com/specimen/Share+Tech+Mono)),
+ [SIL OFL 1.1](https://openfontlicense.org/open-font-license-official-text/).
+ See [internal/generator/templates/themes/synthwave/FONT_LICENSE.txt](internal/generator/templates/themes/synthwave/FONT_LICENSE.txt).
When adding a new bundled font:
diff --git a/internal/generator/templates/themes/synthwave/FONT_LICENSE.txt b/internal/generator/templates/themes/synthwave/FONT_LICENSE.txt
new file mode 100644
index 0000000..9befd8b
--- /dev/null
+++ b/internal/generator/templates/themes/synthwave/FONT_LICENSE.txt
@@ -0,0 +1,48 @@
+Synthwave theme fonts
+=====================
+
+This directory bundles the web fonts:
+
+ RussoOne-Regular.woff2 (weight 400)
+ ShareTechMono-Regular.woff2 (weight 400)
+
+Subsets:
+
+ Russo One latin, latin-ext
+ Share Tech Mono latin, latin-ext
+
+Source / version
+----------------
+- Russo One family page : https://fonts.google.com/specimen/Russo+One
+- Russo One designer : Jovanny Lemonad
+- Russo One webfont set : russo-one-v18 (latin + latin-ext, woff2)
+- Russo One fetched via : https://gwfh.mranftl.com/fonts/russo-one (Webfonts Helper)
+- Russo One fetched on : 2026-05-01
+- Share Tech Mono family page : https://fonts.google.com/specimen/Share+Tech+Mono
+- Share Tech Mono designer : Carrois Apostrophe
+- Share Tech Mono webfont set : share-tech-mono-v16 (latin + latin-ext, TTF from Google Fonts CSS2, subset=latin-ext)
+- Share Tech Mono fetched via : https://fonts.google.com/specimen/Share+Tech+Mono
+- Share Tech Mono converted : TTF to woff2 with fonttools pyftsubset --flavor=woff2
+- Share Tech Mono fetched on : 2026-05-01
+
+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/
+ - Russo One source : https://github.com/google/fonts/tree/main/ofl/russoone
+ - Share Tech Mono source : https://github.com/google/fonts/tree/main/ofl/sharetechmono
+
+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 "Russo One" or "Share Tech Mono".
+
+Required attribution
+--------------------
+Font: "Russo One" by Jovanny Lemonad - https://github.com/google/fonts/tree/main/ofl/russoone
+ Licensed under the SIL Open Font License 1.1.
+
+Font: "Share Tech Mono" by Carrois Apostrophe - https://github.com/google/fonts/tree/main/ofl/sharetechmono
+ Licensed under the SIL Open Font License 1.1.
diff --git a/internal/generator/templates/themes/synthwave/RussoOne-Regular.woff2 b/internal/generator/templates/themes/synthwave/RussoOne-Regular.woff2
new file mode 100644
index 0000000..04e093f
--- /dev/null
+++ b/internal/generator/templates/themes/synthwave/RussoOne-Regular.woff2
Binary files differ
diff --git a/internal/generator/templates/themes/synthwave/ShareTechMono-Regular.woff2 b/internal/generator/templates/themes/synthwave/ShareTechMono-Regular.woff2
new file mode 100644
index 0000000..faf466e
--- /dev/null
+++ b/internal/generator/templates/themes/synthwave/ShareTechMono-Regular.woff2
Binary files differ
diff --git a/internal/generator/templates/themes/synthwave/theme.css b/internal/generator/templates/themes/synthwave/theme.css
index 085ca7f..7aaad5b 100644
--- a/internal/generator/templates/themes/synthwave/theme.css
+++ b/internal/generator/templates/themes/synthwave/theme.css
@@ -1,3 +1,21 @@
+ /* Self-hosted web fonts: Russo One and Share Tech Mono (SIL OFL 1.1).
+ Sources: https://fonts.google.com/specimen/Russo+One and
+ https://fonts.google.com/specimen/Share+Tech+Mono
+ See FONT_LICENSE.txt in this directory. */
+ @font-face {
+ font-family: 'Russo One';
+ src: url('RussoOne-Regular.woff2') format('woff2');
+ font-weight: 400;
+ font-style: normal;
+ font-display: swap;
+ }
+ @font-face {
+ font-family: 'Share Tech Mono';
+ src: url('ShareTechMono-Regular.woff2') format('woff2');
+ font-weight: 400;
+ font-style: normal;
+ font-display: swap;
+ }
:root { --pink:#ff2d78; --purple:#bf3fff; --orange:#ff6b2b; --bg:#0d0221; }
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:'Russo One','Arial Black',sans-serif; background:var(--bg);