Skip to content

TUI default theme: navy -> default - #124

Merged
FMXExpress merged 1 commit into
claude/tui-themesfrom
claude/tui-default-theme
Jun 1, 2026
Merged

FMXExpress merged 1 commit into
claude/tui-themesfrom
claude/tui-default-theme

Conversation

@FMXExpress

Copy link
Copy Markdown
Owner

Summary

Tiny follow-up on PR #123: switch the TUI's default theme from navy to default (DMVCFramework's canonical ConsoleThemeDefault).

Stacked on claude/tui-themes so this PR contains only the default-flip; the diff is just the swap of which name is the silent fallback. Will merge cleanly into main once #123 is in.

Changes

  • ResolveTheme — silent fallback at the end of the if/else chain is now ConsoleThemeDefault instead of ConsoleThemeNavy; 'navy' moved into the explicit-match list. Unknown / unset theme names render in DMVCFramework's canonical default palette rather than navy-blue.
  • CanonicalThemeName — empty / unknown name returns 'default'.
  • THEME_NAMES array reordered so 'default' is first; this is also the /theme menu display order, so the picker opens with default at the top.
  • README + ThemeName field docstring updated to match.

Test plan

  • FPC build clean (443731 lines)
  • make smoke 11/11 OK
  • Manual Delphi run — verify pasclaw tui (no flag) starts in the default theme, pasclaw tui --theme navy still picks navy, /theme menu shows default at the top.

Generated by Claude Code

Tiny follow-up to PR #123: 'default' is now the default theme in
both the silent-fallback and the no-flag-passed case.

  - ResolveTheme: silent fallback at the end of the if/else chain
    is now ConsoleThemeDefault instead of ConsoleThemeNavy; 'navy'
    moved into the explicit-match list. Behavioural result for
    callers: unknown / unset theme names render in DMVCFramework's
    canonical default palette rather than the navy-blue scheme.
  - CanonicalThemeName: empty-or-unknown fallback returns 'default'
    instead of 'navy'.
  - THEME_NAMES: reordered so 'default' is first; this is also the
    /theme menu display order, so the picker now opens with
    'default' at the top.
  - README + ThemeName docstring updated to match.

Stacks on PR #123 (claude/tui-themes).

https://claude.ai/code/session_01TBcLtmpj7dqA5tyFbGnQon
@FMXExpress
FMXExpress merged commit 9e072af into claude/tui-themes Jun 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants