Skip to content

Commit

Permalink
[components] Update text color in Avatar component
Browse files Browse the repository at this point in the history
  • Loading branch information
mariuslundgard authored and rexxars committed Oct 6, 2020
1 parent bab150c commit 6394669
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/@sanity/components/src/avatar/Avatar.css
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
.initials {
width: 100%;
height: 100%;
color: var(--white);
color: var(--text-color);
display: flex;
align-items: center;
justify-content: center;
Expand All @@ -138,6 +138,6 @@
}

@nest .root[data-tone='navbar'] & {
color: var(--main-navigation-color);
color: var(--main-navigation-color--inverted);
}
}

0 comments on commit 6394669

Please sign in to comment.