git
git copied to clipboard
Git supports 24-bit colours
So the intro for this project reads:
According to Git documentation valid colors are limited to white, black, green, magenta, blue, cyan, yellow, red. Due to the limitation on colors availablility, it appears the best option is to theme your terminal, then adjust the .gitconfig file
But this reasoning isn't true: Git supports 24-bit colour definitions in the hex format #RRGGBB, per this part of the config page: https://git-scm.com/docs/git-config#Documentation/git-config.txt-color
So, wouldn't it be better if this project used such precise color definitions, rather than forcing users to theme their terminal? (Even if terminal theming is generally preferable, if there's a way to decouple Git then it may be preferred by some users.)
(For context, I'm not a Dracula user, but I am updating my book on Git which includes a section on setting colours, and I'm wondering about linking to here.)