class CardColors


Represents colors used in card components, such as titleCard or appCard.

Summary

Public constructors

CardColors(
    background: LayoutColor,
    title: LayoutColor,
    content: LayoutColor,
    time: LayoutColor,
    label: LayoutColor,
    secondaryIcon: LayoutColor,
    secondaryText: LayoutColor
)

Public properties

LayoutColor

LayoutColor which is used to as the background color for the card.

LayoutColor

the content color for the card.

LayoutColor

the color used for label for the card.

LayoutColor

the color used for icon in the data card type.

LayoutColor

the color used for secondary label for the data card type.

LayoutColor

the color used for time for the card.

LayoutColor

the color used for title for the card.

Public constructors

CardColors

Added in 1.3.0-alpha06
CardColors(
    background: LayoutColor,
    title: LayoutColor,
    content: LayoutColor,
    time: LayoutColor = content,
    label: LayoutColor = title,
    secondaryIcon: LayoutColor = title,
    secondaryText: LayoutColor = time
)
Parameters
background: LayoutColor

LayoutColor which is used to as the background color for the card.

title: LayoutColor

the color used for title for the card.

content: LayoutColor

the content color for the card.

time: LayoutColor = content

the color used for time for the card.

label: LayoutColor = title

the color used for label for the card.

secondaryIcon: LayoutColor = title

the color used for icon in the data card type.

secondaryText: LayoutColor = time

the color used for secondary label for the data card type.

Public properties

background

Added in 1.3.0-alpha06
val backgroundLayoutColor

LayoutColor which is used to as the background color for the card.

content

Added in 1.3.0-alpha06
val contentLayoutColor

the content color for the card.

label

Added in 1.3.0-alpha06
val labelLayoutColor

the color used for label for the card.

secondaryIcon

Added in 1.3.0-alpha06
val secondaryIconLayoutColor

the color used for icon in the data card type.

secondaryText

Added in 1.3.0-alpha06
val secondaryTextLayoutColor

the color used for secondary label for the data card type.

time

Added in 1.3.0-alpha06
val timeLayoutColor

the color used for time for the card.

title

Added in 1.3.0-alpha06
val titleLayoutColor

the color used for title for the card.