tolo / InterfaCSS

The CSS-inspired styling and layout framework for iOS
MIT License
96 stars 10 forks source link

Gradient UI color doesn't support named colors #29

Closed tbrannam closed 9 years ago

tbrannam commented 9 years ago

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 commented 9 years ago

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