-
Notifications
You must be signed in to change notification settings - Fork 670
OCPBUGS-65808: Fix PatternFly dark theme colors for charts and form inputs #15951
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
base: release-4.18
Are you sure you want to change the base?
OCPBUGS-65808: Fix PatternFly dark theme colors for charts and form inputs #15951
Conversation
Corrects CSS variable namespace mismatches and import order issues that prevented dark theme overrides from applying properly to donut charts and form controls. Assisted by: Claude Code
|
@sg00dwin: This pull request references Jira Issue OCPBUGS-65808, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
Important Review skippedAuto reviews are limited based on label configuration. 🚫 Review skipped — only excluded labels are configured. (1)
Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the
Comment |
|
/jira refresh |
|
@sg00dwin: This pull request references Jira Issue OCPBUGS-65808, which is invalid:
Comment DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/jira refresh |
|
@sg00dwin: This pull request references Jira Issue OCPBUGS-65808, which is invalid:
Comment DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
This comment was marked as outdated.
This comment was marked as outdated.
|
/jira refresh |
|
@sg00dwin: This pull request references Jira Issue OCPBUGS-65808, which is valid. The bug has been moved to the POST state. 7 validation(s) were run on this bug
Requesting review from QA contact: DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/label backport-risk-assessed |
|
/assign @yanpzhan for verification |
|
@sg00dwin: GitHub didn't allow me to assign the following users: for, verification. Note that only openshift members with read permissions, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
@sg00dwin: This pull request references Jira Issue OCPBUGS-65808, which is valid. 7 validation(s) were run on this bug
Requesting review from QA contact: DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@yanpzhan: This PR has been marked as verified by DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/retest |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rhamilto, sg00dwin The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest |
|
/test e2e-gcp-console |
1 similar comment
|
/test e2e-gcp-console |
|
@sg00dwin: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |






Summary
Fixes dark theme color regressions affecting donut charts and form input fields in OpenShift Console 4.18.
Issues Fixed
Changes Made
File:
public/vendor.scss@import '~@patternfly/patternfly/patternfly-charts-theme-dark';File:
public/components/app.jsxpatternfly-charts-theme-dark.cssFile:
public/style/ancillary/_patternfly4.scss--pf-c-form-control--BackgroundColor→--pf-v5-c-form-control--BackgroundColor--pf-c-form-control--disabled--Color→--pf-v5-c-form-control--disabled--Color--pf-c-form-control--disabled--BackgroundColor→--pf-v5-c-form-control--disabled--BackgroundColor--pf-c-form-control--readonly--BackgroundColor→--pf-v5-c-form-control--readonly--BackgroundColor--disabled-color--300→--disabled-color--200--disabled-color--300→--disabled-color--200Note: Border color variables intentionally retain PF4 namespace (
--pf-c-form-control--Border*) as they reference PF4 global variables (--pf-global--*).Visual Comparison
Screenshots show before (right) and after (left) of the same screens in dark theme:
Additional notes
Further test comparisons screenshots (including light theme variations to check for regressions)
Patternfly Text input variations for color references.
https://v5-archive.patternfly.org/components/forms/text-input
This bug does not effect
4.19or newer versionsTesting