From ec00c00f3a326560ec2b81e54a3063316f7077a1 Mon Sep 17 00:00:00 2001 From: Adam Argyle Date: Tue, 3 Oct 2023 08:40:21 -0700 Subject: [PATCH] fixes #425 --- build/to-stylesheet.js | 2 +- src/props.animations.css | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/to-stylesheet.js b/build/to-stylesheet.js index 2d0afd51..b54c71d0 100644 --- a/build/to-stylesheet.js +++ b/build/to-stylesheet.js @@ -62,7 +62,7 @@ ${dark_propsMeta} if (hasDarkKeyframe) { appendedMeta += ` @media (--OSdark) { - ${val.trim().replace(/\n/g, '\n ')}; + ${val.trim().replace(/\n/g, '\n ')} }` } }) diff --git a/src/props.animations.css b/src/props.animations.css index 603555a9..a03bddda 100644 --- a/src/props.animations.css +++ b/src/props.animations.css @@ -118,12 +118,12 @@ 0% { opacity: 0; filter: brightness(1) blur(20px) } 10% { opacity: 1; filter: brightness(0.5) blur(10px) } 100% { opacity: 1; filter: brightness(1) blur(0) } - }; + } } @media (--OSdark) { @keyframes fade-out-bloom { 100% { opacity: 0; filter: brightness(1) blur(20px) } 10% { opacity: 1; filter: brightness(0.5) blur(10px) } 0% { opacity: 1; filter: brightness(1) blur(0) } - }; + } } \ No newline at end of file