Skip to content

Commit a22e7d6

Browse files
authored
Use dark backdrop in Chrome/Firefox (#339)
* Update main.scss * Update main.scss
1 parent 7b67193 commit a22e7d6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/main/frontend/main.scss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,15 @@
8484
0 10px 20px rgba(0, 0, 20, 0.3);
8585

8686
/* Modals */
87-
--modal-backdrop-background: hsla(240, 6%, 3%, 0.9);
87+
::backdrop {
88+
--modal-backdrop-background: hsla(240, 6%, 3%, 0.9);
89+
}
8890
--modal-backdrop-filter: contrast(0.85) saturate(2) brightness(0.7) blur(20px);
8991
--modal-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05),
9092
0 0 8px 2px rgba(0, 0, 30, 0.05),
9193
0 0 1px 1px rgba(0, 0, 20, 0.025),
9294
0 10px 20px rgba(0, 0, 20, 0.3);
93-
95+
9496
/* Links */
9597
--link-color: #53c1ff;
9698
--link-visited-color: #53c1ff;

0 commit comments

Comments
 (0)