Skip to content

Commit

Permalink
fix(card): force dk theme dk section card bg color (#4913)
Browse files Browse the repository at this point in the history
  • Loading branch information
srambach committed Jun 22, 2022
1 parent 7ec4ab1 commit 7717285
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/patternfly/components/Card/themes/dark/card.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
@import "../../../../sass-utilities/themes/dark/all";

@mixin pf-theme-dark-card() {
.pf-c-card {
.pf-c-card,
.pf-c-card.pf-m-non-selectable-raised {
--pf-c-card--BoxShadow: var(--pf-global--BoxShadow--md);

// Hoverable/selectable raised
Expand Down
4 changes: 4 additions & 0 deletions src/patternfly/sass-utilities/themes/dark/placeholders.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
--pf-global--link--Color--hover: #{$pf-global--link--Color--hover};
--pf-global--BackgroundColor--100: #{$pf-global--BackgroundColor--100};

.pf-c-card {
--pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--100);
}

.pf-c-button {
// primary button
--pf-c-button--m-primary--Color: var(--pf-global--Color--light-100);
Expand Down

0 comments on commit 7717285

Please sign in to comment.