You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The site ships with seven colour packs selectable at runtime via the theme shell command or the settings panel. Each pack is a self-contained object—no separate CSS files, no build step.
ThemePack interface
exportinterfaceThemePack{id: string// slug used in localStorage and the `theme` commandlabel: string// display name shown in the pickerterminal: ITheme// xterm.js colour palettematrixRain: string[]// 8 hex colours for matrix rain glyph tintscss: Record<string,string>// maps every --th-* custom property to a value}
Defined in src/theme-packs.ts. Exported as THEME_PACKS: ThemePack[].
terminal (ITheme)
Standard 16-colour ANSI palette plus xterm extras. Required keys:
Key
Purpose
background
Terminal canvas background
foreground
Default text colour
cursor
Cursor block fill
cursorAccent
Text colour under cursor
black … white
ANSI 0–7
brightBlack … brightWhite
ANSI 8–15
selectionBackground
Selection highlight
selectionInactiveBackground
Selection when terminal unfocused
theme-control.ts calls terminal.options.theme = pack.terminal when a pack is applied.
matrixRain
An array of 8 hex strings. matrix-bg.ts cycles through these to tint individual glyph columns. Pick colours from the palette's bright range so they read over the dark desktop background.