AppTheme

data class AppTheme

A theme sent to the app when it changes, built from the current KeyboardTheme.

Summary

Constructors
AppTheme(foreground: Int, background: Int)
AppTheme(foreground: Int, background: Int, accent: Int)
AppTheme(foreground: Int, background: Int, accent: Int, gradient: List<Int>)
Properties
Int foreground
Foreground color
Int background
Background color
Int accent
Accent color
List<Int> gradient
List of gradient colors

Constructors

AppTheme

AppTheme(foreground: Int, background: Int)
Parameters
foreground: Int Foreground color
background: Int Background color

AppTheme

AppTheme(foreground: Int, background: Int, accent: Int)
Parameters
foreground: Int Foreground color
background: Int Background color
accent: Int Accent color

AppTheme

AppTheme(foreground: Int, background: Int, accent: Int, gradient: List<Int>)
Parameters
foreground: Int Foreground color
background: Int Background color
accent: Int Accent color
gradient: List<Int> List of gradient colors

Properties

foreground

val foreground: Int

Foreground color

background

val background: Int,

Background color

accent

val accent: Int = foreground,

Accent color

gradient

val gradient: List<Int> = listOf(background)

List of gradient colors


If something needs to be added or if you find an error in our documentation, please let us know either on our GitHub or Discord.

Last updated on June 16, 2023