Browse Source

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
pull/4009/head
Li Kui 2 years ago
committed by GitHub
parent
commit
8313be8e08
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      packages/@core/ui-kit/menu-ui/src/components/menu.vue

4
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));

Loading…
Cancel
Save