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

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.

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

Link copied to clipboard
abstract val lgProperties: StringBuilder

collects the properties for large screens

Link copied to clipboard
abstract val mdProperties: StringBuilder

collects the properties for middle-sized screens

Link copied to clipboard
abstract val smProperties: StringBuilder

collects the properties for small screens

Link copied to clipboard
abstract val xlProperties: StringBuilder

collects the properties for extra-large screens

Inheritors

Link copied to clipboard