From d7be64c3d97265dd79a48294361a0012936499cd Mon Sep 17 00:00:00 2001 From: Andy Date: Fri, 16 Sep 2022 15:31:13 +0300 Subject: [PATCH] add backgroundOpacity option --- src/pages/index.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/index.jsx b/src/pages/index.jsx index 3715f6a86..3b161d455 100644 --- a/src/pages/index.jsx +++ b/src/pages/index.jsx @@ -46,6 +46,7 @@ export default function Home({ settings }) { if (settings.background) { wrappedStyle.backgroundImage = `url(${settings.background})`; wrappedStyle.backgroundSize = "cover"; + wrappedStyle.opacity = settings.backgroundOpacity ?? 1; } useEffect(() => {