Skip to content

Implements adaptive TUI theming and design skill#30

Merged
aboo merged 3 commits into
mainfrom
feature/pap-7044-organise-theme
Apr 29, 2026
Merged

Implements adaptive TUI theming and design skill#30
aboo merged 3 commits into
mainfrom
feature/pap-7044-organise-theme

Conversation

@aboo
Copy link
Copy Markdown
Contributor

@aboo aboo commented Apr 29, 2026

What does this PR do?

  • Centralizes the Terminal User Interface (TUI) theme management into a dedicated module, replacing hardcoded color values with semantic tokens.
  • Introduces automatic light and dark mode detection for the TUI, allowing the application to adapt its appearance based on the terminal's background color.
  • Applies these new theme tokens across the workbench-cli screens for a consistent and adaptable visual experience.
  • Adds an internal tui-design skill document outlining universal design patterns, principles, and best practices for building exceptional terminal user interfaces.

Relates to PAP-7044

aboo added 3 commits April 28, 2026 18:55
- Extract hardcoded hex colours from 13 screen files into
  a palette/tokens/theme architecture
- Add terminal background detection for automatic dark/light
  mode selection at startup
- Ensure all colour references go through semantic tokens
  instead of inline string literals
- Add unit tests for token integrity and detection fallback
- Exclude test directories from TypeScript compilation
- Remove standalone tui-design skill reference doc

Delivers PAP-7044
@aboo aboo merged commit 387fc46 into main Apr 29, 2026
1 check passed
@aboo aboo deleted the feature/pap-7044-organise-theme branch April 29, 2026 00:12
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.

1 participant