From afd8847aa1fd72568ce5d4a548c17283843cf8fc Mon Sep 17 00:00:00 2001 From: GermanVor Date: Tue, 4 Jun 2024 23:16:12 +0200 Subject: [PATCH 1/2] fix: normal-contrast loading variable --- src/components/Button/Button.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/Button/Button.scss b/src/components/Button/Button.scss index 3aab110735..703306e612 100644 --- a/src/components/Button/Button.scss +++ b/src/components/Button/Button.scss @@ -228,8 +228,12 @@ $block: '.#{variables.$ns}button'; &_normal-contrast { --_--text-color: var(--g-color-text-dark-primary); --_--background-color: var(--g-color-base-light); - --_--background-color-hover: var(--g-color-base-light-hover); --_--focus-outline-color: var(--g-color-line-light); + + --_--background-color-hover: var(--g-color-base-light-hover); + &#{$block}_loading { + --_--background-color-hover: var(--g-color-base-simple-hover); + } } &_outlined-contrast { From 0cff2906604dbef38561521f91a5e8cfa3d4e134 Mon Sep 17 00:00:00 2001 From: GermanVor Date: Tue, 4 Jun 2024 23:35:03 +0200 Subject: [PATCH 2/2] chore: line 231 --- src/components/Button/Button.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Button/Button.scss b/src/components/Button/Button.scss index 703306e612..aeaf833153 100644 --- a/src/components/Button/Button.scss +++ b/src/components/Button/Button.scss @@ -228,9 +228,9 @@ $block: '.#{variables.$ns}button'; &_normal-contrast { --_--text-color: var(--g-color-text-dark-primary); --_--background-color: var(--g-color-base-light); + --_--background-color-hover: var(--g-color-base-light-hover); --_--focus-outline-color: var(--g-color-line-light); - --_--background-color-hover: var(--g-color-base-light-hover); &#{$block}_loading { --_--background-color-hover: var(--g-color-base-simple-hover); }