PaletteonTheme

data class PaletteonTheme(val seedColor: Color = Color.Blue, val useDarkTheme: Boolean = false, val withAmoled: Boolean = false, val style: PaletteStyle = PaletteStyle.TonalSpot, val contrast: Contrast = Contrast.Default, val isExtendedFidelity: Boolean = false, val animate: Boolean = false)

Data class representing the theme configuration for Paletteon.

Constructors

Link copied to clipboard
constructor(seedColor: Color = Color.Blue, useDarkTheme: Boolean = false, withAmoled: Boolean = false, style: PaletteStyle = PaletteStyle.TonalSpot, contrast: Contrast = Contrast.Default, isExtendedFidelity: Boolean = false, animate: Boolean = false)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val animate: Boolean = false

Indicates whether animations should be applied to the theme changes. Defaults to false.

Link copied to clipboard
val colorScheme: ColorScheme

Computes the color scheme based on the current theme settings.

Link copied to clipboard

The contrast setting for the theme. Defaults to Contrast.Default.

Link copied to clipboard

Indicates whether extended fidelity is enabled. Defaults to false.

Link copied to clipboard
val seedColor: Color

The primary color used for the theme. Defaults to Color.Blue.

Link copied to clipboard

The style to be applied to the theme. Defaults to PaletteStyle.TonalSpot.

Link copied to clipboard
val useDarkTheme: Boolean = false

Indicates whether the dark theme should be used. Defaults to false.

Link copied to clipboard
val withAmoled: Boolean = false

Indicates whether AMOLED mode should be enabled. Defaults to false.