Merge pull request #183 from andrii-kryvoviaz/add-background-image-opacity

Add backgroundOpacity option
pull/192/head^2
Ben Phelps 2 years ago committed by GitHub
commit 51ad3184b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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