citisen/dsh-font
Sets the DSH interface and code fonts, their weights included, from one settings row with a small font-query language.
Gives the interface and code surfaces their own font family and weight without a theme package. Both fields are editors for a small font-query language, not plain text: a family may be unquoted or quoted, only the last word of an unquoted entry may be a weight, commas inside quotes are not separators, and a bare weight word sets the axis without naming a family. The reader is deliberately forgiving — anything it cannot place is kept exactly as typed and reported under the field in warning or error colour, including a family this machine does not list. Weights are offered only where a real face exists, because a synthesised faux-bold presented as a normal choice would be worse than no choice. Selection is durable and only complete in-range numbers are written, so a half-typed 1 on the way to 125 is not stored. The limits are stated plainly: fonts are never bundled or downloaded, so a typo simply resolves to nothing; the interface scale only moves text that shipped sizes as relative units, so 150% is not a uniform 1.5× of the whole UI; and the optional local-font discovery uses queryLocalFonts, which is Chromium-only, experimental and permission-gated.
Install
dsh plugin --profile web add @citisen/dsh-fontThe npm line. Same recovery-first README shape as its sibling: the row id here is ui-font, and the three escape hatches are - id: ui-font / disabled: true in cordis.patch.yml, a one-boot --patch ./no-font.yml overlay, or dsh plugin --profile web remove @citisen/dsh-font (needs pnpm on PATH, otherwise edit dsh.profile.bundles and dependencies by hand). dsh --profile rescue --from-default-profile web boots a clean profile from the shipped template if you want a working server first.
Compatibility
Supports the 0.1.5-rc.x line and 0.1.7-alpha.1 from one build; the settings section is named ui-font on both, because 0.1.7 keys settings by Loader entry id while 0.1.5 registers a namespace of the same name. The migration note is specific: up to 0.2.2 the plugin required the 0.1.5 service and therefore failed to activate on 0.1.7, and 0.2.3 is the release that speaks both lines' settings. One 0.1.7-specific caveat is recorded rather than smoothed over — an icon name that does not exist in the 0.1.7 icon set (the README names IconChevronDownOutlineRegular) does not render.
Details
- Repo: citisen/dsh-font
- Category: Themes & Appearance
- Stars: 0
- Version: 0.3.1 (npm)
- Last push: 2026-09-30
- First seen: 2026-09-15
Alternatives
zhijun-dai/dsh-Fonts · Isilsolme/dsh-anthropic-fonts · SenryLee/dsh-frosted-window