Gradient UI color doesn't support named colors
tbrannam opened this issue · comments
Todd Brannam commented
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))
Tobias Löfstrand commented
Right, that support seemed to be missing. Good catch, thanks. A fix is underway.