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]: Badge add transparent as possible backgroundColor value and find a way to overwrite the textColor with the prop passed #1724

Open
simotae14 opened this issue May 10, 2024 · 0 comments
Labels
issue: bug Issue reporting a bug status: pending reproduction Waiting for free time to reproduce the issue, or more information
Milestone

Comments

@simotae14
Copy link
Contributor

What version of strapi-design-system are you using?

DS - v2.0.0-beta.3
Node - v20.10.0
NPM - v10.2.3
YARN - v4.0.1
Browser - Chrome

What's Wrong?

it is impossible to pass transparent as backgroundColor (we have a Type issue)

And if you try to pass a value to the textColor prop it doesn't apply

To Reproduce

Create a Badge content in the cms and try to pass the two props, transparent is not allowed as backgroundColor and the textColor doesn't work

Expected Behaviour

I think transparent needs to be an option for the the background color and the textColor needs to be applied

@simotae14 simotae14 added issue: bug Issue reporting a bug status: pending reproduction Waiting for free time to reproduce the issue, or more information labels May 10, 2024
@joshuaellis joshuaellis added this to the v2.0.0 milestone May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: bug Issue reporting a bug status: pending reproduction Waiting for free time to reproduce the issue, or more information
Projects
None yet
Development

No branches or pull requests

2 participants