Skip to content

fix: default to white on black when converting to BinaryColor#111

Merged
j-g00da merged 2 commits intoratatui:mainfrom
x37v:xnor/fix-binary-color
Jul 3, 2025
Merged

fix: default to white on black when converting to BinaryColor#111
j-g00da merged 2 commits intoratatui:mainfrom
x37v:xnor/fix-binary-color

Conversation

@x37v
Copy link
Copy Markdown
Contributor

@x37v x37v commented Jul 3, 2025

black for Background, white for Foreground

@j-g00da j-g00da changed the title fix binary TermColor fix: default to white on black when converting to BinaryColor Jul 3, 2025
Copy link
Copy Markdown
Member

@j-g00da j-g00da left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add some additional cases to into_binary_color test?

@j-g00da
Copy link
Copy Markdown
Member

j-g00da commented Jul 3, 2025

Thanks!

@j-g00da j-g00da merged commit 1028ac2 into ratatui:main Jul 3, 2025
24 checks passed
@github-actions github-actions bot mentioned this pull request Jan 23, 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