fix: keep page shells transparent

This commit is contained in:
2026-07-19 19:52:14 +05:30
parent ca8f746f41
commit eaea2c5f72
57 changed files with 99 additions and 87 deletions
+6
View File
@@ -81,6 +81,12 @@ test("component-system CSS includes responsive, theme-token, focus, and reduced-
expect(css).toContain("--color-red-600: var(--wire-color-danger)");
});
test("page shells leave background ownership to the page", () => {
const css = uiCss();
const shellRule = css.match(/\.wire-page-shell\s*\{([^}]*)\}/)?.[1] ?? "";
expect(shellRule).not.toMatch(/background(?:-color)?\s*:/);
});
test("every bundled UI component compiles", () => {
for (const name of uiComponentNames()) {
const path = join(uiComponentsDir(), `${name}.wrn`);