Skip to content

Commit

Permalink
Fix sidenav selected text color
Browse files Browse the repository at this point in the history
  • Loading branch information
BSekula committed Dec 8, 2023
1 parent 2441dd4 commit 00d2ed5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

&-text {
flex: 1;
color: var(--theme-selected-text-color);
color: var(--theme-sidenav-text-color);
padding-left: 12px;
letter-spacing: 0.25px;
font-style: normal;
Expand Down Expand Up @@ -80,7 +80,7 @@
user-select: none;

&:hover .aca-action-button__label {
color: var(--theme-selected-text-color);
color: var(--theme-sidenav-text-color);
}
}

Expand All @@ -103,7 +103,7 @@
line-height: 32px;

&--active {
color: var(--theme-selected-text-color);
color: var(--theme-sidenav-text-color);
background: var(--theme-selected-background-color);
}
}
Expand Down
1 change: 1 addition & 0 deletions projects/aca-content/src/lib/ui/variables/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ $defaults: (
--theme-background-color: $background-color,
--theme-search-background-color: darken($background-color, 1),
--theme-text-color: mat.get-color-from-palette($foreground, text, 0.54),
--theme-sidenav-text-color: mat.get-color-from-palette($foreground, text),
--theme-text-bold-color: mat.get-color-from-palette($foreground, text, 0.87),
--theme-title-color: mat.get-color-from-palette($foreground, text, 0.87),
--theme-text-disabled-color: mat.get-color-from-palette($foreground, text, 0.38),
Expand Down

0 comments on commit 00d2ed5

Please sign in to comment.