@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.mjs CHANGED
@@ -265,14 +265,24 @@ function RadarChartCore({
265
265
  {
266
266
  key: "compare-static",
267
267
  points: comparePoints,
268
- style: { fill: "rgba(90, 154, 110, 0.45)", stroke: "#5A9A6E", strokeWidth: 2, mixBlendMode: "multiply" }
268
+ style: {
269
+ fill: darkMode ? "rgba(110, 210, 140, 0.55)" : "rgba(90, 154, 110, 0.45)",
270
+ stroke: darkMode ? "#6DD28C" : "#5A9A6E",
271
+ strokeWidth: 2,
272
+ mixBlendMode: darkMode ? "normal" : "multiply"
273
+ }
269
274
  }
270
275
  ) : /* @__PURE__ */ React.createElement(
271
276
  animated.polygon,
272
277
  {
273
278
  key: "compare-animated",
274
279
  points: compareSpring.points,
275
- style: { fill: "rgba(90, 154, 110, 0.45)", stroke: "#5A9A6E", strokeWidth: 2, mixBlendMode: "multiply" }
280
+ style: {
281
+ fill: darkMode ? "rgba(110, 210, 140, 0.55)" : "rgba(90, 154, 110, 0.45)",
282
+ stroke: darkMode ? "#6DD28C" : "#5A9A6E",
283
+ strokeWidth: 2,
284
+ mixBlendMode: darkMode ? "normal" : "multiply"
285
+ }
276
286
  }
277
287
  ) : null,
278
288
  hasCompareData && compareCoords && compareCoords.map(([cx, cy], i) => {
@@ -288,7 +298,7 @@ function RadarChartCore({
288
298
  cx,
289
299
  cy,
290
300
  r: matches ? 8 : 7,
291
- fill: matches ? "#fed12e" : "#5A9A6E",
301
+ fill: matches ? "#fed12e" : darkMode ? "#6DD28C" : "#5A9A6E",
292
302
  stroke: "#FFFFFF",
293
303
  strokeWidth: 3,
294
304
  style: { pointerEvents: "none" }