From 8313be8e0834e643b5691ea7096289876530cc3c Mon Sep 17 00:00:00 2001 From: Li Kui <90845831+likui628@users.noreply.github.com> Date: Fri, 2 Aug 2024 21:36:36 +0800 Subject: [PATCH] fix: The menu background color is incorrect when toggling the dark menu (#4008) * fix: the menu background color is incorrect when activating the dark menu light theme * chore: update active-color & active-background-color --- packages/@core/ui-kit/menu-ui/src/components/menu.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/@core/ui-kit/menu-ui/src/components/menu.vue b/packages/@core/ui-kit/menu-ui/src/components/menu.vue index a3eb57c4..768c5529 100644 --- a/packages/@core/ui-kit/menu-ui/src/components/menu.vue +++ b/packages/@core/ui-kit/menu-ui/src/components/menu.vue @@ -445,8 +445,8 @@ $namespace: vben; --menu-item-color: hsl(var(--foreground) / 80%); --menu-item-hover-color: hsl(var(--accent-foreground)); --menu-item-hover-background-color: hsl(var(--accent)); - --menu-item-active-color: hsl(var(--primary-foreground)); - --menu-item-active-background-color: hsl(var(--primary)); + --menu-item-active-color: hsl(var(--accent-foreground)); + --menu-item-active-background-color: hsl(var(--accent)); --menu-submenu-hover-color: hsl(var(--foreground)); --menu-submenu-hover-background-color: hsl(var(--accent)); --menu-submenu-active-color: hsl(var(--foreground));