Skip to content

Commit

Permalink
💄 Fix splash not closing
Browse files Browse the repository at this point in the history
russkyc committed Dec 28, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 85861e3 commit 6ff4905
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion Russkyc.UI.Avalonia.Gallery.Browser/wwwroot/app.css
Original file line number Diff line number Diff line change
@@ -11,15 +11,27 @@
}

@media (prefers-color-scheme: light) {
html, body {
background: white;
}
.avalonia-splash {
background: white;
color: black;
}
}

@media (prefers-color-scheme: dark) {
html, body {
background: black;
}
.avalonia-splash {
background: black;
color: white;
}
}
}

.avalonia-splash.splash-close {
transition: opacity 200ms, display 200ms;
display: none;
opacity: 0;
}

0 comments on commit 6ff4905

Please sign in to comment.