NumberInputStyles constructor
NumberInputStyles({})
Creates styles with sensible defaults.
Implementation
NumberInputStyles({
Style? prompt,
Style? value,
Style? placeholder,
Style? hint,
Style? error,
Style? dimmed,
}) : prompt = prompt ?? Style().foreground(AnsiColor(11)).bold(),
value = value ?? Style(),
placeholder = placeholder ?? Style().foreground(AnsiColor(8)),
hint = hint ?? Style().foreground(AnsiColor(8)),
error = error ?? Style().foreground(AnsiColor(9)).bold(),
dimmed = dimmed ?? Style().foreground(AnsiColor(8));