mirror of
				https://github.com/karl0ss/homepage.git
				synced 2025-11-04 08:20:58 +00:00 
			
		
		
		
	Merge pull request #1443 from davidsmejia/davidsmejia/fix-service-group-icons
fallback for --tw-text-opacity
This commit is contained in:
		
						commit
						dcb9d9e45c
					
				@ -48,7 +48,7 @@ export default function ResolvedIcon({ icon, width = 32, height = 32, alt = "log
 | 
				
			|||||||
          maxWidth: '100%',
 | 
					          maxWidth: '100%',
 | 
				
			||||||
          maxHeight: '100%',
 | 
					          maxHeight: '100%',
 | 
				
			||||||
          background: settings.iconStyle === "theme" ?
 | 
					          background: settings.iconStyle === "theme" ?
 | 
				
			||||||
            `rgb(var(--color-${ theme === "dark" ? 300 : 900 }) / var(--tw-text-opacity))` :
 | 
					            `rgb(var(--color-${ theme === "dark" ? 300 : 900 }) / var(--tw-text-opacity, 1))` :
 | 
				
			||||||
            "linear-gradient(180deg, rgb(var(--color-logo-start)), rgb(var(--color-logo-stop)))",
 | 
					            "linear-gradient(180deg, rgb(var(--color-logo-start)), rgb(var(--color-logo-stop)))",
 | 
				
			||||||
          mask: `url(${iconSource}) no-repeat center / contain`,
 | 
					          mask: `url(${iconSource}) no-repeat center / contain`,
 | 
				
			||||||
          WebkitMask: `url(${iconSource}) no-repeat center / contain`,
 | 
					          WebkitMask: `url(${iconSource}) no-repeat center / contain`,
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user