fix: resolve test failures for theme builder integration

- Replace hardcoded text-white and text-red-* with CSS variables in theme-editor
- Add theme-builder migration entry to housekeeping matrix
- Update legacy page counts from 137 to 138 in housekeeping tests
- Add /admin/theme-builder to content test prefixes
This commit is contained in:
openhands committed 2026-08-31 17:21:37 +02:00
1 parent a98b194386
commit 4c8225720a
6 files changed
+34 -8

No files matched your search

@@ -478,6 +478,31 @@ export const contentMigrationEntries: readonly MigrationEntry[] = [
localization: "PARTIAL",
accessibility: "PARTIAL",
}),
plannedContentEntry({
surface: "admin",
legacyPath: "/admin/theme-builder",
sourceFile: "src/app/admin/theme-builder/page.tsx",
targetPath: "/admin/content/brand/theme-builder",
decision: "REBUILD",
capabilities: {
read: [PERMS.SETTINGS_VIEW],
mutate: [PERMS.SETTINGS_EDIT],
},
dependencies: {
queries: ["ThemeScope", "ThemeScopeValue"],
mutations: [
"createScope",
"updateScope",
"deleteScope",
"saveScopeValues",
"resetScopeValues",
"duplicateScope",
],
},
auditRequirement: "PRIVILEGED_MUTATION",
localization: "NONE",
accessibility: "NONE",
}),
plannedContentEntry({
surface: "admin",
legacyPath: "/admin/favicon",