Skip to content

Commit

Permalink
feat: add specificy for monohrome (#577)
Browse files Browse the repository at this point in the history
  • Loading branch information
NikitaCG authored Sep 20, 2023
1 parent ea984b5 commit 798e098
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions styles/mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -491,11 +491,13 @@ unpredictable css rules order in build */
}

@mixin monochrome-button() {
@include button(
var(--pc-monochrome-button-color),
var(--pc-monochrome-button-background-color),
$hoverBackgroundColor: var(--pc-monochrome-button-background-color-hover)
);
@include add-specificity(&) {
@include button(
var(--pc-monochrome-button-color),
var(--pc-monochrome-button-background-color),
$hoverBackgroundColor: var(--pc-monochrome-button-background-color-hover)
);
}
}

@mixin centerable-title() {
Expand Down

0 comments on commit 798e098

Please sign in to comment.