Skip to content

[bug]: Fix dark mode and implement a11y tests for dark mode #5556

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
oliverschuerch opened this issue May 28, 2025 · 1 comment
Open

[bug]: Fix dark mode and implement a11y tests for dark mode #5556

oliverschuerch opened this issue May 28, 2025 · 1 comment
Labels
🐞 bug Something isn't working 📦 components Related to the @swisspost/design-system-components package 📦 documentation Related to the @swisspost/design-system-documentation package

Comments

@oliverschuerch
Copy link
Contributor

oliverschuerch commented May 28, 2025

Depandant on:


Fix the header and the footer in dark mode.

Image


Dark mode a11y e2e tests have been deactivated, because the dark mode design is not working correctly...
Reactivate the tests as soon as the component has been fixed in that regard.

To do so, remove the filter option from all the scheme() functions in the footer.snapshot.stories.ts file.

@oliverschuerch oliverschuerch added 🐞 bug Something isn't working 📦 documentation Related to the @swisspost/design-system-documentation package 📦 components Related to the @swisspost/design-system-components package labels May 28, 2025
@gfellerph gfellerph added this to the Long Term Support v9 milestone Jun 1, 2025
@gfellerph
Copy link
Member

Maybe adding data-color-scheme="light" to the footer will fix the issue until it has dark mode tokens.

@gfellerph gfellerph moved this from 👀 Triage to 🆗 Ready in Design System Production Board Jun 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working 📦 components Related to the @swisspost/design-system-components package 📦 documentation Related to the @swisspost/design-system-documentation package
Projects
Status: 🆗 Ready
Development

No branches or pull requests

2 participants