feat: Updates styles
This commit is contained in:
@@ -11,8 +11,10 @@ public struct SubmitButton: HTML, Sendable {
|
||||
button(
|
||||
.type(.submit),
|
||||
.class("""
|
||||
w-full \(bg: .blue) \(text: .yellow) font-bold py-3 rounded-md
|
||||
hover:\(bg: .darkBlue) transition-colors
|
||||
w-full font-bold py-3 rounded-md transition-colors
|
||||
bg-yellow-300 dark:bg-blue-500
|
||||
hover:bg-yellow-400 hover:dark:bg-blue-600
|
||||
text-blue-500 dark:text-yellow-300
|
||||
""")
|
||||
) { label }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user