Open lucasbozzo opened 1 week ago
It seems that the documentation for the Button component's theme tokens is outdated. The tokens contentLineHeight
, contentLineHeightLG
, and contentLineHeightSM
are still being shown, even though they have been deprecated and are no longer used after the mentioned pull request.
To address this issue, the documentation should be updated to remove these deprecated tokens. This will ensure that users are not misled by outdated information.
If you have any further questions or need assistance with something else related to Ant Design, feel free to ask!
Reproduction link
https://ant.design/components/button#design-token
Steps to reproduce
Scroll to the Design Token section
What is expected?
Documentation should not show tokens contentLineHeight, contentLineHeightLG or contentLineHeightSM, as they are no longer used after the PR https://github.com/ant-design/ant-design/pull/52353
What is actually happening?
They have been deprecated. Are no longer used. No matter what value provided, it is not changing the Button styles