From 00b168bfe5fee257b2dee0056e1c4758630cb95a Mon Sep 17 00:00:00 2001 From: Gavin Barron Date: Fri, 10 Nov 2023 09:57:03 -0800 Subject: [PATCH] fix: presence icons for dark forced colors (#2817) Co-authored-by: Musale Martin --- .../src/components/mgt-person/mgt-person.scss | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/packages/mgt-components/src/components/mgt-person/mgt-person.scss b/packages/mgt-components/src/components/mgt-person/mgt-person.scss index 62f4f824a8..983b6e040a 100644 --- a/packages/mgt-components/src/components/mgt-person/mgt-person.scss +++ b/packages/mgt-components/src/components/mgt-person/mgt-person.scss @@ -264,18 +264,9 @@ $person-line4-text-line-height: var(--person-line4-text-line-height, 16px); @media (forced-colors: active) and (prefers-color-scheme: dark) { :host svg, :host svg > path { - fill: rgb(255 255 255) !important; - fill-rule: nonzero !important; - clip-rule: nonzero !important; - } -} - -@media (forced-colors: active) and (prefers-color-scheme: dark) { - :host svg, - :host svg > path { - fill: rgb(0 0 0) !important; - fill-rule: nonzero !important; - clip-rule: nonzero !important; + fill: rgb(255 255 255); + fill-rule: nonzero; + clip-rule: nonzero; } }