Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task
LuckyZiLong opened this issue Dec 18, 2024 · 2 comments
Open
1 task

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

LuckyZiLong opened this issue Dec 18, 2024 · 2 comments

Comments

@LuckyZiLong
Copy link

  • 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"
@luoxing66
Copy link

支持

@IF-tiger
Copy link

好像早就有相关的pr了,不知道什么原因还没有合进主版本

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants