From 798e0985e4ef6162c8748c806f62afe1b9d17e5b Mon Sep 17 00:00:00 2001 From: Nikita Gorin <36075690+NikitaCG@users.noreply.github.com> Date: Wed, 20 Sep 2023 12:07:30 +0300 Subject: [PATCH] feat: add specificy for monohrome (#577) --- styles/mixins.scss | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/styles/mixins.scss b/styles/mixins.scss index 2a56c6662..edfc6a3ed 100644 --- a/styles/mixins.scss +++ b/styles/mixins.scss @@ -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() {