mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-08 03:01:47 +00:00
feat(dashboard): add 'default-large' built-in theme with 18px base size (#20820)
Same Hermes Teal palette as the default theme, but with baseSize 18px, lineHeight 1.65, and spacious density so the whole dashboard scales up. Gives users a one-click bigger-text preset and a copyable reference for authoring custom YAML themes with their own typography settings.
This commit is contained in:
parent
a24789d738
commit
6388aafbd6
4 changed files with 27 additions and 2 deletions
|
|
@ -183,8 +183,30 @@ export const roseTheme: DashboardTheme = {
|
|||
},
|
||||
};
|
||||
|
||||
/**
|
||||
* Same look as ``defaultTheme`` but with a larger root font size, looser
|
||||
* line-height, and ``spacious`` density so every rem-based size in the
|
||||
* dashboard scales up. For users who find the default 15px UI too dense.
|
||||
*/
|
||||
export const defaultLargeTheme: DashboardTheme = {
|
||||
name: "default-large",
|
||||
label: "Hermes Teal (Large)",
|
||||
description: "Hermes Teal with bigger fonts and roomier spacing",
|
||||
palette: defaultTheme.palette,
|
||||
typography: {
|
||||
...DEFAULT_TYPOGRAPHY,
|
||||
baseSize: "18px",
|
||||
lineHeight: "1.65",
|
||||
},
|
||||
layout: {
|
||||
...DEFAULT_LAYOUT,
|
||||
density: "spacious",
|
||||
},
|
||||
};
|
||||
|
||||
export const BUILTIN_THEMES: Record<string, DashboardTheme> = {
|
||||
default: defaultTheme,
|
||||
"default-large": defaultLargeTheme,
|
||||
midnight: midnightTheme,
|
||||
ember: emberTheme,
|
||||
mono: monoTheme,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue