(cssColorSpecifier)
| 6981 | return true; |
| 6982 | } |
| 6983 | function colorFromString(cssColorSpecifier) { |
| 6984 | if (cssColorSpecifier) { |
| 6985 | const dc = (0, _d3Color.color)(cssColorSpecifier); |
| 6986 | if (dc) { |
| 6987 | const c = dc.rgb(); |
| 6988 | return rgbToDeckglColor(c); |
| 6989 | } |
| 6990 | } |
| 6991 | } |
| 6992 | function colorToString(color) { |
| 6993 | const c = [ |
| 6994 | ...color |
nothing calls this directly
no test coverage detected