Skip to content

Commit

Permalink
Use dark backdrop in Chrome/Firefox (#339)
Browse files Browse the repository at this point in the history
* Update main.scss

* Update main.scss
  • Loading branch information
janfaracik authored Mar 12, 2023
1 parent 7b67193 commit a22e7d6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/frontend/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,15 @@
0 10px 20px rgba(0, 0, 20, 0.3);

/* Modals */
--modal-backdrop-background: hsla(240, 6%, 3%, 0.9);
::backdrop {
--modal-backdrop-background: hsla(240, 6%, 3%, 0.9);
}
--modal-backdrop-filter: contrast(0.85) saturate(2) brightness(0.7) blur(20px);
--modal-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05),
0 0 8px 2px rgba(0, 0, 30, 0.05),
0 0 1px 1px rgba(0, 0, 20, 0.025),
0 10px 20px rgba(0, 0, 20, 0.3);

/* Links */
--link-color: #53c1ff;
--link-visited-color: #53c1ff;
Expand Down

0 comments on commit a22e7d6

Please sign in to comment.