Skip to content

Commit

Permalink
feat: Update sidebar links to use abstract css var colors
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Jun 23, 2020
1 parent 341053f commit c8efa50
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/components/Navigation.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
}

.navLink {
color: var(--color-neutrals-900);
color: var(--primary-text-color);
margin-bottom: 1rem;
display: flex;
align-items: center;
Expand All @@ -34,7 +34,7 @@
transition: 0.1s;

&:not(.isCurrentPage):hover {
color: var(--color-neutrals-600);
color: var(--secondary-text-color);
}

[data-depth='0'] > & {
Expand All @@ -47,7 +47,7 @@
}

button.navLink {
color: var(--color-neutrals-900);
color: var(--primary-text-color);
background: inherit;
border: none;
padding: 0;
Expand All @@ -67,13 +67,14 @@ button.navLink {
margin-right: 0.5rem;
stroke-width: 4;
transition: 0.2s;

&.isExpanded {
transform: rotate(90deg);
}
}

.groupName {
color: var(--color-neutrals-600);
color: var(--secondary-text-color);
font-weight: bold;
font-size: 0.75rem;
text-transform: uppercase;
Expand Down

0 comments on commit c8efa50

Please sign in to comment.