fix: enforce semantic contrast across admin
Local Build and Deploy / deploy (push) Successful in 44s
Local Build and Deploy / deploy (push) Successful in 44s
This commit is contained in:
1 parent
45c8178cfa
commit
f0b4bc1630
86 files changed
+438
-338
No files matched your search
@@ -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);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user