ant-design/components/badge
Wuxh 7f189d56e5
refactor: merge preset colors (#39742)
* style: remove redundant code

* feat(style): add preset colour style generation method

(cherry picked from commit 1266e42ba27accb48a6544e3eddaa4a94daef00c)

* feat: uniform preset colour generation css selector method

(cherry picked from commit 5af87e8d5ffcfd23e755946167f200c0565f8222)

* chore: merge preset colors

(cherry picked from commit 05040dfb703f60a3ea1715326748c508acbf41a6)

* chore: update

(cherry picked from commit 241b40a1361469487a6a3e8f1ad07a25d250463d)

* chore: remove Badge preset inverse colors

* chore: remove fix

删除的这部分其实一个 Bug,但是为了给 PR 减负(尽可能单一, 后面新开一个 PR 来修复这个问题

* suggestions accepted

Update components/style/presetColor.tsx

Co-authored-by: MadCcc <1075746765@qq.com>

Co-authored-by: MadCcc <1075746765@qq.com>
2023-01-06 11:06:46 +08:00
..
__tests__ fix: fix Badge Wave borderColor error (#39182) 2022-12-02 14:42:39 +08:00
demo fix(badge): fix Badge and showZero can't be used with custom color (#38967) 2022-11-24 23:53:22 +08:00
style refactor: merge preset colors (#39742) 2023-01-06 11:06:46 +08:00
index.en-US.md docs: update overview img (#38946) 2022-11-30 20:14:41 +08:00
index.tsx refactor: merge preset colors (#39742) 2023-01-06 11:06:46 +08:00
index.zh-CN.md docs: update overview img (#38946) 2022-11-30 20:14:41 +08:00
Ribbon.tsx refactor: merge preset colors (#39742) 2023-01-06 11:06:46 +08:00
ScrollNumber.tsx chore: merge master 2022-11-13 14:33:07 +08:00
SingleNumber.tsx chore: remo format and remove prettierrc arrowParens (#38722) 2022-11-19 13:47:33 +08:00