Skip to content
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

Added support for HEX codes with alpha channel #7

Merged
merged 2 commits into from
Mar 3, 2019
Merged

Added support for HEX codes with alpha channel #7

merged 2 commits into from
Mar 3, 2019

Conversation

kovart
Copy link
Contributor

@kovart kovart commented Feb 21, 2019

Fixed bugs when regex matches transparent colors like "#FFFFFFC2" to "white".

Fixed bugs when regex matches transparent colors like "#FFFFFFC2" to "white".
@tigt
Copy link
Owner

tigt commented Feb 24, 2019

Oh, good catch. Do we care about the shorthand version of this, like #f00f?

I've changed color regex to support alpha channels.
@tigt
Copy link
Owner

tigt commented Feb 24, 2019

Looks great! I'll merge and release a new patch version when I'm back at my computer.

@tigt tigt merged commit f6d5104 into tigt:master Mar 3, 2019
@tigt
Copy link
Owner

tigt commented Mar 3, 2019

Published as 1.0.3, if I did it right. Thanks for your patience!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants