Skip to content

Commit

Permalink
lib: override PatternFly's secondary dark theme behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
jelly committed Nov 7, 2024
1 parent 806ac09 commit f63f853
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkg/lib/patternfly/patternfly-5-overrides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -397,3 +397,10 @@ select.pf-v5-c-form-control {
.pf-v5-c-card.pf-m-selectable, .pf-v5-c-card.pf-m-clickable {
isolation: auto;
}

/* Style secondary button in dark mode as secondary */
.pf-v5-c-menu-toggle.pf-m-secondary.pf-m-split-button {
.pf-v5-theme-dark & {
background-color: var(--pf-v5-global--BackgroundColor--400);
}
}

0 comments on commit f63f853

Please sign in to comment.