Skip to content

Bug: NaiveUI 组件部分预设颜色在 vben 表单部分控件中有问题 #5715

@ImYrS

Description

@ImYrS

Version

Vben Admin V5

Describe the bug?

  1. 主要问题都出现在 Light 浅色主体下
  2. 发生的问题的控件包括 Radio、RadioButton、Checkbox 等。

Reproduction

  1. 访问 https://naive.vben.pro/#/demos/form
  2. 将主题颜色切换为 黄色 + 浅色
  3. 此时可以明显看到部分控件颜色异常
  4. 将颜色切换至 樱花粉、浅绿色 等几个颜色时,可以看到上述组件颜色非正常的 白色/浅灰色/灰色,而是浅粉色。
Image Image

System Info

System:
    OS: macOS 15.2
    CPU: (14) arm64 Apple M3 Max
    Memory: 6.93 GB / 96.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 22.14.0 - /opt/homebrew/opt/node@22/bin/node
    Yarn: 1.22.22 - /opt/homebrew/bin/yarn
    npm: 10.9.2 - /opt/homebrew/opt/node@22/bin/npm
    pnpm: 9.15.7 - ~/Library/pnpm/pnpm
  Browsers:
    Chrome: 134.0.6998.45
    Safari: 18.2

Relevant log output

Validations

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions