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

[Bug]: Button tokens in @carbon/themes are inconsistent with documentation website #18095

Open
2 tasks done
gabrieldrn opened this issue Nov 18, 2024 · 0 comments
Open
2 tasks done

Comments

@gabrieldrn
Copy link

Package

@carbon/themes

Browser

Chrome

Package version

11.43.0

React version

No response

Description

Some button color tokens does not correspond to the ones defined in Carbon's documentation website here.
You can find an exhaustive list of the button tokens in this commit from a project I'm working on in variable adjustedTokens:
gabrieldrn/carbon-compose@f8b078c#diff-2443db8bd8e1e35cc55f4d35a4fea13a9f977197c8cbef7b0d100c3d539035f6R38
For example, for the white theme, token buttonPrimaryHover should equal to #0353E9 instead of #0050E6:


I suspect there is other tokens with wrong values across the package but checking them all would take me too much time.

Reproduction/example

no-op

Steps to reproduce

no-op

Suggested Severity

None

Application/PAL

No response

Code of Conduct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant