Skip to content

Commit

Permalink
Changed App shadow from filter to box-shadow (#81)
Browse files Browse the repository at this point in the history
allowed darkening of background color, to improve lighthouse score
  • Loading branch information
neonfuz authored and 44100hertz committed Mar 6, 2023
1 parent 4a3dc0c commit 13c12cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@
padding: 0.5rem 1rem;
border-radius: 1em;
background: var(--bg-color);
--bg-color: #0008;
--bg-color: #000000A2;
backdrop-filter: blur(5px);
color: white;
filter: drop-shadow(4px 4px 10px #3338);
box-shadow: 0 0 10px #3338;
}
@media (max-width: 680px) {
.App {
Expand Down

0 comments on commit 13c12cc

Please sign in to comment.