KotoseFormStyle
data class KotoseFormStyle(val accent: Color, val text: Color, val placeholder: Color, val inputBackground: Color, val inputBorder: Color, val focusedBorder: Color, val disabledText: Color, val disabledBackground: Color, val error: Color, val warning: Color, val paragraphBackground: Color, val cornerRadius: Dp, val borderWidth: Dp, val inputTextStyle: TextStyle, val messageTextStyle: TextStyle, val titleTextStyle: TextStyle, val showsMessageIcons: Boolean, val showsKeyboardBar: Boolean = true)
Visual tokens for the Compose renderer, named like the SwiftUI KotoseFormStyle so one brand maps to both renderers. Kotlin owns every semantic (enabled, error, warning, focus, labels); the style only decides how the renderer draws them. Defaults come from MaterialTheme, so a form inside the app's theme already follows it; use KotoseFormTheme to override tokens.
Constructors
Link copied to clipboard
constructor(accent: Color, text: Color, placeholder: Color, inputBackground: Color, inputBorder: Color, focusedBorder: Color, disabledText: Color, disabledBackground: Color, error: Color, warning: Color, paragraphBackground: Color, cornerRadius: Dp, borderWidth: Dp, inputTextStyle: TextStyle, messageTextStyle: TextStyle, titleTextStyle: TextStyle, showsMessageIcons: Boolean, showsKeyboardBar: Boolean = true)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Previous, Next and Done above the iOS keyboard of every text input; Android has none.
Link copied to clipboard
Link copied to clipboard