Skip to content

Button 组件自定义颜色 #6667

@mengxianghan

Description

@mengxianghan
  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

不同场景使用不同颜色的按钮,降低使用组件库以外的按钮颜色时需要写更多的样式适配

What does the proposed API look like?

自定义颜色按钮

传入 color 时,text-color 可以默认白色,当传入的 color 色纸饱和度较低的时候,可以使用text-color定义按钮文本颜色

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions