dracula / dracula/git

Git supports 24-bit colours

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
19
Forks
3
PR merge metrics
No merged PRs in 30d

Description

So the intro for this project reads:

> According to [Git documentation](https://git-scm.com/docs/git-config) 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](https://adamchainz.gumroad.com/l/bygdx) which includes a section on setting colours, and I'm wondering about linking to here.)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.