add backgroundOpacity option
This commit is contained in:
parent
755b29c859
commit
5fb0e76669
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue