This commit is contained in:
JMARyA 2025-01-21 09:00:45 +01:00
parent 95ceaa8231
commit a9a8b8b951
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
5 changed files with 526 additions and 2 deletions

View file

@ -15,8 +15,8 @@ pub async fn index_page(ctx: RequestContext) -> StringResponse {
h1 { "Hello World!" };
(
Screen::medium(Hover(Background(Red::_700, Nothing()))).on(
Background(Blue::_700, Text("HELLO!"))
Screen::medium(Hover(Background(Nothing()).color(Red::_700))).on(
Background(Text("HELLO!")).color(Blue::_700)
)
)