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(dark-theme): fixed issue with incorrect color-scheme being applied #4408

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

mcoker
Copy link
Contributor

@mcoker mcoker commented Dec 9, 2024

fixes #4404

@patternfly-build
Copy link
Contributor

patternfly-build commented Dec 9, 2024

Copy link
Member

@evwilkin evwilkin left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -3,7 +3,6 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
<meta name="color-scheme" content="light dark">
Copy link
Contributor

Choose a reason for hiding this comment

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

This metadata indicates that dark mode as well as light mode is supported, why remove it?

Copy link
Contributor

Choose a reason for hiding this comment

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

This was creating an issue where the system preference was dictating the color of checkboxes and radio buttons, superseding the actual selected theme.

Copy link
Contributor

Choose a reason for hiding this comment

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

Talked to @mcoker about it and reverting this is fine, we'll have to get back to a proper fix at a later time 👍

@dlabaj dlabaj merged commit 29f1e10 into patternfly:main Dec 12, 2024
4 checks passed
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.

Bug - dark theme toggle issues
7 participants