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

Gradient UI color doesn't support named colors #29

Closed
tbrannam opened this issue Apr 15, 2015 · 1 comment
Closed

Gradient UI color doesn't support named colors #29

tbrannam opened this issue Apr 15, 2015 · 1 comment

Comments

@tbrannam
Copy link
Contributor

UIColor - the wiki suggests that gradient can not be nested with other color functions, but I expected that named colors were treated as values, not functions. The gradient parser does not get called when passing named colors.

Fails
gradient(white, black)
Succeeds
gradient(rgb(255,255,255),rgb(0,0,0))

@tolo
Copy link
Owner

tolo commented Apr 17, 2015

Right, that support seemed to be missing. Good catch, thanks. A fix is underway.

@tolo tolo closed this as completed in 31f56ee Apr 17, 2015
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

2 participants