fix(ui): polish the active navigation items color

This commit is contained in:
charlie
2023-11-14 14:00:23 +08:00
parent eee0410181
commit eaea4bdc2e

View File

@@ -91,7 +91,6 @@
overflow-y: auto;
overflow-x: hidden;
background-color: or(--ls-left-sidebar-background-color, --lx-gray-02, --ls-primary-background-color);
background-color: var(--ls-primary-background-color);
border-right: 1px solid or(--ls-left-sidebar-border-color, --lx-gray-03, --ls-tertiary-background-color);
transition: transform .3s;
transform: translate3d(-100%, 0, 0);
@@ -172,8 +171,8 @@
color: or(--ls-left-sidebar-text-color-hover, --lx-gray-12);
}
&.active, &:active {
background-color: or(--ls-left-sidebar-active-background, --lx-gray-04, --ls-primary-background-color);
&.active {
background-color: or(--ls-left-sidebar-active-background, --lx-gray-04, --color-level-3);
color: or(--ls-left-sidebar-active-text-color, --lx-gray-12);
.ui__icon {
opacity: .9;