caiogondim / bullet-train.zsh

:bullettrain_side: An oh-my-zsh shell theme based on the Powerline Vim plugin
MIT License
2.82k stars 382 forks source link

List of all colors available? #341

Closed naquiroz closed 3 months ago

naquiroz commented 1 year ago

Is there a list or a reference to all the colors I can use to customize the theme?

jaskij commented 1 year ago

Digging through the source code, it seems to be passing the color directly to ZSH, using %F and %K, as described in section 13.2.5 here in the ZSH manual. From there, we get to section 18.7, which, in part, says:

The foreground colour should be set to colour, a decimal integer, the name of one of the eight most widely-supported colours or as a ‘#’ followed by an RGB triplet in hexadecimal format.

From the next paragraph, the basic colors are black, red, green, yellow, blue, magenta, cyan and white