align pilzno brand design
This commit is contained in:
parent
ca6490d982
commit
b6fe734ccb
15 changed files with 401 additions and 331 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue