struct ButtonStyle
Swift
Constructors
init(background: Color? = nil, hover: Color? = nil, pressed: Color? = nil, foreground: Color? = nil, disabledBackground: Color? = nil, disabledForeground: Color? = nil, cornerRadius: Float? = nil, padding: Float = 8, duration: Double = 0.12)
Not documented.
Sources/LavaUI/Button.swift:91
Properties
var background: Color
Not documented.
Sources/LavaUI/Button.swift:79
var cornerRadius: Float
Not documented.
Sources/LavaUI/Button.swift:85
var disabledBackground: Color
Not documented.
Sources/LavaUI/Button.swift:83
var disabledForeground: Color
Not documented.
Sources/LavaUI/Button.swift:84
var duration: Double
How long the fill takes to reach a new state. Short enough to feel immediate; long enough to read as a transition rather than a jump.
Sources/LavaUI/Button.swift:89
var foreground: Color
Not documented.
Sources/LavaUI/Button.swift:82
var hover: Color
Not documented.
Sources/LavaUI/Button.swift:80
var padding: Float
Not documented.
Sources/LavaUI/Button.swift:86
var pressed: Color
Not documented.
Sources/LavaUI/Button.swift:81