Source set: Android
public class RemoteCardColors(
public val containerColor: RemoteColor,
public val contentColor: RemoteColor,
public val appNameColor: RemoteColor,
public val timeColor: RemoteColor,
public val titleColor: RemoteColor,
public val subtitleColor: RemoteColor,
)
Represents Colors used in RemoteCard. Unlike other Material 3 components, Cards do not change their color appearance when they are disabled.
Parameters
| containerColor | the background color of this RemoteCard |
| contentColor | the content color of this RemoteCard. |
| appNameColor | the color used for appName, only applies to RemoteAppCard. |
| timeColor | the color used for time, applies to RemoteAppCard and RemoteTitleCard. |
| titleColor | the color used for title, applies to RemoteAppCard and RemoteTitleCard. |
| subtitleColor | the color used for subtitle, applies to RemoteTitleCard. |
Functions
copy
Source set: Android
public fun copy(
containerColor: RemoteColor = this.containerColor,
contentColor: RemoteColor = this.contentColor,
appNameColor: RemoteColor = this.appNameColor,
timeColor: RemoteColor = this.timeColor,
titleColor: RemoteColor = this.titleColor,
subtitleColor: RemoteColor = this.subtitleColor,
): RemoteCardColors
Returns a copy of this RemoteCardColors, optionally overriding some of the values.
Parameters
| containerColor | the background color of this RemoteCard |
| contentColor | the content color of this RemoteCard |
| appNameColor | the color used for appName, only applies to RemoteAppCard |
| timeColor | the color used for time, applies to RemoteAppCard and RemoteTitleCard |
| titleColor | the color used for title, applies to RemoteAppCard and RemoteTitleCard |
| subtitleColor | the color used for subtitle, applies to RemoteTitleCard |