Closed tbrannam closed 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))
gradient(white, black)
gradient(rgb(255,255,255),rgb(0,0,0))
Right, that support seemed to be missing. Good catch, thanks. A fix is underway.
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)
Succeedsgradient(rgb(255,255,255),rgb(0,0,0))