-
Notifications
You must be signed in to change notification settings - Fork 185
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
Set toolbar control background to transparent #858
Set toolbar control background to transparent #858
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why would the user change the background of the chart in any of the 4 themes? That'd probably result in a lack of compliance with the design language...?
When we set the control background to transparent (fill:none), it could work no matter user likes to follow design language or not. Our application does use the g90 theme, but we also use a little different background color for chart area. |
If you don't feel comfortable allowing developers to set the background to transparent, why not give them more theme choices? In our case, the sparkline provides a visual element to our query cards, which are IDL compliant and accessible. We need the background to be transparent because of our card states, which include hover and disabled. Unless you're going to include states in the chart, transparency is the only thing that would work here. |
I think that we definitely need to discuss this on the guild call https://www.carbondesignsystem.com/whats-happening/meetups#data-visualization-weekly-playbackwednesdays-11am12pm-central |
@natashadecoste @cal-smith |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense to me 👍
…on-charts into sparkline-with-scale-color-option * 'master' of https://github.com/carbon-design-system/carbon-charts: (24 commits) v0.41.4 Merge pull request carbon-design-system#882 from theiliad/demo-treemap-fix docs(core): add theme & API tutorials to storybook (carbon-design-system#883) v0.41.3 Merge pull request carbon-design-system#880 from sophiiae/fix-import-colors fix(core): use fill:transparent for toolbar controls (carbon-design-system#884) v0.41.2 fix(core): tooltips should hide when mouseout is triggered on the chart holder (carbon-design-system#887) fix(core): sanitize user provided axis domains add treemap to the component status table v0.41.1 Merge pull request carbon-design-system#719 from theiliad/tree-map fix(core): correct axis title paddings in y-axes (carbon-design-system#873) v0.41.0 fix: use fill:none to allow transparent toolbar control background (carbon-design-system#858) feat(core): add alignment options for gauge charts (carbon-design-system#877) v0.40.14 fix(core): replace import to lodash with lodash-es fix(core): only set zoombar data and sanitize date values if a cartesian time-series chart v0.40.13 ...
Updates
Demo screenshot or recording
No UI change in demo.
Review checklist (for reviewers only)