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

Allow RGB format for color attributes #50

Merged
merged 1 commit into from
Oct 12, 2018
Merged

Conversation

dule
Copy link
Contributor

@dule dule commented Oct 11, 2018

Fixes: #49

A rudimentary check to accept color attributes in RGB format. It doesn't check for RGBA or HSL formats, nor percentage-based values, which technically are also valid. So another option is a more loose, forgiving regex that is less accurate.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling acb6f05 on dule:support-rgb-color into 8178f4e on nozer:master.

@nozer
Copy link
Owner

nozer commented Oct 12, 2018

Checks for stuff other than RGB can be added later on if the need arises. Thanks for the contribution!

@nozer nozer merged commit dc1acd4 into nozer:master Oct 12, 2018
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.

None yet

3 participants