admin-vben/packages/@core/ui-kit
AxiosLeo 03ebbea46a
fix(menu): update hover color variable to use the correct reference (#7544)
* fix(menu): update hover color variable to use the correct reference

Medium Severity

In the horizontal .is-light menu section, --menu-item-hover-color is set to hsl(var(--menu-item-color)), but --menu-item-color is already defined as hsl(var(--accent-foreground)). This results in hsl(hsl(...)) at computed-value time, which is invalid CSS. The non-horizontal .is-light block correctly uses var(--menu-item-color) without the extra hsl() wrapper.

* fix(menu): simplify hover styles by removing redundant nested hover rules

Low Severity

The SCSS &:not(.is-active):hover { &:hover { ... } } compiles to a :hover:hover pseudo-class chain, which is functionally identical to a single :hover. The inner &:hover nesting is redundant and adds unnecessary complexity compared to placing styles directly inside the &:not(.is-active):hover block.
2026-02-12 22:22:53 +08:00
..
form-ui chore: release 5.6.0 2026-02-09 05:09:57 +08:00
layout-ui fix: Fix layout change, ensure div[ref="asideRef"] is contained within <aside> (#7551) 2026-02-12 22:22:34 +08:00
menu-ui fix(menu): update hover color variable to use the correct reference (#7544) 2026-02-12 22:22:53 +08:00
popup-ui chore: release 5.6.0 2026-02-09 05:09:57 +08:00
shadcn-ui chore: release 5.6.0 2026-02-09 05:09:57 +08:00
tabs-ui fix: 优化横向布局时菜单激活或聚焦时背景色,标签工具栏新增刷新按钮,其他样式优化 2026-02-09 16:32:02 +08:00
README.md chore: update deps 2024-07-05 23:22:37 +08:00

README.md

ui-kit

用于管理公共组件、不同UI组件库封装的组件