Themes
Switch terminal color palettes to customize your interactive CLI experience.
KnightCode features a terminal theme engine that adapts styles and colors for high readability during long terminal sessions. It maps colors directly onto standard ANSI rendering sequences and hex mappings supported by modern terminal emulators.
Selecting a Theme
Open the theme selector at any time inside the app by executing the slash command:
/themeThis opens a dialog displaying the list of available themes.
- Use the arrow keys (
↑/↓) to scroll through the list. - KnightCode dynamically updates the TUI theme in the background as you highlight each option, allowing you to preview how it looks.
- Press
Enterto confirm and save your selection, orEscto revert to your original theme.
Built-In Themes
KnightCode bundles six standard themes:
- Dark: The default theme featuring a dark slate background, warm brand accent color, and bright white text.
- Light: A clean light-theme variation for developers working in light-background terminal emulators.
- Dark Daltonized: A high-contrast dark theme optimized for color blindness, swapping red/green indicators for clear blue/orange shades.
- Light Daltonized: High-contrast Daltonized theme optimized for light terminal environments.
- Dark ANSI: A pure black background theme that uses standardized ANSI-color code maps. Highly compatible with traditional terminal interfaces and SSH clients.
- Light ANSI: A standardized ANSI theme mapped for white-background terminal windows.