Skip to content

Commit 5a345d6

Browse files
committed
Refactor color parser to take a generic as output
This refactor allows the color parser to construct new color values directly, in stead of constructing a predefined color value and then forcing lib users to convert that type into whichever format they want to use in the end. Most common use case is that the color included in the lib, cssparser::Color, is good for serialization, but not well suited for doing calculations on.
1 parent fb10dbe commit 5a345d6

File tree

3 files changed

+498
-288
lines changed

3 files changed

+498
-288
lines changed

0 commit comments

Comments
 (0)