Color
This context interface offers functions to style the color related CSS properties of a component.
It only offers two functions
Both functions have two variants, one for setting the property for all media devices at once and another for setting the properties for each media device independently.
Functions
Link copied to clipboard
This function sets the color property for all media devices.
open fun color( sm: Colors.() -> ColorProperty? = null, md: Colors.() -> ColorProperty? = null, lg: Colors.() -> ColorProperty? = null, xl: Colors.() -> ColorProperty? = null)
Content copied to clipboard
This function sets the color property for each media device independently.
Link copied to clipboard
This function sets the opacity property for all media devices.
open fun opacity( sm: WeightedValueProperty? = null, md: WeightedValueProperty? = null, lg: WeightedValueProperty? = null, xl: WeightedValueProperty? = null)
Content copied to clipboard
This function sets the opacity property for each media device independently.