add backgroundOpacity option
This commit is contained in:
1 parent
ef7737e9be
commit
d7be64c3d9
1 file changed
+1
@@ -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(() => {
|
||||
|
||||
Reference in new issue
Block a user