Skip to content

Commit

Permalink
[MessageIndicator] Convert to use color system, improve contrast
Browse files Browse the repository at this point in the history
  • Loading branch information
chloerice committed Nov 14, 2019
1 parent 03c9b88 commit bdf9550
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/components/MessageIndicator/MessageIndicator.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@import '../../styles/common';

$indicator-size: rem(8px);
$indicator-size: 1.2rem;
$indicator-position: rem(-3px);

.MessageIndicatorWrapper {
position: relative;
Expand All @@ -9,10 +10,11 @@ $indicator-size: rem(8px);
.MessageIndicator {
position: absolute;
z-index: 1;
top: 0;
right: 0;
top: $indicator-position;
right: $indicator-position;
width: $indicator-size;
height: $indicator-size;
border-radius: 100%;
background-color: color('teal');
background-color: var(--p-highlight-icon, color('teal'));
border: solid 2px var(--p-surface-background, var(--top-bar-background));
}

0 comments on commit bdf9550

Please sign in to comment.