Shadow

interface Shadow : StyleParams

This context interface offers functions to style the shadow related CSS properties of a component.

It offers functions to define box-shadow and text-shadow properties.

There are overrides for all functions that enable one to define the styling for the different media devices independently.

Functions

boxShadow
Link copied to clipboard
open fun boxShadow(value: Shadows.() -> Property)
This function sets the box-shadow property.
open fun boxShadow(sm: Shadows.() -> Property? = null, md: Shadows.() -> Property? = null, lg: Shadows.() -> Property? = null, xl: Shadows.() -> Property? = null)
This function sets the box-shadow property for each media device independently.
textShadow
Link copied to clipboard
open fun textShadow(value: Shadows.() -> Property)
This function sets the text-shadow property.
open fun textShadow(sm: Shadows.() -> Property? = null, md: Shadows.() -> Property? = null, lg: Shadows.() -> Property? = null, xl: Shadows.() -> Property? = null)
This function sets the text-shadow property for each media device independently.

Properties

lgProperties
Link copied to clipboard
abstract val lgProperties: StringBuilder
collects the properties for large screens
mdProperties
Link copied to clipboard
abstract val mdProperties: StringBuilder
collects the properties for middle-sized screens
smProperties
Link copied to clipboard
abstract val smProperties: StringBuilder
collects the properties for small screens
xlProperties
Link copied to clipboard
abstract val xlProperties: StringBuilder
collects the properties for extra-large screens

Inheritors

BasicParams
Link copied to clipboard