Skip to content

Fix css for PF 5 - #507

Merged
cigamit merged 1 commit into
mainfrom
theme_fix_pf5
Jun 25, 2026
Merged

Fix css for PF 5#507
cigamit merged 1 commit into
mainfrom
theme_fix_pf5

Conversation

@cigamit

@cigamit cigamit commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

This fixes a few background colors that changed during the upgrade to PF 5 (new classes).

@cigamit
cigamit requested a review from TheWitness June 25, 2026 03:20
@cigamit cigamit self-assigned this Jun 25, 2026
@cigamit cigamit added the bug Something isn't working label Jun 25, 2026
Copilot AI review requested due to automatic review settings June 25, 2026 03:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the UI dark mode overrides to restore expected background colors after the PatternFly 5 upgrade, aligning PF component surfaces and a few app-specific layouts with the intended dark theme palette.

Changes:

  • Adjusts dark theme backgrounds for the PF masthead and page main sections.
  • Tweaks editor gutter active-line and subform layout backgrounds to match the dark theme.

Comment thread awx/ui/src/darkmode.css
Comment on lines 187 to 191
html.pf-v5-theme-dark .pf-v5-c-masthead {
box-shadow: none;
border-bottom: 1px solid var(--pf-v5-global--BorderColor--200);
background-color: #13161b;
}
Comment thread awx/ui/src/darkmode.css
Comment on lines 234 to +236
html.pf-v5-theme-dark .pf-v5-c-page__main-section.pf-m-light {
--pf-v5-c-page__main-section--BackgroundColor: inherit;
background-color: #13161b;
}
Comment thread awx/ui/src/darkmode.css
Comment on lines +238 to 240
html.pf-v5-theme-dark .pf-v5-c-page__main-section {
background-color: #13161b;
}
Comment thread awx/ui/src/darkmode.css
Comment on lines +255 to +257
html.pf-v5-theme-dark .ace-tm .ace_gutter-active-line {
background-color: #13161b;
}
Comment thread awx/ui/src/darkmode.css
Comment on lines +257 to 261
}



html.pf-v5-theme-dark .pf-v5-c-tab-content {
Comment thread awx/ui/src/darkmode.css
Comment on lines +647 to +649
html.pf-v5-theme-dark [class*="FormLayout__SubFormLayout"] {
background-color: #13161b;
} No newline at end of file

@TheWitness TheWitness left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Lot's of copilot comments. I'll leave it to you to assess.

@cigamit
cigamit merged commit a9eb3a6 into main Jun 25, 2026
1 check passed
@cigamit
cigamit deleted the theme_fix_pf5 branch June 25, 2026 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Development

Successfully merging this pull request may close these issues.

3 participants