diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-01 16:38:19 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-01 16:38:19 +0300 |
| commit | abbc316e1def71b7aceeb428b2bde83ee6bf5ca7 (patch) | |
| tree | 42208e32020691e4133556fc7b4ed2da3315ef13 /internal | |
| parent | cfc892e32478ff6c59ba358766aafc518c9c5965 (diff) | |
za: self-host neon Orbitron webfonts
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/generator/templates/themes/neon/FONT_LICENSE.txt | 42 | ||||
| -rw-r--r-- | internal/generator/templates/themes/neon/orbitron-v35-latin_latin-ext-500.woff2 | bin | 0 -> 5928 bytes | |||
| -rw-r--r-- | internal/generator/templates/themes/neon/orbitron-v35-latin_latin-ext-700.woff2 | bin | 0 -> 5856 bytes | |||
| -rw-r--r-- | internal/generator/templates/themes/neon/orbitron-v35-latin_latin-ext-regular.woff2 | bin | 0 -> 5744 bytes | |||
| -rw-r--r-- | internal/generator/templates/themes/neon/theme.css | 24 |
5 files changed, 65 insertions, 1 deletions
diff --git a/internal/generator/templates/themes/neon/FONT_LICENSE.txt b/internal/generator/templates/themes/neon/FONT_LICENSE.txt new file mode 100644 index 0000000..b9d7919 --- /dev/null +++ b/internal/generator/templates/themes/neon/FONT_LICENSE.txt @@ -0,0 +1,42 @@ +Neon theme font +=============== + +This directory bundles the web fonts: + + orbitron-v35-latin_latin-ext-regular.woff2 (weight 400) + orbitron-v35-latin_latin-ext-500.woff2 (weight 500) + orbitron-v35-latin_latin-ext-700.woff2 (weight 700) + +Subsets: + + Orbitron latin, latin-ext + +Source / version +---------------- +- Orbitron family page : https://fonts.google.com/specimen/Orbitron +- Orbitron copyright : The Orbitron Project Authors +- Orbitron original designer : Matt McInerney +- Orbitron webfont set : orbitron-v35 (latin + latin-ext) +- Orbitron fetched via : Google Fonts CSS2 API for Orbitron 400/500/700 +- Orbitron upstream source : https://github.com/google/fonts/tree/main/ofl/orbitron +- Orbitron project source : https://github.com/theleagueof/orbitron +- Orbitron converted : TTF to woff2 with fonttools pyftsubset --flavor=woff2 +- Orbitron 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/orbitron + +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 "Orbitron". + +Required attribution +-------------------- +Font: "Orbitron" by The Orbitron Project Authors - https://github.com/theleagueof/orbitron + Licensed under the SIL Open Font License 1.1. diff --git a/internal/generator/templates/themes/neon/orbitron-v35-latin_latin-ext-500.woff2 b/internal/generator/templates/themes/neon/orbitron-v35-latin_latin-ext-500.woff2 Binary files differnew file mode 100644 index 0000000..07eef01 --- /dev/null +++ b/internal/generator/templates/themes/neon/orbitron-v35-latin_latin-ext-500.woff2 diff --git a/internal/generator/templates/themes/neon/orbitron-v35-latin_latin-ext-700.woff2 b/internal/generator/templates/themes/neon/orbitron-v35-latin_latin-ext-700.woff2 Binary files differnew file mode 100644 index 0000000..3389164 --- /dev/null +++ b/internal/generator/templates/themes/neon/orbitron-v35-latin_latin-ext-700.woff2 diff --git a/internal/generator/templates/themes/neon/orbitron-v35-latin_latin-ext-regular.woff2 b/internal/generator/templates/themes/neon/orbitron-v35-latin_latin-ext-regular.woff2 Binary files differnew file mode 100644 index 0000000..1c8dbcd --- /dev/null +++ b/internal/generator/templates/themes/neon/orbitron-v35-latin_latin-ext-regular.woff2 diff --git a/internal/generator/templates/themes/neon/theme.css b/internal/generator/templates/themes/neon/theme.css index cd57dab..87c5c21 100644 --- a/internal/generator/templates/themes/neon/theme.css +++ b/internal/generator/templates/themes/neon/theme.css @@ -1,4 +1,26 @@ - @import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700&display=swap'); + /* Self-hosted web font: Orbitron (SIL OFL 1.1). + Source: https://fonts.google.com/specimen/Orbitron */ + @font-face { + font-family: 'Orbitron'; + src: url('orbitron-v35-latin_latin-ext-regular.woff2') format('woff2'); + font-weight: 400; + font-style: normal; + font-display: swap; + } + @font-face { + font-family: 'Orbitron'; + src: url('orbitron-v35-latin_latin-ext-500.woff2') format('woff2'); + font-weight: 500; + font-style: normal; + font-display: swap; + } + @font-face { + font-family: 'Orbitron'; + src: url('orbitron-v35-latin_latin-ext-700.woff2') format('woff2'); + font-weight: 700; + font-style: normal; + font-display: swap; + } :root { --neon-cyan:#00f5ff; --neon-magenta:#ff00cc; --neon-yellow:#ffe700; } * { margin:0; padding:0; box-sizing:border-box; } body { font-family:'Orbitron',sans-serif; background:#0b001a; color:#e0f8ff; overflow:hidden; height:100vh; height:100dvh; } |
