IgniteUI / igniteui-theming

A set of Sass mixins, functions, and variables used to create themes for a variety of UI frameworks built by Infragistics.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The `color` function is too rigid and throws an error with custom palettes

simeonoff opened this issue · comments

The color function only works with generated palettes that follow the IPalette map.

If a non-compliant color is passed, the color function fails with an error.

To support non-compliant palettes, there should be no check if the passed color name is 'valid'.