mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-17 04:31:55 +00:00
Themes previously embedded layout-affecting values (baseSize, lineHeight, density, letterSpacing) alongside visual identity properties, coupling user ergonomic preferences to color theme selection. This change establishes a clear separation of concerns: - Themes own: palette, font family, border-radius, and font-coupled letterSpacing (e.g. Inter's -0.005em tracking) - Layout scale (baseSize, lineHeight, density) is standardized via DEFAULT_TYPOGRAPHY and DEFAULT_LAYOUT — not overridden per theme All themes now spread DEFAULT_TYPOGRAPHY and DEFAULT_LAYOUT as their base, removing silent divergence and making future layout settings (e.g. user-configurable density) trivially applicable across all themes without per-theme special-casing. |
||
|---|---|---|
| .. | ||
| context.tsx | ||
| index.ts | ||
| presets.ts | ||
| types.ts | ||