@opendata-ai/openchart-core 2.8.0 → 2.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/styles.css CHANGED
@@ -742,11 +742,13 @@ th[aria-sort="descending"] .viz-table-sort-btn::before {
742
742
  }
743
743
 
744
744
  /* Dark mode graph overrides (darker bg for canvas-based rendering) */
745
- .viz-dark .viz-graph-wrapper {
745
+ .viz-dark .viz-graph-wrapper,
746
+ .viz-graph-wrapper.viz-dark {
746
747
  --viz-bg: #0d1117;
747
748
  }
748
749
 
749
- .viz-dark .viz-graph-legend {
750
+ .viz-dark .viz-graph-legend,
751
+ .viz-dark.viz-graph-wrapper .viz-graph-legend {
750
752
  background: rgba(13, 17, 23, 0.85);
751
753
  border-color: rgba(255, 255, 255, 0.1);
752
754
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opendata-ai/openchart-core",
3
- "version": "2.8.0",
3
+ "version": "2.9.0",
4
4
  "description": "Types, theme, colors, accessibility, and utilities for openchart",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Riley Hilliard",
@@ -742,11 +742,13 @@ th[aria-sort="descending"] .viz-table-sort-btn::before {
742
742
  }
743
743
 
744
744
  /* Dark mode graph overrides (darker bg for canvas-based rendering) */
745
- .viz-dark .viz-graph-wrapper {
745
+ .viz-dark .viz-graph-wrapper,
746
+ .viz-graph-wrapper.viz-dark {
746
747
  --viz-bg: #0d1117;
747
748
  }
748
749
 
749
- .viz-dark .viz-graph-legend {
750
+ .viz-dark .viz-graph-legend,
751
+ .viz-dark.viz-graph-wrapper .viz-graph-legend {
750
752
  background: rgba(13, 17, 23, 0.85);
751
753
  border-color: rgba(255, 255, 255, 0.1);
752
754
  }