Commit b39e24d
authored
feat(highlight): Add support to configure dimmed (unhighlight) colors for Bar, Partition, Waffle and Flame charts (#2774)
- Adds configurable dimmed (unhighlighted) styling for bar and partition-based charts, including waffle and flame/icicle layouts.
- Default themes now render unhighlighted bars/sectors with a solid neutral fill for clearer focus (light: Shade 15 #ECF1F9, dark: Shade 110 #384861).
- Supports opacity-only dimming via dimmed: { opacity: number } and preserves legacy/Amsterdam opacity defaults for backward compatibility.
- Improves coverage with Storybook examples and Playwright VRTs for legend-hover dimming across the affected chart types.1 parent 54ca7cb commit b39e24d
62 files changed
Lines changed: 1482 additions & 104 deletions
File tree
- e2e
- screenshots
- all.test.ts-snapshots/baselines
- interactions
- stylings
- flame_stories.test.ts-snapshots/flame-stories
- legend_stories.test.ts-snapshots/legend-stories
- metric_stories.test.ts-snapshots/metric
- partition_stories.test.ts-snapshots/axis-stories
- theme-dark
- theme-light
- stylings_stories.test.ts-snapshots/stylings-stories
- dimmed-highlight-style
- theme-dark
- theme-light
- texture/bar
- waffle_stories.test.ts-snapshots/waffle
- theme-dark
- theme-light
- tests
- packages/charts
- api
- src
- chart_types
- partition_chart/renderer
- canvas
- dom
- xy_chart
- renderer/canvas
- styles
- rendering
- __snapshots__
- common
- mocks
- utils/themes
- storybook/stories
- icicle
- interactions
- stylings
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
0 commit comments