mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 03:11:54 +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.
(cherry picked from commit 5938f685ad)
This commit is contained in:
committed by
Tim Abbott
parent
bdf731f6e7
commit
53ace27db1
@@ -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