@stackone/malachite 2.132.0 → 2.133.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/theme.js CHANGED
@@ -143,7 +143,10 @@ const A = [
143
143
  borderHover: "rgb(239, 55, 55)",
144
144
  shadow: "rgb(239, 55, 55)",
145
145
  shadowLight: "rgba(239, 55, 55, 0.4)",
146
- shadowMedium: "rgba(239, 55, 55, 0.6)"
146
+ shadowMedium: "rgba(239, 55, 55, 0.6)",
147
+ // 5.11:1 for white text on it.
148
+ fill: "rgb(196, 62, 62)",
149
+ fillForeground: "rgb(255, 255, 255)"
147
150
  },
148
151
  success: {
149
152
  background: "rgba(0, 175, 102)",
@@ -690,7 +693,10 @@ const A = [
690
693
  borderHover: "rgb(255, 100, 100)",
691
694
  shadow: "rgb(255, 100, 100)",
692
695
  shadowLight: "rgba(255, 100, 100, 0.4)",
693
- shadowMedium: "rgba(255, 100, 100, 0.6)"
696
+ shadowMedium: "rgba(255, 100, 100, 0.6)",
697
+ // Brighter than light's, to stand off the dark card (3.5:1), and 4.62:1 for white text.
698
+ fill: "rgb(220, 50, 50)",
699
+ fillForeground: "rgb(255, 255, 255)"
694
700
  },
695
701
  success: {
696
702
  background: "rgba(50, 205, 132)",
@@ -1706,7 +1712,9 @@ function er() {
1706
1712
  borderHover: r.getPropertyValue("--malachite-destructive-border-hover").trim() || e.colors.destructive.borderHover,
1707
1713
  shadow: r.getPropertyValue("--malachite-destructive-shadow").trim() || e.colors.destructive.shadow,
1708
1714
  shadowLight: r.getPropertyValue("--malachite-destructive-shadow-light").trim() || e.colors.destructive.shadowLight,
1709
- shadowMedium: r.getPropertyValue("--malachite-destructive-shadow-medium").trim() || e.colors.destructive.shadowMedium
1715
+ shadowMedium: r.getPropertyValue("--malachite-destructive-shadow-medium").trim() || e.colors.destructive.shadowMedium,
1716
+ fill: r.getPropertyValue("--malachite-destructive-fill").trim() || e.colors.destructive.fill,
1717
+ fillForeground: r.getPropertyValue("--malachite-destructive-fill-foreground").trim() || e.colors.destructive.fillForeground
1710
1718
  },
1711
1719
  success: {
1712
1720
  background: r.getPropertyValue("--malachite-success-background").trim() || e.colors.success.background,