| 19 | } |
| 20 | |
| 21 | static bool parseGradient(const std::string& css, ColorValue& cv) { |
| 22 | if (!ColorParser::parse(css, cv)) return false; |
| 23 | return cv.type == ColorValueType::Gradient; |
| 24 | } |
| 25 | |
| 26 | // ============================================================================ |
| 27 | // Hex colors |