Skip to content

feat(statustag): support bg statusTag #450

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

Merged
merged 4 commits into from
Sep 4, 2024

Conversation

LuckyFBB
Copy link
Collaborator

@LuckyFBB LuckyFBB commented Mar 6, 2024

#448

Previewer

添加功能

添加带有背景色的状态标签
支持自定义 icon

修改

移除 showBorder 属性,使用 type 替换,支持 deafult | outline | fill 三种类型,分别对应 无边框 | 有边框 | 背景色

原有的 type 属性迁移到 color 属性上,内置 6 种类型,warning | error | success | run | stopped | frozen 符合 UI5.0 的色阶规范;支持自定义 color 颜色(支持 RGB 和 十六进制),在 fill 类型下,背景色是 color + 0.3 的透明度组合而成

原有的 type 属性迁移到 color 属性上,内置 8 种类型,'blue' | 'yellow' | 'green' | 'gray' | 'red' | 'purple' | 'cyan' | 'pink' 符合 UI5.0 的色阶规范;支持自定义 color 颜色(支持 RGB 和 十六进制),在 fill 类型下,自定义 color 背景色可以通过 background 自定义,默认为是 color + 0.15 的透明度组合而成

Co-authored-by: 野迂迂 <yangwei1@outlook.com>
@LuckyFBB
Copy link
Collaborator Author

font-size 12px
border-color #d8dae2

@liuxy0551 liuxy0551 merged commit 3f73f5b into DTStack:master Sep 4, 2024
1 check passed
@LuckyFBB LuckyFBB deleted the feat/statusTag branch May 27, 2025 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants