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]: Layer tokens are being overwritten #1910

Open
2 of 6 tasks
janhassel opened this issue Nov 7, 2024 · 0 comments
Open
2 of 6 tasks

[Bug]: Layer tokens are being overwritten #1910

janhassel opened this issue Nov 7, 2024 · 0 comments

Comments

@janhassel
Copy link
Member

Relevant package(s)

  • @carbon/charts
  • @carbon/charts-svelte
  • @carbon/charts-react
  • @carbon/charts-angular
  • @carbon/charts-vue
  • Documentation website

Carbon Charts Version

1.22.0

Which bundler are you using?

Vite

What happened and what did you expect to happen?

The charts re-emit all Carbon css custom properties on their .cds--chart-holder wrapper. This resets the layering token model from Carbon and causes visual defects.

Example: GaugeChart
Image
Image

Chart data and options (automatically formatted so no need for backticks)

No response

JavaScript console or build output (if relevant)

No response

StackBlitz repro

https://stackblitz.com/edit/github-ne9s2r?file=src%2FApp.jsx

IBM Application/Team (if relevant)

No response

What priority level would this be in your opinion?

P3 (Low)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant