mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
starlight_help: Display gradient for the idle status icon.
Fixes #35496. We were displaying a solid color until we figured out how to accurately display the gradient in the SVG itself.
This commit is contained in:
committed by
Tim Abbott
parent
72ea340f80
commit
5938f685ad
@@ -979,6 +979,11 @@ svg_rules = RuleList(
|
||||
"pattern": r"fill=(['\"])(.*?)\1",
|
||||
"description": "System icons ignore fill values, so do not include the fill property.",
|
||||
"include_only": {"web/shared/icons/", "web/images/icons/"},
|
||||
# This file needs the fill property to define the fill as
|
||||
# a linear gradient. We cannot define the gradient in CSS
|
||||
# in a clean way and thus we have decided to define the
|
||||
# gradient in the SVG itself.
|
||||
"exclude": {"web/shared/icons/user-circle-idle.svg"},
|
||||
},
|
||||
{
|
||||
"pattern": "fill:",
|
||||
|
||||
Reference in New Issue
Block a user