Skip to content

Commit 4e0e53a

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 4e0e53a

File tree

3 files changed

+475
-261
lines changed

3 files changed

+475
-261
lines changed

0 commit comments

Comments
 (0)