@empoweredvote/ev-ui 0.8.8 → 0.8.9

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/index.js CHANGED
@@ -356,14 +356,24 @@ function RadarChartCore({
356
356
  {
357
357
  key: "compare-static",
358
358
  points: comparePoints,
359
- style: { fill: "rgba(90, 154, 110, 0.45)", stroke: "#5A9A6E", strokeWidth: 2, mixBlendMode: "multiply" }
359
+ style: {
360
+ fill: darkMode ? "rgba(110, 210, 140, 0.55)" : "rgba(90, 154, 110, 0.45)",
361
+ stroke: darkMode ? "#6DD28C" : "#5A9A6E",
362
+ strokeWidth: 2,
363
+ mixBlendMode: darkMode ? "normal" : "multiply"
364
+ }
360
365
  }
361
366
  ) : /* @__PURE__ */ import_react.default.createElement(
362
367
  import_web.animated.polygon,
363
368
  {
364
369
  key: "compare-animated",
365
370
  points: compareSpring.points,
366
- style: { fill: "rgba(90, 154, 110, 0.45)", stroke: "#5A9A6E", strokeWidth: 2, mixBlendMode: "multiply" }
371
+ style: {
372
+ fill: darkMode ? "rgba(110, 210, 140, 0.55)" : "rgba(90, 154, 110, 0.45)",
373
+ stroke: darkMode ? "#6DD28C" : "#5A9A6E",
374
+ strokeWidth: 2,
375
+ mixBlendMode: darkMode ? "normal" : "multiply"
376
+ }
367
377
  }
368
378
  ) : null,
369
379
  hasCompareData && compareCoords && compareCoords.map(([cx, cy], i) => {
@@ -379,7 +389,7 @@ function RadarChartCore({
379
389
  cx,
380
390
  cy,
381
391
  r: matches ? 8 : 7,
382
- fill: matches ? "#fed12e" : "#5A9A6E",
392
+ fill: matches ? "#fed12e" : darkMode ? "#6DD28C" : "#5A9A6E",
383
393
  stroke: "#FFFFFF",
384
394
  strokeWidth: 3,
385
395
  style: { pointerEvents: "none" }