| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Looks good to me - could you add a quick note in /doc/users/next_whats_new to advertise the new feature? |
Sorry, something went wrong.
|
For reference this is defined at https://www.w3.org/TR/css-color-4/#hex-notation. Likely https://matplotlib.org/tutorials/colors/colors.html and a few other places will also need updating. |
Sorry, something went wrong.
|
I added a line about the change in the colors.py and in the color specification tutorial, as well as a new entry in /doc/users/next_whats_new. |
Sorry, something went wrong.
There was a problem hiding this comment.
👍 thanks for the PR!
Sorry, something went wrong.
|
A link to the css spec (e.g. the one I posted above) in colors.py would be nice. (Probably not necessary in the tutorial as well.) |
Sorry, something went wrong.
|
re-milestoned to 3.2 as we have not branched yet so it's going to be in 3.2 not 3.3. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
PR Summary
Added support for shorthand hex colors as described in section 4.2 of the current CSS Color Module Level 4 Working Draft from 5 March 2019.
Examples:
#123 is interpreted as #112233
#123a is interpreted as #112233aa
It is a minor change, and I did this mainly to match expectations for anyone coming from web design (myself including) and to make tasks like specifying softer blacks like #333 or greys like #ccc quicker.
PR Checklist