SerializableThemeConfig

@Serializable
data class SerializableThemeConfig(val primary: String, val primaryVariant: String, val secondary: String, val secondaryVariant: String, val background: String, val surface: String, val error: String, val onPrimary: String, val onSecondary: String, val onBackground: String, val onSurface: String, val onError: String, val isLight: Boolean)

Serializable data class representing the theme configuration for the application.

This class is used for serializing and deserializing theme configurations.

Constructors

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

Properties

Link copied to clipboard

The background color of the theme as a string.

Link copied to clipboard

The error color of the theme as a string.

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 as a string.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

The primary color of the theme as a string.

Link copied to clipboard

The variant of the primary color as a string.

Link copied to clipboard

The secondary color of the theme as a string.

Link copied to clipboard

The variant of the secondary color as a string.

Link copied to clipboard

The surface color of the theme as a string.