1
Fork 0
mirror of https://github.com/Steffo99/festa.git synced 2024-12-22 14:44:21 +00:00

Remove -vis from the postcard className

This commit is contained in:
Steffo 2022-06-09 23:49:40 +02:00
parent 6412472d3e
commit 1c00c6d8e0
Signed by: steffo
GPG key ID: 6965406171929D01
2 changed files with 4 additions and 4 deletions

View file

@ -10,7 +10,7 @@ export function PostcardRenderer() {
return ( return (
<div <div
className={classNames("postcard", `postcard-vis-${visibility}`)} className={classNames("postcard", `postcard-${visibility}`)}
style={{ style={{
backgroundImage: image, backgroundImage: image,
}} }}

View file

@ -14,18 +14,18 @@
pointer-events: none; pointer-events: none;
} }
.postcard-vis-background { .postcard-background {
z-index: -1; z-index: -1;
filter: blur(7px) contrast(50%) brightness(50%); filter: blur(7px) contrast(50%) brightness(50%);
} }
@media (prefers-color-scheme: light) { @media (prefers-color-scheme: light) {
.postcard-vis-background { .postcard-background {
filter: blur(7px) contrast(25%) brightness(175%); filter: blur(7px) contrast(25%) brightness(175%);
} }
} }
.postcard-vis-foreground { .postcard-foreground {
z-index: 1; z-index: 1;
filter: none; filter: none;
} }