style: Move color to use predefined_type.

I want to play with autogenerating style structs, and color is the smallest
struct out there.

However, moving it out of the mako file is a requirement. This patch does that.
This commit is contained in:
Emilio Cobos Álvarez 2017-09-03 20:50:27 +02:00
parent e5efbeea6e
commit 862f3b4369
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
5 changed files with 125 additions and 120 deletions

View file

@ -35,7 +35,7 @@ pub use self::background::BackgroundSize;
pub use self::border::{BorderImageSlice, BorderImageWidth, BorderImageSideWidth};
pub use self::border::{BorderRadius, BorderCornerRadius};
pub use self::box_::VerticalAlign;
pub use self::color::{Color, RGBAColor};
pub use self::color::{Color, ColorPropertyValue, RGBAColor};
pub use self::effects::{BoxShadow, Filter, SimpleShadow};
pub use self::flex::FlexBasis;
pub use self::image::{Gradient, GradientItem, Image, ImageLayer, LineDirection, MozImageRect};