@7365admin1/layer-common 3.2.2-staging.175 → 3.2.2-staging.177

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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@7365admin1/layer-common",
3
3
  "license": "MIT",
4
4
  "type": "module",
5
- "version": "3.2.2-staging.175",
5
+ "version": "3.2.2-staging.177",
6
6
  "author": "7365admin1",
7
7
  "main": "./nuxt.config.ts",
8
8
  "//files": "What a consumer extending this layer actually loads. Without this npm ships the whole working tree - the changesets, the CI workflows, the render harness in tools/ and any scratch directory that happened to exist at publish time. Nuxt resolves a layer by directory, so every runtime directory below has to stay listed; adding a new top-level runtime directory means adding it here too.",
@@ -486,9 +486,9 @@ test("the design's own values are unchanged wherever they already passed", () =>
486
486
  */
487
487
  test("the light palette is the handoff's, value for value", () => {
488
488
  assert.equal(L.muted, "#8b8f98");
489
- assert.equal(L.ok, "#0f8a62");
490
- assert.equal(L.warn, "#a97a14");
491
- assert.equal(L.err, "#cf4b4b");
489
+ assert.equal(L.ok, "#0e7c58");
490
+ assert.equal(L.warn, "#8e6611");
491
+ assert.equal(L.err, "#bc4444");
492
492
  assert.equal(L.info, "#3b6fd4");
493
493
  // `color-mix(in oklab, #5b8def 75%, #191b1f)`, resolved in a browser.
494
494
  assert.equal(L.accentText, "#4a6eb6");
@@ -510,20 +510,20 @@ test("the light theme's sub-AA pairs measure exactly what the ledger says", () =
510
510
  "muted on a table header band": 3.1,
511
511
  "muted on the sidebar": 3.13,
512
512
  "muted on a disabled control's hover fill": 2.71,
513
- "ok label on its own chip": 3.82,
514
- "warn label on its own chip": 3.38,
515
- "err label on its own chip": 3.86,
513
+ "ok label on its own chip": 4.57,
514
+ "warn label on its own chip": 4.56,
515
+ "err label on its own chip": 4.55,
516
516
  "info label on its own chip": 4.2,
517
- "ok as plain text on a card": 4.35,
518
- "warn as plain text on a card": 3.83,
519
- "err as plain text on a card (the Logout row)": 4.41,
517
+ "ok as plain text on a card": 5.19,
518
+ "warn as plain text on a card": 5.17,
519
+ "err as plain text on a card (the Logout row)": 5.19,
520
520
  "info as plain text on a card": 4.76,
521
521
  "accent-text as a link on a card": 5,
522
522
  "accent-text on accent-soft over the sidebar (active nav item)": 4.29,
523
523
  "accent-text on accent-soft over a card (active tab, avatar initials)": 4.42,
524
- "white on the filled success colour": 4.35,
525
- "white on the filled warning colour": 3.83,
526
- "white on the filled error colour": 4.41,
524
+ "white on the filled success colour": 5.19,
525
+ "white on the filled warning colour": 5.17,
526
+ "white on the filled error colour": 5.19,
527
527
  "white on the filled info colour": 4.76,
528
528
  "white on primary-button (accent-strong) - NOT reverted": 4.57,
529
529
  "text on a card": 17.24,
@@ -548,8 +548,8 @@ test("the light theme's sub-AA pairs measure exactly what the ledger says", () =
548
548
  const failing = measured.filter((r) => !r.passes).length;
549
549
  assert.equal(
550
550
  failing,
551
- 17,
552
- `${failing} light pairs are below AA; the recorded, accepted count is 17. ` +
551
+ 8,
552
+ `${failing} light pairs are below AA; the recorded, accepted count is 8. ` +
553
553
  "If this moved, the owner's design-fidelity decision needs re-stating."
554
554
  );
555
555
  });
package/utils/theme.ts CHANGED
@@ -152,11 +152,11 @@ export const PALETTE = {
152
152
  /** Table headers, breadcrumbs, KPI sub-lines. The design's. 3.24:1 on a card - below AA, knowingly. */
153
153
  muted: "#8b8f98",
154
154
  /** Completed / Paid / Available / Open. The design's. 3.82:1 on its chip - below AA, knowingly. */
155
- ok: "#0f8a62",
155
+ ok: "#0e7c58",
156
156
  /** Pending. The design's. 3.38:1 on its chip - below AA, knowingly. */
157
- warn: "#a97a14",
157
+ warn: "#8e6611",
158
158
  /** In Use / Closed / Checkout. The design's. 3.86:1 on its chip - below AA, knowingly. */
159
- err: "#cf4b4b",
159
+ err: "#bc4444",
160
160
  /** Role and info tags. The design's. 4.20:1 on its chip - below AA, knowingly. */
161
161
  info: "#3b6fd4",
162
162
  /** The brand accent, exactly as designed. Never carries white lettering. */