ant-design/components/button
Oyster Lee 6b98f84c62
feat(Button): support color from Antd's colors (#51550)
* feat(button): add antd preset colors

* chore(button): add colors to docs

* test(button): add tests for colors

* refactor: remove LiteralUnion

* test: add const to colors

* refactor(button): import from preset colors

* chore(button): update docs

* test(button): test with preset colors

* test(button): import from relative path

* fix(button): color

* fix(button): add missing box shadow

* test(button): merge preset colors and variants test case

* refactor(button): use light color as box shadow

* refactor(button): set hover color to 5

* docs(button): update doc

* docs(button): update doc

---------

Co-authored-by: ice <49827327+coding-ice@users.noreply.github.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-12-09 14:27:07 +08:00
..
__tests__ feat(Button): support color from Antd's colors (#51550) 2024-12-09 14:27:07 +08:00
demo feat(Button): support color from Antd's colors (#51550) 2024-12-09 14:27:07 +08:00
style feat(Button): support color from Antd's colors (#51550) 2024-12-09 14:27:07 +08:00
button-group.tsx refactor: add boime lint and fix lint errrors (#49536) 2024-06-22 21:59:12 +08:00
button.tsx feat: Button support custom loading icon (#51758) 2024-11-25 10:08:50 +08:00
buttonHelpers.tsx feat(Button): support color from Antd's colors (#51550) 2024-12-09 14:27:07 +08:00
DefaultLoadingIcon.tsx feat: Button support custom loading icon (#51758) 2024-11-25 10:08:50 +08:00
IconWrapper.tsx feat: Button semantic dom (#41456) 2023-04-11 11:37:31 +08:00
index.en-US.md feat(Button): support color from Antd's colors (#51550) 2024-12-09 14:27:07 +08:00
index.tsx docs: unify component export file as index.tsx (#50013) 2024-07-23 22:22:24 +08:00
index.zh-CN.md feat(Button): support color from Antd's colors (#51550) 2024-12-09 14:27:07 +08:00