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§
- Color
MixFlags - Flags used to modify the calculation of a color mix result.
- Generic
Caret Color - Caret color is effectively a ColorOrAuto, but resolves
autoto currentColor. - Generic
Color Mix - A restricted version of the css
color-mix()function, which only supports percentages. - Generic
Light Dark - A light-dark(
, ) function.
Enums§
- Generic
Color - This struct represents a combined color from a numeric color and the current foreground color (currentcolor keyword).
- Generic
Color OrAuto - Either
<color>orauto.