[AAE-19247] Add css variables for selected and hover menu item (#3592)

This commit is contained in:
Bartosz Sekula
2024-01-10 11:20:17 +01:00
committed by GitHub
parent 2b90e4345d
commit 58070d9666
2 changed files with 3 additions and 2 deletions

View File

@@ -80,7 +80,7 @@
user-select: none;
&:hover .aca-action-button__label {
color: var(--theme-sidenav-text-color);
color: var(--theme-sidenav-active-text-color);
}
}
@@ -103,7 +103,7 @@
line-height: 32px;
&--active {
color: var(--theme-sidenav-text-color);
color: var(--theme-sidenav-active-text-color);
background: var(--theme-selected-background-color);
}
}

View File

@@ -48,6 +48,7 @@ $defaults: (
--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-sidenav-active-text-color: mat.get-color-from-palette($foreground, text),
--theme-sidenav-user-menu-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),