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,
    graphicProgressIndicatorColors: ProgressIndicatorColors?,
    graphicIconColor: 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 the icon to be put at the center of the progress indicator to compose the graphic.

ProgressIndicatorColors?

the color used for the progress indicator set as graphic of 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-alpha08
CardColors(
    backgroundColor: LayoutColor,
    titleColor: LayoutColor,
    contentColor: LayoutColor,
    timeColor: LayoutColor = contentColor,
    labelColor: LayoutColor = titleColor,
    secondaryIconColor: LayoutColor = titleColor,
    secondaryTextColor: LayoutColor = timeColor,
    graphicProgressIndicatorColors: ProgressIndicatorColors? = null,
    graphicIconColor: LayoutColor? = null
)
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.

graphicProgressIndicatorColors: ProgressIndicatorColors? = null

the color used for the progress indicator set as graphic of the card. If null, uses the default color defined in circularProgressIndicator and segmentedCircularProgressIndicator, which is filledProgressIndicatorColors.

graphicIconColor: LayoutColor? = null

the color used for the icon to be put at the center of the progress indicator to compose the graphic. If null, uses the default icon color, which is ColorScheme.primary.

Public properties

backgroundColor

Added in 1.3.0-alpha08
val backgroundColorLayoutColor

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

contentColor

Added in 1.3.0-alpha08
val contentColorLayoutColor

the content color for the card.

graphicIconColor

Added in 1.3.0-alpha08
val graphicIconColorLayoutColor?

the color used for the icon to be put at the center of the progress indicator to compose the graphic. If null, uses the default icon color, which is ColorScheme.primary.

graphicProgressIndicatorColors

Added in 1.3.0-alpha08
val graphicProgressIndicatorColorsProgressIndicatorColors?

the color used for the progress indicator set as graphic of the card. If null, uses the default color defined in circularProgressIndicator and segmentedCircularProgressIndicator, which is filledProgressIndicatorColors.

labelColor

Added in 1.3.0-alpha08
val labelColorLayoutColor

the color used for label for the card.

secondaryIconColor

Added in 1.3.0-alpha08
val secondaryIconColorLayoutColor

the color used for icon in the data card type.

secondaryTextColor

Added in 1.3.0-alpha08
val secondaryTextColorLayoutColor

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

timeColor

Added in 1.3.0-alpha08
val timeColorLayoutColor

the color used for time for the card.

titleColor

Added in 1.3.0-alpha08
val titleColorLayoutColor

the color used for title for the card.