Merge pull request #135 from peppidesu/transparent-dialog-fix

Fix transparent MessageDialogs
This commit is contained in:
Vince 2024-04-12 21:48:13 +08:00 committed by GitHub
commit 0cac3bc156
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3132,15 +3132,11 @@ messagedialog { // Message Dialog styling
border-bottom-left-radius: $window-radius; border-bottom-left-radius: $window-radius;
border-bottom-right-radius: $window-radius; border-bottom-right-radius: $window-radius;
@if $variant == 'dark' {
background-color: transparent;
} @else {
background-color: $surface; background-color: $surface;
}
.titlebar { .titlebar {
&, &:backdrop { &, &:backdrop {
background-color: if($variant == 'dark', transparent, $surface); background-color: if($variant == 'dark', $base, $surface);
} }
} }
} }