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

[Tag] 标签组件建议支持自定义颜色 #3004

Closed
Loinver opened this issue Dec 28, 2023 · 3 comments
Closed

[Tag] 标签组件建议支持自定义颜色 #3004

Loinver opened this issue Dec 28, 2023 · 3 comments
Labels
💭 discussion we are discussing to be published fixed, not be published

Comments

@Loinver
Copy link

Loinver commented Dec 28, 2023

这个功能解决了什么问题

现有的5个主题有些不够用。

你建议的方案是什么

支持自定义颜色。

Copy link
Contributor

👋 @Loinver,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

Copy link
Contributor

♥️ 有劳 @angelzou 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @Loinver

@uyarn uyarn added the 💭 discussion we are discussing label Jan 22, 2024
maoyiluo added a commit to maoyiluo/tdesign-vue that referenced this issue Mar 5, 2024
@uyarn uyarn added 🏃🏻 in progress someone is handling to be published fixed, not be published and removed 🏃🏻 in progress someone is handling labels Mar 7, 2024
uyarn added a commit that referenced this issue Mar 14, 2024
* feat(tag): add color attribute to t-tag in order to customize tag color

feat #3004

* feat: tag自定义颜色下light和light-outline的背景色使用计算的色阶展示

feat #3004

* feat: 补充缺失的类型

* refactor(tag): 将获取颜色样式的代码抽取成方法

* feat(tag): 改用chorma计算色阶

* chore: update snapshot

* chore: update demo display

* feat(tag): use transparent color for the light mode t-tag when using with color props

* chore: update snapshot

* feat: 补充类型声明 & 清理多余依赖

---------

Co-authored-by: Uyarn <[email protected]>
uyarn added a commit that referenced this issue Apr 11, 2024
* feat(tag): add color attribute to t-tag in order to customize tag color

feat #3004

* feat: tag自定义颜色下light和light-outline的背景色使用计算的色阶展示

feat #3004

* feat: 补充缺失的类型

* refactor(tag): 将获取颜色样式的代码抽取成方法

* feat(tag): 改用chorma计算色阶

* chore: update snapshot

* chore: update demo display

* feat(tag): use transparent color for the light mode t-tag when using with color props

* chore: update snapshot

* feat: 补充类型声明 & 清理多余依赖

---------

Co-authored-by: Uyarn <[email protected]>
@uyarn
Copy link
Collaborator

uyarn commented Apr 11, 2024

已在 1.9.2 支持

@uyarn uyarn closed this as completed Apr 11, 2024
uyarn added a commit that referenced this issue Apr 11, 2024
* chore: update group code (#3111)

* feat(Tag): 增加自定义颜色参数 (#3101)

* feat(tag): add color attribute to t-tag in order to customize tag color

feat #3004

* feat: tag自定义颜色下light和light-outline的背景色使用计算的色阶展示

feat #3004

* feat: 补充缺失的类型

* refactor(tag): 将获取颜色样式的代码抽取成方法

* feat(tag): 改用chorma计算色阶

* chore: update snapshot

* chore: update demo display

* feat(tag): use transparent color for the light mode t-tag when using with color props

* chore: update snapshot

* feat: 补充类型声明 & 清理多余依赖

---------

Co-authored-by: Uyarn <[email protected]>

* fix(transfer): trigger exception for the search event (#3118)

* chore: fix image locale and update snapshot (#3119)

* fix(loading): export directive alias (#3120)

Co-authored-by: yojim <[email protected]>

* feat(TagInput): expand the deletion function of collapsedItems(#2941) (#2942)

* feat(TagInput): expand the deletion function of collapsedItems(#2941)

* fix(TagInput): onClose parameter(#2941)

* chore: update api

* chore: update api

* chore: update api

* chore: update api

---------

Co-authored-by: Uyarn <[email protected]>

* fix(checkbox): checkboxGroup max effects disable status

* docs(dialog): add comment for usage precautions (#3126)

* fix(date-picker): over parse when valueType is Date (#3127)

* fix(date-picker): over parse when valueType is Date

* chore: fix lint

* docs(dialog): mention destroy DOM elements in dialog.md (#3125)

* docs(dialog): mention destroy DOM elements in dialog.md

* docs(dialog): add more specific description in dialog.md

* docs(dialog): update translations in dialog.en-US.md

* docs(dialog): update colons in dialog.en-US.md

* fix(menu): remove usage of `height` in menu demos (#3135)

* fix(menu): remove usage of `height` in menu demos

* fix(menu): update snapshots

* fix(table): use the `fixedRows` property console to report errors (#3134)

* fix(Transfer): fix tree data filter error (#3137)

* fix(Transfer): fix tree data filter error

* fix(Transfer): fix tree data filter error

* fix(datepicker): fix datepicker week parse error (#3138)

* chore: rename loading directive export (#3140)

* chore: release 1.9.2 (#3139)

* chore: release 1.9.2

* chore: update snapshot

---------

Co-authored-by: maoyiluo <[email protected]>
Co-authored-by: betavs <[email protected]>
Co-authored-by: Yoki <[email protected]>
Co-authored-by: yojim <[email protected]>
Co-authored-by: odinlin <[email protected]>
Co-authored-by: LoopZhou <[email protected]>
Co-authored-by: Lyan-u <[email protected]>
Co-authored-by: Yunfei Shen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💭 discussion we are discussing to be published fixed, not be published
Projects
None yet
Development

No branches or pull requests

2 participants