@siyahi/tools 0.1.9-next.26 → 0.1.9-next.27

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.
Files changed (2) hide show
  1. package/contrast.mjs +3 -0
  2. package/package.json +1 -1
package/contrast.mjs CHANGED
@@ -90,6 +90,9 @@ const PAIRS = [
90
90
  ...["", "muted", "muted/50"].map((bg) => ({ fg: "input", bg, min: MARK })),
91
91
  { fg: "input", bg: "input/30", min: MARK, scheme: "dark" },
92
92
  ...["ring", "destructive"].map((fg) => ({ fg, bg: "", min: MARK })),
93
+ // A toggle's focus ring also meets the button it rings: a selected one's
94
+ // foreground fill, or a hovered one's muted fill.
95
+ ...["foreground", "muted"].map((bg) => ({ fg: "ring", bg, min: MARK })),
93
96
  // A tone's icon or StatusBadge dot against the tone's own wash (lib/tone.ts).
94
97
  ...[
95
98
  ["link", "chart-1/8"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@siyahi/tools",
3
- "version": "0.1.9-next.26",
3
+ "version": "0.1.9-next.27",
4
4
  "description": "Checks and build helpers for Siyahi pages: a lint plugin, a font preload plugin, a theme contrast check, and screenshot and layout shift scripts.",
5
5
  "homepage": "https://siyahi.jatinbansal.com",
6
6
  "license": "MIT",