Skip to content

v0.5.15

Choose a tag to compare

@github-actions github-actions released this 04 Jun 16:01
· 28 commits to main since this release

Added

  • G Theme footer hotkey — G now appears in the bottom shortcut bar with a prominent info-bold style so users immediately see they can cycle auto → dark → light themes from the keyboard
  • Forced background colours per theme — light mode paints a pure white background (#FFFFFF) on every line, and dark mode paints a deep dark blue-black background (#070D18), completely ignoring the terminal's native colour scheme. Light mode now renders correctly even inside a macOS Dark-mode terminal, and vice-versa
  • Full dark/light palette coverage — every hardcoded foreground and background colour in the TUI now has proper dark and light variants:
    • Context window size colours (gold/green/teal/cyan) now use muted, readable variants in light mode
    • Column header flash & sort-active backgrounds use auto-contrast text (getReadableTextRgb) instead of hardcoded white
    • Auth-fail row backgrounds are light red in light mode instead of dark red
    • Update banner, speed test badge, benchmark badge, Ctrl+P palette label, Twitter link, and release date text all have dedicated light-mode palette entries
    • Header logo bar keeps its black background in both modes (intentional contrast)
  • Initial alt-screen fill with the active theme background colour to prevent a flash of the terminal's native bg before the first TUI frame renders

Changed

  • THEME_BG_RGB export in theme.js provides a dynamic bg fill color for the active theme
  • renderTable now injects \x1b[48;2;R;G;Bm before every \x1b[K (erase-to-EOL) and \x1b[J (erase-below) so space clearing respects the theme's background
  • 19 hardcoded chalk.rgb() / chalk.bgRgb() calls replaced with currentPalette() lookups