Skip to content

Commit

Permalink
Adding blur to dialog background
Browse files Browse the repository at this point in the history
  • Loading branch information
WesleyEdwards committed Mar 15, 2024
1 parent 1f0bb6a commit 6850e26
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1152,6 +1152,7 @@ object DynamicCSS {
sel(".dismissBackground"), mapOf(
"border-radius" to "0",
"outline-width" to "0",
"backdrop-filter" to "blur(5px)",
) + when (val it = theme.background.applyAlpha(0.5f)) {
is Color -> mapOf("background-color" to it.toCss())
is LinearGradient -> mapOf(
Expand Down

0 comments on commit 6850e26

Please sign in to comment.