Skip to content

Refactor all styling and color handling#141

Merged
andschneider merged 10 commits intomainfrom
colors
Apr 30, 2026
Merged

Refactor all styling and color handling#141
andschneider merged 10 commits intomainfrom
colors

Conversation

@andschneider
Copy link
Copy Markdown
Collaborator

Styling and colors were set individually in each component. This led to inconsistencies in things like borders and some text. Additionally, dimmed text was done incorrectly by just using a dark grey color instead of the Modifier::DIM. This fixes those problems and centralizes styling for borders, table highlights, and table headers.

This wasn't a problem for most dark themes, however for light themes the TUI was unusable. By changing to the default color for text the terminal's own theme can set it.

Before After
light-before light-after
solar-before solar-after

Also, this enables adding themes pretty trivially in the future.

@andschneider andschneider merged commit b12b159 into main Apr 30, 2026
3 checks passed
@andschneider andschneider deleted the colors branch April 30, 2026 00:05
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