diff --git a/pkg/lib/patternfly/patternfly-5-overrides.scss b/pkg/lib/patternfly/patternfly-5-overrides.scss index 8200d4464551..0ae9881e05db 100644 --- a/pkg/lib/patternfly/patternfly-5-overrides.scss +++ b/pkg/lib/patternfly/patternfly-5-overrides.scss @@ -407,3 +407,14 @@ select.pf-v5-c-form-control { html:not(.pf-v5-theme-dark) .pf-v5-c-menu-toggle:not(.pf-m-primary) { background-color: var(--pf-v5-global--BackgroundColor--100); } + +/* Give secondary buttons a white/grey background instead of their + default transparent one. This gives them better contrast in + toolbars. +*/ +.pf-v5-c-button.pf-m-secondary { + background-color: var(--pf-v5-global--BackgroundColor--100); + .pf-v5-theme-dark & { + background-color: var(--pf-v5-global--BackgroundColor--400); + } +} diff --git a/test/reference b/test/reference index 5c199a0ad388..270034791b5f 160000 --- a/test/reference +++ b/test/reference @@ -1 +1 @@ -Subproject commit 5c199a0ad38818061c93f27b16c9055ccf14b04d +Subproject commit 270034791b5f664956684aaa95f0d201c06f3fc6