Merged
Conversation
Contributor
Author
|
Hey @orhun, thanks for the review! By the way, I loved your talk about embedded ratatouille at the Tokyo Rust meetup! |
orhun
reviewed
Jan 26, 2026
orhun
approved these changes
Jan 27, 2026
Member
|
Oops, there seems to be some clippy issues, can you address them? (If not I can get to this soon) We could create a separate struct for mitigating |
Contributor
Author
|
Fixed the clippy problems. Sorry for not checking before 😓 |
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hello!
This pull request introduces a new color theme system to the Mousefood embedded terminal library, allowing users to customize how Ratatui colors are mapped to display pixels. The changes include a new
ColorThemestruct with built-in themes, updates to the backend to support color themes, and refactoring of color conversion logic.Colors can be remapped using
color_themeonEmbeddedBackendConfig.By default the ANSI palette is used.
Besides, the Tokio Night color theme has been included as a built-in theme.
Below an example of the ansi and Tokio Night themes working with the emulator example: