-
Notifications
You must be signed in to change notification settings - Fork 381
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
cli: allow colors in form '#rrggbb' #3310
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
84bfba4
to
8caa227
Compare
8caa227
to
77276c6
Compare
05f0212
to
e0382cc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not familiar with the config-schema stuff. Other than that, the code looks good to me, thanks.
8eaf9fb
to
3aa5610
Compare
Changes the formatter to accept not only existing color names (such as "red" or "green") but also those in the form #rrggbb, where rr, gg, and bb are two-digit hexadecimal numbers. This allows much finer control over colors used.
3aa5610
to
9c174ca
Compare
I made this change partly to scratch a very minor personal itch, but mainly as a first step to get my head around the codebase, build process, etc. TBH I was surprised how easy it was to support this (being English the hardest part was writing color vs colour!). Given how little complexity it adds to the code, I'd hope it would be considered.
That said, all new features are overhead, and I will not be offended if this is unwanted. I've enjoyed getting it working and learnt a lot, which was my main goal.
Thanks everyone for all the work on jujutsu. I'm really enjoying using it.
Checklist
If applicable:
CHANGELOG.md