mirror of
https://gitcode.com/gh_mirrors/vue/vue-vben-admin
synced 2026-05-16 19:57:48 +00:00
refactor(menu): added component. Solve the menu stuck problem
This commit is contained in:
@@ -71,7 +71,7 @@ export function updateSidebarBgColor(color: string) {
|
||||
|
||||
setCssVar(SIDER_DARK_BG_COLOR, color);
|
||||
setCssVar(SIDER_DARK_DARKEN_BG_COLOR, darken(color, 6));
|
||||
setCssVar(SIDER_LIGHTEN_1_BG_COLOR, lighten(color, 4));
|
||||
setCssVar(SIDER_LIGHTEN_1_BG_COLOR, lighten(color, 5));
|
||||
setCssVar(SIDER_LIGHTEN_2_BG_COLOR, lighten(color, 8));
|
||||
|
||||
// only #ffffff is light
|
||||
|
||||
Reference in New Issue
Block a user