Skip to content

Commit

Permalink
Uses css vars for colors
Browse files Browse the repository at this point in the history
  • Loading branch information
cpap committed Oct 28, 2020
1 parent 470d718 commit 2ac093c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions client/my-sites/sidebar-unified/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
--color-sidebar-text: #eee;
--color-sidebar-text-alternative: #a2aab2;
--color-sidebar-gridicon-fill: #a2aab2;
--color-sidebar-notice-background: #3c434a;

.is-sidebar-collapsed:not( .is-section-reader ):not( .is-section-me ) & {
--sidebar-width-max: 36px;
Expand Down Expand Up @@ -198,7 +199,7 @@ $font-size: rem( 14px );
}

.notice {
background-color: #3c434a;
background-color: var( --color-sidebar-notice-background );
/* stylelint-disable-next-line scales/font-weight */
font-weight: 300;

Expand All @@ -217,12 +218,12 @@ $font-size: rem( 14px );
width: 18px;
height: 18px;
border-radius: 50%;
background: #a7aaad;
background: var( --color-sidebar-gridicon-fill );
}
}

.gridicon {
fill: #3c434a;
fill: var( --color-sidebar-notice-background );
}

.notice__content {
Expand Down

0 comments on commit 2ac093c

Please sign in to comment.