data class AppTheme
A theme sent to the app when it changes, built from the current KeyboardTheme.
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 |
AppTheme(foreground: Int, background: Int)
Parameters | |
---|---|
foreground: Int | Foreground color |
background: Int | Background color |
AppTheme(foreground: Int, background: Int, accent: Int)
Parameters | |
---|---|
foreground: Int | Foreground color |
background: Int | Background color |
accent: Int | Accent color |
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 |
val foreground: Int
Foreground color
val background: Int,
Background color
val accent: Int = foreground,
Accent color
val gradient: List<Int> = listOf(background)
List of gradient colors