align pilzno brand design

This commit is contained in:
Yisroel Baum 2026-06-22 11:28:35 +03:00
parent ca6490d982
commit b6fe734ccb
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
15 changed files with 401 additions and 331 deletions

View file

@ -57,7 +57,8 @@ describe('homepage hero', () => {
it('uses Pilzno brand colors and typography tokens', () => {
cy.get('[data-cy="hero"]').then((heroElements) => {
const heroStyle = getComputedStyle(heroElements[0])
const documentStyle = getComputedStyle(document.documentElement)
const appDocument = heroElements[0].ownerDocument
const documentStyle = getComputedStyle(appDocument.documentElement)
expect(documentStyle.getPropertyValue('--color-brand-purple').trim())
.to.equal('#2a1f3d')