class CardColors


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

Summary

Public constructors

CardColors(
    backgroundColor: LayoutColor,
    titleColor: LayoutColor,
    contentColor: LayoutColor,
    timeColor: LayoutColor,
    labelColor: LayoutColor,
    secondaryIconColor: LayoutColor,
    secondaryTextColor: 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-alpha07
CardColors(
    backgroundColor: LayoutColor,
    titleColor: LayoutColor,
    contentColor: LayoutColor,
    timeColor: LayoutColor = contentColor,
    labelColor: LayoutColor = titleColor,
    secondaryIconColor: LayoutColor = titleColor,
    secondaryTextColor: LayoutColor = timeColor
)
Parameters
backgroundColor: LayoutColor

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

titleColor: LayoutColor

the color used for title for the card.

contentColor: LayoutColor

the content color for the card.

timeColor: LayoutColor = contentColor

the color used for time for the card.

labelColor: LayoutColor = titleColor

the color used for label for the card.

secondaryIconColor: LayoutColor = titleColor

the color used for icon in the data card type.

secondaryTextColor: LayoutColor = timeColor

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

Public properties

backgroundColor

Added in 1.3.0-alpha07
val backgroundColorLayoutColor

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

contentColor

Added in 1.3.0-alpha07
val contentColorLayoutColor

the content color for the card.

labelColor

Added in 1.3.0-alpha07
val labelColorLayoutColor

the color used for label for the card.

secondaryIconColor

Added in 1.3.0-alpha07
val secondaryIconColorLayoutColor

the color used for icon in the data card type.

secondaryTextColor

Added in 1.3.0-alpha07
val secondaryTextColorLayoutColor

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

timeColor

Added in 1.3.0-alpha07
val timeColorLayoutColor

the color used for time for the card.

titleColor

Added in 1.3.0-alpha07
val titleColorLayoutColor

the color used for title for the card.