feat: Updates tailwind to 4.*
This commit is contained in:
@@ -7,7 +7,7 @@ extension ViewController: DependencyKey {
|
||||
public static var liveValue: ViewController {
|
||||
.init(view: { _ in
|
||||
MainPage {
|
||||
h1 { "It works!" }
|
||||
h1(.class("text-red-100")) { "It works!" }
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ struct MainPage<Inner: HTML>: SendableHTMLDocument where Inner: Sendable {
|
||||
|
||||
var body: some HTML {
|
||||
main {
|
||||
div(.class("min-h-screen bg-gradient-to-br from-green-50 to-blue-50")) {
|
||||
div(.class("min-h-screen bg-linear-to-br from-green-50 to-blue-50")) {
|
||||
header(.class("header")) {
|
||||
h1(.class("text-red-600")) { title }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user