Expand description
Generic types for color properties.
Re-exports§
pub use self::GenericColorMix as ColorMix;
pub use self::GenericColor as Color;
pub use self::GenericColorOrAuto as ColorOrAuto;
pub use self::GenericCaretColor as CaretColor;
Structs§
- Flags used to modify the calculation of a color mix result.
- Caret color is effectively a ColorOrAuto, but resolves
auto
to currentColor. - A restricted version of the css
color-mix()
function, which only supports percentages.
Enums§
- This struct represents a combined color from a numeric color and the current foreground color (currentcolor keyword).
- Either
<color>
orauto
.