Skip to content
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

fix: (CXSPA-8994) - Prevent forced colors from interfering with contrast themes #19871

Merged
merged 2 commits into from
Jan 16, 2025

Conversation

Pio-Bar
Copy link
Contributor

@Pio-Bar Pio-Bar commented Jan 15, 2025

Closes: CXSPA-8994

The Spartacus custom high contrast themes should not be affected by external solutions. These contrast themes are tailored to provide good accessibility without sacrificing readability and usability of the app. The same cannot be guaranteed with one-size-fits-all solutions like the Windows/MacOS contrast themes.

Therefore, we should not make changes to accommodate external stylings that users might apply. These can vary greatly and it would be impossible to satisfy all. However, we allow the default theme to be modified so users can still use other solutions if preferred.

@Pio-Bar Pio-Bar requested a review from a team as a code owner January 15, 2025 17:28
@github-actions github-actions bot marked this pull request as draft January 15, 2025 17:28
@Pio-Bar Pio-Bar marked this pull request as ready for review January 15, 2025 17:30
Copy link

cypress bot commented Jan 15, 2025

spartacus    Run #46687

Run Properties:  status check passed Passed #46687  •  git commit 0e40c42248 ℹ️: Merge c878221f36d70fbc68a361aa5cc8551b83b24888 into 605e54e315f5d6023554ddc480e6...
Project spartacus
Branch Review feature/CXSPA-8994
Run status status check passed Passed #46687
Run duration 04m 24s
Commit git commit 0e40c42248 ℹ️: Merge c878221f36d70fbc68a361aa5cc8551b83b24888 into 605e54e315f5d6023554ddc480e6...
Committer PioBar
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 4
Tests that did not run due to a developer annotating a test with .skip  Pending 2
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 125
View all changes introduced in this branch ↗︎

Copy link
Contributor

@Zeyber Zeyber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the arguments you have left for this one. I think this is a justified approach.

@github-actions github-actions bot marked this pull request as draft January 16, 2025 11:35
@Pio-Bar Pio-Bar marked this pull request as ready for review January 16, 2025 11:38
@Pio-Bar Pio-Bar merged commit c25a38c into develop Jan 16, 2025
28 checks passed
@Pio-Bar Pio-Bar deleted the feature/CXSPA-8994 branch January 16, 2025 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants