diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-01 16:31:40 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-01 16:31:40 +0300 |
| commit | cfc892e32478ff6c59ba358766aafc518c9c5965 (patch) | |
| tree | 9d8e0862f9869b5fecc4c7b3cccbbae4b9814911 | |
| parent | 65df89a9594406106860c7824fd47b2c33da8a8f (diff) | |
xa: self-host surveillance webfont
| -rw-r--r-- | README.md | 4 | ||||
| -rw-r--r-- | internal/generator/templates/themes/surveillance/FONT_LICENSE.txt | 38 | ||||
| -rw-r--r-- | internal/generator/templates/themes/surveillance/share-tech-mono-v16-latin_latin-ext-regular.woff2 | bin | 0 -> 13760 bytes | |||
| -rw-r--r-- | internal/generator/templates/themes/surveillance/theme.css | 10 |
4 files changed, 52 insertions, 0 deletions
@@ -171,6 +171,10 @@ 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/retro/FONT_LICENSE.txt](internal/generator/templates/themes/retro/FONT_LICENSE.txt). +- **surveillance** — *Share Tech Mono* Regular (.woff2, latin+latin-ext) + by Carrois Apostrophe, from [Google Fonts](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/surveillance/FONT_LICENSE.txt](internal/generator/templates/themes/surveillance/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 diff --git a/internal/generator/templates/themes/surveillance/FONT_LICENSE.txt b/internal/generator/templates/themes/surveillance/FONT_LICENSE.txt new file mode 100644 index 0000000..751af5e --- /dev/null +++ b/internal/generator/templates/themes/surveillance/FONT_LICENSE.txt @@ -0,0 +1,38 @@ +Share Tech Mono +=============== + +This directory bundles the web font: + + share-tech-mono-v16-latin_latin-ext-regular.woff2 (weight 400) + +Subset: + + latin, latin-ext + +Source / version +---------------- +- Family page : https://fonts.google.com/specimen/Share+Tech+Mono +- Designer : Carrois Apostrophe +- Webfont set : share-tech-mono-v16 (latin + latin-ext) +- Fetched via : Google Fonts CSS2 API for Share Tech Mono 400 +- Upstream source : https://github.com/google/fonts/tree/main/ofl/sharetechmono +- Converted : TTF to woff2 with fonttools pyftsubset --flavor=woff2 +- 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/ + - 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 Name "Share Tech Mono". + +Required attribution +-------------------- +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/surveillance/share-tech-mono-v16-latin_latin-ext-regular.woff2 b/internal/generator/templates/themes/surveillance/share-tech-mono-v16-latin_latin-ext-regular.woff2 Binary files differnew file mode 100644 index 0000000..3c52912 --- /dev/null +++ b/internal/generator/templates/themes/surveillance/share-tech-mono-v16-latin_latin-ext-regular.woff2 diff --git a/internal/generator/templates/themes/surveillance/theme.css b/internal/generator/templates/themes/surveillance/theme.css index 4a9b33a..6fea32f 100644 --- a/internal/generator/templates/themes/surveillance/theme.css +++ b/internal/generator/templates/themes/surveillance/theme.css @@ -1,3 +1,13 @@ + /* Self-hosted web font: Share Tech Mono (SIL OFL 1.1). + Source: https://fonts.google.com/specimen/Share+Tech+Mono + See FONT_LICENSE.txt in this directory. */ + @font-face { + font-family: 'Share Tech Mono'; + src: url('share-tech-mono-v16-latin_latin-ext-regular.woff2') format('woff2'); + font-weight: 400; + font-style: normal; + font-display: swap; + } :root { --phosphor:#bcffd4; --green:#63f3a8; --grey:#88a197; --alert:#ff4d5c; --bg:#09100d; --panel:#101916; } * { margin:0; padding:0; box-sizing:border-box; } body { font-family:'Share Tech Mono','Courier New',monospace; background:var(--bg); color:var(--phosphor); overflow:hidden; height:100vh; height:100dvh; } |
