add backgroundOpacity option

pull/192/head^2
Andy 2 years ago committed by Ben Phelps
parent ef7737e9be
commit d7be64c3d9

@ -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(() => {

Loading…
Cancel
Save