We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79d0cf5 commit d9c853aCopy full SHA for d9c853a
src/color.rs
@@ -585,7 +585,11 @@ impl ToCss for ColorFunction {
585
}
586
587
588
-/// A <color> value.
+/// Describes one of the value <color> values according to the CSS
589
+/// specification.
590
+/// Most components are `Option<_>`, so when the value is `None`, that component
591
+/// serializes to the "none" keyword.
592
+///
593
/// https://drafts.csswg.org/css-color-4/#color-type
594
#[derive(Clone, Copy, PartialEq, Debug)]
595
pub enum Color {
0 commit comments