Source set: Android
public class RemoteColorScheme(
public val primary: RemoteColor,
public val primaryDim: RemoteColor,
public val primaryContainer: RemoteColor,
public val onPrimary: RemoteColor,
public val onPrimaryContainer: RemoteColor,
public val secondary: RemoteColor,
public val secondaryDim: RemoteColor,
public val secondaryContainer: RemoteColor,
public val onSecondary: RemoteColor,
public val onSecondaryContainer: RemoteColor,
public val tertiary: RemoteColor,
public val tertiaryDim: RemoteColor,
public val tertiaryContainer: RemoteColor,
public val onTertiary: RemoteColor,
public val onTertiaryContainer: RemoteColor,
public val surfaceContainerLow: RemoteColor,
public val surfaceContainer: RemoteColor,
public val surfaceContainerHigh: RemoteColor,
public val onSurface: RemoteColor,
public val onSurfaceVariant: RemoteColor,
public val outline: RemoteColor,
public val outlineVariant: RemoteColor,
public val background: RemoteColor,
public val onBackground: RemoteColor,
public val error: RemoteColor,
public val errorDim: RemoteColor,
public val errorContainer: RemoteColor,
public val onError: RemoteColor,
public val onErrorContainer: RemoteColor,
)
Represents the color scheme for the Wear Material 3 theme in a remote context.
A RemoteColorScheme holds RemoteColor parameters for a RemoteMaterialTheme, mapping to the standard Material Design 3 color roles for Wearables.
Color schemes are designed to be harmonious, ensure accessible text, and distinguish UI elements and surfaces from one another.
To learn more about color schemes, see Material Design Color System.
Functions
copy
Source set: Android
public fun copy(
primary: RemoteColor = this.primary,
primaryDim: RemoteColor = this.primaryDim,
primaryContainer: RemoteColor = this.primaryContainer,
onPrimary: RemoteColor = this.onPrimary,
onPrimaryContainer: RemoteColor = this.onPrimaryContainer,
secondary: RemoteColor = this.secondary,
secondaryDim: RemoteColor = this.secondaryDim,
secondaryContainer: RemoteColor = this.secondaryContainer,
onSecondary: RemoteColor = this.onSecondary,
onSecondaryContainer: RemoteColor = this.onSecondaryContainer,
tertiary: RemoteColor = this.tertiary,
tertiaryDim: RemoteColor = this.tertiaryDim,
tertiaryContainer: RemoteColor = this.tertiaryContainer,
onTertiary: RemoteColor = this.onTertiary,
onTertiaryContainer: RemoteColor = this.onTertiaryContainer,
surfaceContainerLow: RemoteColor = this.surfaceContainerLow,
surfaceContainer: RemoteColor = this.surfaceContainer,
surfaceContainerHigh: RemoteColor = this.surfaceContainerHigh,
onSurface: RemoteColor = this.onSurface,
onSurfaceVariant: RemoteColor = this.onSurfaceVariant,
outline: RemoteColor = this.outline,
outlineVariant: RemoteColor = this.outlineVariant,
background: RemoteColor = this.background,
onBackground: RemoteColor = this.onBackground,
error: RemoteColor = this.error,
errorDim: RemoteColor = this.errorDim,
errorContainer: RemoteColor = this.errorContainer,
onError: RemoteColor = this.onError,
onErrorContainer: RemoteColor = this.onErrorContainer,
): RemoteColorScheme
Returns a copy of this RemoteColorScheme, optionally overriding some of the values.