summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md4
-rw-r--r--internal/generator/templates/themes/cosmos/FONT_LICENSE.txt36
-rw-r--r--internal/generator/templates/themes/cosmos/exo-2-v26-latin_latin-ext-600.woff2bin0 -> 26208 bytes
-rw-r--r--internal/generator/templates/themes/cosmos/exo-2-v26-latin_latin-ext-regular.woff2bin0 -> 25136 bytes
-rw-r--r--internal/generator/templates/themes/cosmos/theme.css19
5 files changed, 58 insertions, 1 deletions
diff --git a/README.md b/README.md
index addd899..ad5706c 100644
--- a/README.md
+++ b/README.md
@@ -132,6 +132,10 @@ Bundled web fonts:
Tyler Finck, from [Google Fonts](https://fonts.google.com/specimen/Oxanium),
[SIL OFL 1.1](https://openfontlicense.org/open-font-license-official-text/).
See [internal/generator/templates/themes/biomech/FONT_LICENSE.txt](internal/generator/templates/themes/biomech/FONT_LICENSE.txt).
+- **cosmos** — *Exo 2* Regular + SemiBold (.woff2, latin+latin-ext) by
+ Natanael Gama, from [Google Fonts](https://fonts.google.com/specimen/Exo+2),
+ [SIL OFL 1.1](https://openfontlicense.org/open-font-license-official-text/).
+ See [internal/generator/templates/themes/cosmos/FONT_LICENSE.txt](internal/generator/templates/themes/cosmos/FONT_LICENSE.txt).
- **matrix** — *VT323* Regular (.woff2, latin+latin-ext) by Peter Hull,
from [Google Fonts](https://fonts.google.com/specimen/VT323),
[SIL OFL 1.1](https://openfontlicense.org/open-font-license-official-text/).
diff --git a/internal/generator/templates/themes/cosmos/FONT_LICENSE.txt b/internal/generator/templates/themes/cosmos/FONT_LICENSE.txt
new file mode 100644
index 0000000..eca295f
--- /dev/null
+++ b/internal/generator/templates/themes/cosmos/FONT_LICENSE.txt
@@ -0,0 +1,36 @@
+Exo 2
+=====
+
+This directory bundles the web fonts:
+
+ exo-2-v26-latin_latin-ext-regular.woff2 (weight 400)
+ exo-2-v26-latin_latin-ext-600.woff2 (weight 600)
+
+Subsets: latin, latin-ext.
+
+Source / version
+----------------
+- Family page : https://fonts.google.com/specimen/Exo+2
+- Designer : Natanael Gama
+- Webfont set : exo-2-v26 (latin + latin-ext, woff2)
+- Fetched via : https://gwfh.mranftl.com/fonts/exo-2 (Webfonts Helper)
+- Download URL: https://gwfh.mranftl.com/api/fonts/exo-2?download=zip&subsets=latin,latin-ext&formats=woff2&variants=regular,600
+- Fetched on : 2026-05-01
+- Project : https://github.com/NDISCOVER/Exo-2.0
+
+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 Name "Exo 2".
+
+Required attribution
+--------------------
+Font: "Exo 2" by Natanael Gama - https://github.com/NDISCOVER/Exo-2.0
+ Licensed under the SIL Open Font License 1.1.
diff --git a/internal/generator/templates/themes/cosmos/exo-2-v26-latin_latin-ext-600.woff2 b/internal/generator/templates/themes/cosmos/exo-2-v26-latin_latin-ext-600.woff2
new file mode 100644
index 0000000..4ee76e7
--- /dev/null
+++ b/internal/generator/templates/themes/cosmos/exo-2-v26-latin_latin-ext-600.woff2
Binary files differ
diff --git a/internal/generator/templates/themes/cosmos/exo-2-v26-latin_latin-ext-regular.woff2 b/internal/generator/templates/themes/cosmos/exo-2-v26-latin_latin-ext-regular.woff2
new file mode 100644
index 0000000..b7ae200
--- /dev/null
+++ b/internal/generator/templates/themes/cosmos/exo-2-v26-latin_latin-ext-regular.woff2
Binary files differ
diff --git a/internal/generator/templates/themes/cosmos/theme.css b/internal/generator/templates/themes/cosmos/theme.css
index 4d67e3e..ed09691 100644
--- a/internal/generator/templates/themes/cosmos/theme.css
+++ b/internal/generator/templates/themes/cosmos/theme.css
@@ -1,6 +1,23 @@
+ /* Self-hosted web font: Exo 2 by Natanael Gama (SIL OFL 1.1).
+ Source: https://fonts.google.com/specimen/Exo+2
+ See FONT_LICENSE.txt in this directory. */
+ @font-face {
+ font-family: 'Exo 2';
+ src: url('exo-2-v26-latin_latin-ext-regular.woff2') format('woff2');
+ font-weight: 400;
+ font-style: normal;
+ font-display: swap;
+ }
+ @font-face {
+ font-family: 'Exo 2';
+ src: url('exo-2-v26-latin_latin-ext-600.woff2') format('woff2');
+ font-weight: 600;
+ font-style: normal;
+ font-display: swap;
+ }
:root { --gold:#ffd166; --purple:#9b5de5; --blue:#4cc9f0; --bg:#020214; }
* { margin:0; padding:0; box-sizing:border-box; }
- body { font-family:'Segoe UI',system-ui,sans-serif; background:var(--bg);
+ body { font-family:'Exo 2','Segoe UI',system-ui,sans-serif; background:var(--bg);
color:#d4e8ff; overflow:hidden; height:100vh; height:100dvh; }
#three-canvas { position:fixed; top:0; left:0; width:100%; height:100%; z-index:1; }
.overlay { position:relative; z-index:10; height:100vh; height:100dvh; display:flex; flex-direction:column; }