Skip to content

希望添加颜色选择器组件 #7980

@luckzilong

Description

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

What problem does this feature solve?

1.用户自定义颜色需求,用户可能需要根据个人喜好或品牌要求来定制界面元素的颜色,如按钮、文本、背景等。
2.增强用户体验,通过允许用户选择颜色,可以增加用户对应用的控制感和个性化体验,从而提升整体的使用满意度。

What does the proposed API look like?

<template>
<div class="color-picker-demo">
<ColorPicker />
</div>
</template>

Api:
value:

  • 类型:String
  • 说明:用于双向绑定颜色选择器的值,支持 HEX、RGB、HSL 等格式。
  • 示例v-model="selectedColorValue"
    format:
  • 类型:String
  • 说明:指定颜色的显示格式,如 hexrgbrgbahsl 等。
  • 默认值rgb
  • 示例format="rgb"

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