fix: enforce semantic contrast across admin
Local Build and Deploy / deploy (push) Successful in 44s

This commit is contained in:
Simo committed 2026-07-12 15:14:15 +02:00
1 parent 45c8178cfa
commit f0b4bc1630
86 files changed
+438 -338

No files matched your search

+6
View File
@@ -13,5 +13,11 @@ describe("themePaletteCss", () => {
expect(css).toContain(`--color-background:${ocean.light.color_background}`);
expect(css).toContain(`--color-background:${ocean.dark.color_background}`);
expect(ocean.dark.color_primary).toBe(ocean.light.color_primary);
for (const variable of [
"--color-text-subtle-readable", "--color-text-disabled-readable",
"--admin-sidebar-text-readable", "--color-success-text-readable",
"--color-success-foreground-readable", "--color-warning-text-readable",
"--color-error-text-readable", "--color-info-text-readable",
]) expect(css).toContain(variable);
});
});