revert fb8e77bb68
Local Build and Deploy / deploy (push) Successful in 1m11s
Local Build and Deploy / deploy (push) Successful in 1m11s
revert style: clean up code with prettier and eslint
This commit is contained in:
1 parent
27de078f54
commit
e85e4d74ea
378 files changed
+20710
-22428
No files matched your search
@@ -14,33 +14,17 @@ describe("themePaletteCss", () => {
|
||||
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",
|
||||
"--admin-canvas",
|
||||
"--admin-surface",
|
||||
"--admin-surface-elevated",
|
||||
"--admin-text",
|
||||
"--admin-text-muted",
|
||||
"--admin-border",
|
||||
"--admin-accent",
|
||||
"--admin-accent-foreground",
|
||||
"--admin-overlay",
|
||||
"--admin-focus-ring",
|
||||
"--admin-success",
|
||||
"--admin-warning",
|
||||
"--admin-error",
|
||||
"--admin-info",
|
||||
"--admin-success-subtle",
|
||||
"--admin-warning-subtle",
|
||||
"--admin-error-border",
|
||||
"--admin-info-foreground",
|
||||
])
|
||||
expect(css).toContain(variable);
|
||||
"--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",
|
||||
"--admin-canvas", "--admin-surface", "--admin-surface-elevated",
|
||||
"--admin-text", "--admin-text-muted", "--admin-border",
|
||||
"--admin-accent", "--admin-accent-foreground", "--admin-overlay",
|
||||
"--admin-focus-ring", "--admin-success", "--admin-warning",
|
||||
"--admin-error", "--admin-info",
|
||||
"--admin-success-subtle", "--admin-warning-subtle",
|
||||
"--admin-error-border", "--admin-info-foreground",
|
||||
]) expect(css).toContain(variable);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user