summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-01 10:49:48 +0300
committerPaul Buetow <paul@buetow.org>2026-05-01 10:49:48 +0300
commitf1a10883c0176eeb718280942d75c4241e8263d4 (patch)
treece4ba98b585750ff1ac5738b5d3c7f3d85b0e094
parent999f4198cb97778bd0d52fd0106481c4fb9e525c (diff)
Self-host Rajdhani for plasma theme (task 8b)
-rw-r--r--README.md4
-rw-r--r--internal/generator/templates/themes/plasma/FONT_LICENSE.txt36
-rw-r--r--internal/generator/templates/themes/plasma/rajdhani-v17-latin_latin-ext-600.woff2bin0 -> 23808 bytes
-rw-r--r--internal/generator/templates/themes/plasma/rajdhani-v17-latin_latin-ext-regular.woff2bin0 -> 22304 bytes
-rw-r--r--internal/generator/templates/themes/plasma/theme.css19
5 files changed, 58 insertions, 1 deletions
diff --git a/README.md b/README.md
index 9eb5840..7f627cb 100644
--- a/README.md
+++ b/README.md
@@ -136,6 +136,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/matrix/FONT_LICENSE.txt](internal/generator/templates/themes/matrix/FONT_LICENSE.txt).
+- **plasma** — *Rajdhani* Regular + SemiBold (.woff2, latin+latin-ext) by
+ Indian Type Foundry, from [Google Fonts](https://fonts.google.com/specimen/Rajdhani),
+ [SIL OFL 1.1](https://openfontlicense.org/open-font-license-official-text/).
+ See [internal/generator/templates/themes/plasma/FONT_LICENSE.txt](internal/generator/templates/themes/plasma/FONT_LICENSE.txt).
- **retro** — *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/plasma/FONT_LICENSE.txt b/internal/generator/templates/themes/plasma/FONT_LICENSE.txt
new file mode 100644
index 0000000..6894774
--- /dev/null
+++ b/internal/generator/templates/themes/plasma/FONT_LICENSE.txt
@@ -0,0 +1,36 @@
+Rajdhani
+========
+
+This directory bundles the web fonts:
+
+ rajdhani-v17-latin_latin-ext-regular.woff2 (weight 400)
+ rajdhani-v17-latin_latin-ext-600.woff2 (weight 600)
+
+Subsets: latin, latin-ext.
+
+Source / version
+----------------
+- Family page : https://fonts.google.com/specimen/Rajdhani
+- Designer : Indian Type Foundry
+- Webfont set : rajdhani-v17 (latin + latin-ext, woff2)
+- Fetched via : https://gwfh.mranftl.com/fonts/rajdhani (Webfonts Helper)
+- Download URL: https://gwfh.mranftl.com/api/fonts/rajdhani?download=zip&subsets=latin,latin-ext&formats=woff2&variants=regular,600
+- Fetched on : 2026-05-01
+- Project : https://github.com/itfoundry/rajdhani
+
+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 "Rajdhani".
+
+Required attribution
+--------------------
+Font: "Rajdhani" by Indian Type Foundry - https://github.com/itfoundry/rajdhani
+ Licensed under the SIL Open Font License 1.1.
diff --git a/internal/generator/templates/themes/plasma/rajdhani-v17-latin_latin-ext-600.woff2 b/internal/generator/templates/themes/plasma/rajdhani-v17-latin_latin-ext-600.woff2
new file mode 100644
index 0000000..23d2ce1
--- /dev/null
+++ b/internal/generator/templates/themes/plasma/rajdhani-v17-latin_latin-ext-600.woff2
Binary files differ
diff --git a/internal/generator/templates/themes/plasma/rajdhani-v17-latin_latin-ext-regular.woff2 b/internal/generator/templates/themes/plasma/rajdhani-v17-latin_latin-ext-regular.woff2
new file mode 100644
index 0000000..a329a25
--- /dev/null
+++ b/internal/generator/templates/themes/plasma/rajdhani-v17-latin_latin-ext-regular.woff2
Binary files differ
diff --git a/internal/generator/templates/themes/plasma/theme.css b/internal/generator/templates/themes/plasma/theme.css
index f0a4073..75cab8e 100644
--- a/internal/generator/templates/themes/plasma/theme.css
+++ b/internal/generator/templates/themes/plasma/theme.css
@@ -1,6 +1,23 @@
+ /* Self-hosted web font: Rajdhani by Indian Type Foundry
+ (SIL OFL 1.1). Source: https://fonts.google.com/specimen/Rajdhani
+ See FONT_LICENSE.txt in this directory. */
+ @font-face {
+ font-family: 'Rajdhani';
+ src: url('rajdhani-v17-latin_latin-ext-regular.woff2') format('woff2');
+ font-weight: 400;
+ font-style: normal;
+ font-display: swap;
+ }
+ @font-face {
+ font-family: 'Rajdhani';
+ src: url('rajdhani-v17-latin_latin-ext-600.woff2') format('woff2');
+ font-weight: 600;
+ font-style: normal;
+ font-display: swap;
+ }
:root { --cyan:#00f0ff; --magenta:#ff00e0; --yellow:#ffee00; --bg:#050008; }
* { margin:0; padding:0; box-sizing:border-box; }
- body { font-family:'Segoe UI',system-ui,sans-serif; background:var(--bg);
+ body { font-family:'Rajdhani','Segoe UI',system-ui,sans-serif; background:var(--bg);
color:#e8e0ff; 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; }