Skip to content

Commit

Permalink
fix: presence icons for dark forced colors (#2817)
Browse files Browse the repository at this point in the history
Co-authored-by: Musale Martin <martinmusale@microsoft.com>
  • Loading branch information
gavinbarron and musale committed Nov 10, 2023
1 parent 0ea7e6a commit 00b168b
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions packages/mgt-components/src/components/mgt-person/mgt-person.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit 00b168b

Please sign in to comment.