diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-01 16:44:23 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-01 16:44:23 +0300 |
| commit | cb9c0fa9b25acdc4931386335e24ab82100d7b73 (patch) | |
| tree | 371ba7592fad2cb9da390b64bf81c54c7a6d62b5 | |
| parent | abbc316e1def71b7aceeb428b2bde83ee6bf5ca7 (diff) | |
Task 5b: self-host aurora Manrope fonts
| -rw-r--r-- | README.md | 4 | ||||
| -rw-r--r-- | internal/generator/templates/themes/aurora/FONT_LICENSE.txt | 40 | ||||
| -rw-r--r-- | internal/generator/templates/themes/aurora/manrope-v20-latin_latin-ext-600.woff2 | bin | 0 -> 18980 bytes | |||
| -rw-r--r-- | internal/generator/templates/themes/aurora/manrope-v20-latin_latin-ext-regular.woff2 | bin | 0 -> 19052 bytes | |||
| -rw-r--r-- | internal/generator/templates/themes/aurora/theme.css | 25 |
5 files changed, 65 insertions, 4 deletions
@@ -124,6 +124,10 @@ attribution. Bundled web fonts: +- **aurora** — *Manrope* Regular + SemiBold (.woff2, latin+latin-ext) by + Mikhail Sharanda, from [Google Fonts](https://fonts.google.com/specimen/Manrope), + [SIL OFL 1.1](https://openfontlicense.org/open-font-license-official-text/). + See [internal/generator/templates/themes/aurora/FONT_LICENSE.txt](internal/generator/templates/themes/aurora/FONT_LICENSE.txt). - **dos** — *WebPlus IBM VGA 8x16* (.woff) by VileR, from the [Ultimate Oldschool PC Font Pack v2.2](https://int10h.org/oldschool-pc-fonts/), [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/). diff --git a/internal/generator/templates/themes/aurora/FONT_LICENSE.txt b/internal/generator/templates/themes/aurora/FONT_LICENSE.txt new file mode 100644 index 0000000..78042e3 --- /dev/null +++ b/internal/generator/templates/themes/aurora/FONT_LICENSE.txt @@ -0,0 +1,40 @@ +Manrope +======= + +This directory bundles the web fonts: + + manrope-v20-latin_latin-ext-regular.woff2 (weight 400) + manrope-v20-latin_latin-ext-600.woff2 (weight 600) + +Subsets: latin, latin-ext. + +Source / version +---------------- +- Family page : https://fonts.google.com/specimen/Manrope +- Designer : Mikhail Sharanda +- Webfont set : manrope-v20 (latin + latin-ext, woff2) +- Fetched via : https://gwfh.mranftl.com/fonts/manrope (Webfonts Helper) +- Download URL: https://gwfh.mranftl.com/api/fonts/manrope?download=zip&subsets=latin,latin-ext&formats=woff2&variants=regular,600 +- Fetched on : 2026-05-01 +- Project : https://github.com/aaronbell/manrope +- Upstream metadata commit: 6f81ebecdf65e4463b798cc07b16a4f8d5216917 + +License +------- +SIL Open Font License, Version 1.1. + +Copyright 2018 The Manrope Project Authors +(https://github.com/sharanda/manrope). + + - 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 "Manrope". + +Required attribution +-------------------- +Font: "Manrope" by Mikhail Sharanda - https://github.com/aaronbell/manrope + Licensed under the SIL Open Font License 1.1. diff --git a/internal/generator/templates/themes/aurora/manrope-v20-latin_latin-ext-600.woff2 b/internal/generator/templates/themes/aurora/manrope-v20-latin_latin-ext-600.woff2 Binary files differnew file mode 100644 index 0000000..9a7563b --- /dev/null +++ b/internal/generator/templates/themes/aurora/manrope-v20-latin_latin-ext-600.woff2 diff --git a/internal/generator/templates/themes/aurora/manrope-v20-latin_latin-ext-regular.woff2 b/internal/generator/templates/themes/aurora/manrope-v20-latin_latin-ext-regular.woff2 Binary files differnew file mode 100644 index 0000000..a0a6a59 --- /dev/null +++ b/internal/generator/templates/themes/aurora/manrope-v20-latin_latin-ext-regular.woff2 diff --git a/internal/generator/templates/themes/aurora/theme.css b/internal/generator/templates/themes/aurora/theme.css index 96e4690..26f4c39 100644 --- a/internal/generator/templates/themes/aurora/theme.css +++ b/internal/generator/templates/themes/aurora/theme.css @@ -1,15 +1,32 @@ + /* Self-hosted web font: Manrope by Mikhail Sharanda + (SIL OFL 1.1). Source: https://fonts.google.com/specimen/Manrope + See FONT_LICENSE.txt in this directory. */ + @font-face { + font-family: 'Manrope'; + src: url('manrope-v20-latin_latin-ext-regular.woff2') format('woff2'); + font-weight: 400; + font-style: normal; + font-display: swap; + } + @font-face { + font-family: 'Manrope'; + src: url('manrope-v20-latin_latin-ext-600.woff2') format('woff2'); + font-weight: 600; + font-style: normal; + font-display: swap; + } :root { --green:#00ffb3; --teal:#00cfe8; --purple:#c084fc; --navy:#050d1a; } * { margin:0; padding:0; box-sizing:border-box; } - body { font-family:'Segoe UI',system-ui,sans-serif; background:var(--navy); + body { font-family:'Manrope','Segoe UI',system-ui,sans-serif; background:var(--navy); color:#e0f8f0; 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; } header { padding:16px 28px; background:rgba(5,13,26,0.78); backdrop-filter:blur(14px); border-bottom:1px solid rgba(0,255,179,0.25); display:flex; align-items:center; justify-content:space-between; } .logo { display:flex; align-items:center; gap:14px; } - .logo-mark { font-size:2rem; font-weight:800; background:linear-gradient(90deg,var(--green),var(--teal)); + .logo-mark { font-size:2rem; font-weight:600; background:linear-gradient(90deg,var(--green),var(--teal)); -webkit-background-clip:text; -webkit-text-fill-color:transparent; } - .logo-title h1 { font-size:1.5rem; font-weight:700; color:#e0f8f0; letter-spacing:1px; } + .logo-title h1 { font-size:1.5rem; font-weight:600; color:#e0f8f0; letter-spacing:1px; } .logo-title .subtitle { font-size:0.75rem; color:rgba(224,248,240,0.55); margin-top:2px; } .logo-title .subtitle a { color:var(--green); text-decoration:none; } .logo-title .subtitle a:hover { text-shadow:0 0 8px var(--green); } @@ -81,7 +98,7 @@ filter: blur(0.5px); } [data-sno-theme="aurora"] .splash-title { - font-size:clamp(1.5rem,4.8vw,2.15rem); font-weight:700; letter-spacing:0.04em; + font-size:clamp(1.5rem,4.8vw,2.15rem); font-weight:600; letter-spacing:0.04em; background: linear-gradient(120deg, #e8fff4 0%, var(--green) 45%, var(--teal) 78%, #e0e8ff 100%); -webkit-background-clip:text; -webkit-text-fill-color:transparent; filter: drop-shadow(0 0 28px rgba(0,255,179,0.35)); |
