ThemeConfig

data class ThemeConfig(val primary: Color, val primaryVariant: Color, val secondary: Color, val secondaryVariant: Color, val background: Color, val surface: Color, val error: Color, val onPrimary: Color, val onSecondary: Color, val onBackground: Color, val onSurface: Color, val onError: Color, val isLight: Boolean)

Data class representing the theme configuration for the application.

Constructors

Link copied to clipboard
constructor(primary: Color, primaryVariant: Color, secondary: Color, secondaryVariant: Color, background: Color, surface: Color, error: Color, onPrimary: Color, onSecondary: Color, onBackground: Color, onSurface: Color, onError: Color, isLight: Boolean)

Properties

Link copied to clipboard

The background color of the theme.

Link copied to clipboard

The error color of the theme.

Link copied to clipboard

A boolean indicating if the theme is light or dark.

Link copied to clipboard

The color used for text and icons displayed on top of the background color.

Link copied to clipboard

The color used for text and icons displayed on top of the error color.

Link copied to clipboard

The color used for text and icons displayed on top of the primary color.

Link copied to clipboard

The color used for text and icons displayed on top of the secondary color.

Link copied to clipboard

The color used for text and icons displayed on top of the surface color.

Link copied to clipboard

The primary color of the theme.

Link copied to clipboard

The variant of the primary color.

Link copied to clipboard

The secondary color of the theme.

Link copied to clipboard

The variant of the secondary color.

Link copied to clipboard

The surface color of the theme.