fix: keep page shells transparent
This commit is contained in:
@@ -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`);
|
||||
|
||||
Reference in New Issue
Block a user