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

3-character hex colors not working #31

Closed
jcward opened this issue Apr 28, 2016 · 0 comments
Closed

3-character hex colors not working #31

jcward opened this issue Apr 28, 2016 · 0 comments

Comments

@jcward
Copy link
Contributor

jcward commented Apr 28, 2016

Here's an apple logo:

<svg viewBox='0 0 90 100' xmlns='http://www.w3.org/2000/svg'>
  <path fill='#AAA' d='M62,0c2,10-9,24-20,24c-3-14,9-22,20-24M5,36c5-8,13-12,21-12c7,0,12,4,19,4c6,0,10-4,19-4c6,0,14,3,19,10c-16,4-15,35,3,39c-7,17-18,27-24,27c-7,0-8-5-17-5c-9,0-11,5-17,5c-7-1-13-7-17-13c-9-10-15-40-6-51' />
</svg>

The fill='#AAA' renders as blue:

image

ashes999 pushed a commit that referenced this issue Apr 28, 2016
Fixes #31 - 3-character HEX color support
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

No branches or pull requests

1 participant