diff options
| author | grm <grm@eyesin.space> | 2026-09-17 22:54:19 +0300 |
|---|---|---|
| committer | grm <grm@eyesin.space> | 2026-09-17 22:54:19 +0300 |
| commit | ad30b38759dc222a7137598559998acbd0c06740 (patch) | |
| tree | ee6f00b03a32420dd70211ade20684697b325086 /internal/web/templates/dashboard | |
| parent | 9d3ab1b781a712b73311d2f2b0b822ae02de99ff (diff) | |
| download | blogspace-ad30b38759dc222a7137598559998acbd0c06740.tar.gz blogspace-ad30b38759dc222a7137598559998acbd0c06740.tar.bz2 blogspace-ad30b38759dc222a7137598559998acbd0c06740.zip | |
Add Fira Code as a built-in font choice
The variable face (v6.2, OFL, licence alongside) is bundled in static/ and
declared as @font-face whenever the text or heading font is "fira"; the
stack falls back through Fira Mono, Menlo and Consolas to Courier.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Sd8UPWrvyYCLj97JexNw3A
Diffstat (limited to 'internal/web/templates/dashboard')
| -rw-r--r-- | internal/web/templates/dashboard/design.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/web/templates/dashboard/design.html b/internal/web/templates/dashboard/design.html index 31913f6..fea1b92 100644 --- a/internal/web/templates/dashboard/design.html +++ b/internal/web/templates/dashboard/design.html @@ -71,12 +71,14 @@ <option value="sans"{{if eq $t.Font "sans"}} selected{{end}}>Sans-serif (Helvetica/Arial)</option> <option value="serif"{{if eq $t.Font "serif"}} selected{{end}}>Serif (Georgia/Times)</option> <option value="mono"{{if eq $t.Font "mono"}} selected{{end}}>Monospace (Courier)</option> + <option value="fira"{{if eq $t.Font "fira"}} selected{{end}}>Fira Code</option> </select></label> <label>{{t "Heading font"}}<br><select name="heading_font"> <option value="same"{{if eq $t.HeadingFont "same"}} selected{{end}}>{{t "Same as text"}}</option> <option value="sans"{{if eq $t.HeadingFont "sans"}} selected{{end}}>Sans-serif</option> <option value="serif"{{if eq $t.HeadingFont "serif"}} selected{{end}}>Serif</option> <option value="mono"{{if eq $t.HeadingFont "mono"}} selected{{end}}>Monospace</option> + <option value="fira"{{if eq $t.HeadingFont "fira"}} selected{{end}}>Fira Code</option> </select></label> <label>{{t "Text size"}}<br><select name="font_size"> <option value="small"{{if eq $t.FontSize "small"}} selected{{end}}>{{t "Small"}}</option> |
