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

Feature request: Custom color themes #392

Open
holmanb opened this issue May 31, 2024 · 4 comments
Open

Feature request: Custom color themes #392

holmanb opened this issue May 31, 2024 · 4 comments

Comments

@holmanb
Copy link

holmanb commented May 31, 2024

Is your feature request related to a problem? Please describe.
I cannot customize the color palette.

Describe the solution you'd like
I'd love to be able to define on the commandline or in a configuration file which colors to use.

Describe alternatives you've considered
I've tried default, low-contrast, gruvbox, solarized-dark16, solarized-light16. I'd like a low-contrast theme which goes well with my preferred dark terminal. The default is the least offensive to me, but I'd like to have a default which I can fully customize to meet my needs.

@SKrPl
Copy link

SKrPl commented Aug 10, 2024

Yes, this is much needed, I recently started using catppuccin and I wanted to use the same in powerline-go, but can't at the moment.

@holmanb
Copy link
Author

holmanb commented Aug 10, 2024

Yes, this is much needed, I recently started using catppuccin and I wanted to use the same in powerline-go, but can't at the moment.

Agreed, catpuccin is my preferred theme and I would love to see powerline-go match this color scheme.

@Justin08784
Copy link

This would be greatly appreciated!

@gentoomaniac
Copy link

gentoomaniac commented Dec 15, 2024

That is actually supported.
You can specify a path with -theme ending with .json and the code tries to load it.
A sample of the config file is here
As far as I understand the code you can also specify it in ~/.config/powerline-go/config.json in the Themes src map, key is the theme name and the linked structure would be the value.

Haven't tested this myself though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants