mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
icons: Let the system using the icons specify the fill-rule color.
The fill-rule color 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
7eec8fe3a2
commit
840817d2df
@@ -975,6 +975,11 @@ svg_rules = RuleList(
|
||||
"description": "System icons ignore fill values, so do not include the fill property.",
|
||||
"include_only": {"web/shared/icons/", "web/images/icons/"},
|
||||
},
|
||||
{
|
||||
"pattern": r"fill-rule=(['\"])(.*?)\1",
|
||||
"description": "System icons ignore fill-rule values, so do not include the fill-rule property.",
|
||||
"include_only": {"web/shared/icons/", "web/images/icons/"},
|
||||
},
|
||||
],
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user