글래스 효과 축소 디자인 패스와 비주얼 스펙 계약 갱신
- 카드/서피스 그라디언트 2→1층, backdrop blur 제거, 인셋 보더(1px/6px) 복원으로 시각 잡음을 줄이는 디자인 조정(shell/ui/session/settings/learner-home/login/admin 토큰) - auth-visual·layout-visual-gate 스펙을 새 비주얼 계약에 맞게 갱신(어설션 약화 아닌 계약 반영) - 검증: tsc -b PASS, 핀 증거 PNG는 HEAD로 원복해 제외
This commit is contained in:
parent
16b079052e
commit
cc0a15b7c6
11 changed files with 77 additions and 100 deletions
|
|
@ -23,13 +23,11 @@ async function expectGlassSurface(page: Page, selector: string) {
|
|||
const style = getComputedStyle(element);
|
||||
return {
|
||||
backgroundImage: style.backgroundImage,
|
||||
backdropFilter: style.backdropFilter || style.webkitBackdropFilter,
|
||||
borderColor: style.borderColor,
|
||||
boxShadow: style.boxShadow,
|
||||
};
|
||||
});
|
||||
expect(surface.backgroundImage.match(/linear-gradient/g)?.length ?? 0).toBeGreaterThanOrEqual(2);
|
||||
expect(surface.backdropFilter).toContain("blur(");
|
||||
expect(surface.backgroundImage.match(/linear-gradient/g)?.length ?? 0).toBeGreaterThanOrEqual(1);
|
||||
expect(surface.borderColor).not.toBe("rgba(0, 0, 0, 0)");
|
||||
expect(surface.boxShadow).not.toBe("none");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue