Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customize colors/themes #215

Open
musjj opened this issue Oct 1, 2024 · 4 comments
Open

Customize colors/themes #215

musjj opened this issue Oct 1, 2024 · 4 comments

Comments

@musjj
Copy link

musjj commented Oct 1, 2024

It would be nice if you can customize the colors/themes of the TUI. Or at least make it follow the user's terminal color scheme.

@Canop
Copy link
Owner

Canop commented Oct 13, 2024

Can you clarify the problem you encounter with some screenshots and your OS+terminal configuration ?

@musjj
Copy link
Author

musjj commented Oct 14, 2024

It looks like this:

image

The hardcoded brown and pink does not come from the colors I set for my terminal, confirmed with a color picker.

This is what my terminal colors look like, as printed by msgcat --color=test:

image

@Canop
Copy link
Owner

Canop commented Oct 14, 2024

Ok, but what's the problem ? All bacon colors are standard ANSI 8 bits colors.

@musjj
Copy link
Author

musjj commented Oct 14, 2024

Yes, but the problem is that bacon is using the full range of 256 colors, which is almost never controlled by the user.

By default, most terminal applications uses the basic set of 8-16 colors from here: https://gist.github.com/fnky/458719343aabd01cfb17a3a4f7296797#8-16-colors. These are the colors chosen by the user when they theme their terminal. So following this palette will automatically give the application an appearance that is consistent with the user's preferences.

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

No branches or pull requests

2 participants