mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	icons: Let the system using the icons specify the stroke property.
Fixes #34716. The stroke property is ignored when we generate webfonts in our main app. See https://zulip.readthedocs.io/en/latest/subsystems/icons.html#cleaning-up-the-svg-code for more details.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							840817d2df
						
					
				
				
					commit
					26595799c7
				
			@@ -980,6 +980,11 @@ svg_rules = RuleList(
 | 
			
		||||
            "description": "System icons ignore fill-rule values, so do not include the fill-rule property.",
 | 
			
		||||
            "include_only": {"web/shared/icons/", "web/images/icons/"},
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
            "pattern": r"stroke=(['\"])(.*?)\1",
 | 
			
		||||
            "description": "System icons ignore stroke values, so do not include the stroke property.",
 | 
			
		||||
            "include_only": {"web/shared/icons/", "web/images/icons/"},
 | 
			
		||||
        },
 | 
			
		||||
    ],
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user