Skip to content

Is it possible to change the hex value of default colors? #4294

Answered by stefanhaller
GP4cK asked this question in Q&A
Discussion options

You must be logged in to vote

To expand on Luca's answer a bit: there are two types of colors in TUI applications, standard palette colors (16 of them) and hex colors. Lazygit only uses standard palette colors by default (although you can override some of them with hex colors as shown above).

The definition of how palette colors map to actual hex colors is not under lazygit's control, you define this in whatever terminal emulator you are using. Most terminal emulators have some sort of preference window for picking the colors; Ghostty has a pretty nifty theme chooser.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@GP4cK
Comment options

Comment options

You must be logged in to vote
1 reply
@GP4cK
Comment options

Answer selected by GP4cK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants