Fall back to using currentColor if lwt fill color isn't set
This commit is contained in:
		
							parent
							
								
									1a9521f9be
								
							
						
					
					
						commit
						2128a17ac6
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -4,7 +4,7 @@
 | 
			
		|||
toolbar .toolbarbutton-1:not([open]),
 | 
			
		||||
.titlebar-button,
 | 
			
		||||
#tabbrowser-tabs toolbarbutton{
 | 
			
		||||
  background-image: radial-gradient(circle at center, var(--lwt-toolbarbutton-icon-fill) 0,var(--lwt-toolbarbutton-icon-fill) 10%,transparent 15% );
 | 
			
		||||
  background-image: radial-gradient(circle at center, var(--lwt-toolbarbutton-icon-fill,currentColor) 0,var(--lwt-toolbarbutton-icon-fill,currentColor) 10%,transparent 15% );
 | 
			
		||||
}
 | 
			
		||||
/* Hide placeholder on hover */
 | 
			
		||||
toolbar:hover + toolbar .toolbarbutton-1,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -13,7 +13,7 @@ such as, nav-bar buttons are not shown when urlbar is hovered
 | 
			
		|||
toolbar .toolbarbutton-1:not([open]),
 | 
			
		||||
.titlebar-button,
 | 
			
		||||
#tabbrowser-tabs toolbarbutton{
 | 
			
		||||
  background-image: radial-gradient(circle at center, var(--lwt-toolbarbutton-icon-fill) 0,var(--lwt-toolbarbutton-icon-fill) 10%,transparent 15% );
 | 
			
		||||
  background-image: radial-gradient(circle at center, var(--lwt-toolbarbutton-icon-fill,currentColor) 0,var(--lwt-toolbarbutton-icon-fill,currentColor) 10%,transparent 15% );
 | 
			
		||||
}
 | 
			
		||||
/* Hide placeholder on hover */
 | 
			
		||||
toolbar:hover .toolbarbutton-1,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue