mirror of
				https://github.com/karl0ss/homepage.git
				synced 2025-11-04 00:10:57 +00:00 
			
		
		
		
	add backgroundOpacity option
This commit is contained in:
		
							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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user