Skip to content

Commit c4d0f3a

Browse files
committed
feat: Button - update hover background color variable
1 parent 6df7bc8 commit c4d0f3a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Shared/Components/Button/button.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
$active-bg-color: var(--B200);
149149

150150
@include button-variant-styles($background, var(--B500), $border-color, $active-bg-color);
151-
@include pseudo-states(var(--B100), $active-bg-color, var(--B300));
151+
@include pseudo-states(var(--bg-hover), $active-bg-color, var(--B300));
152152
}
153153

154154
&--negative {
@@ -183,7 +183,7 @@
183183
$active-bg-color: var(--N200);
184184

185185
@include button-variant-styles($background, var(--N700), $border-color, $active-bg-color);
186-
@include pseudo-states(var(--N100), $active-bg-color, var(--N300));
186+
@include pseudo-states(var(--bg-hover), $active-bg-color, var(--N300));
187187
}
188188
}
189189

@@ -221,7 +221,7 @@
221221
// Pseudo states for border-less button
222222
&__border-less {
223223
&--default {
224-
@include pseudo-states(var(--B100), var(--B200));
224+
@include pseudo-states(var(--bg-hover), var(--B200));
225225
}
226226

227227
&--negative {
@@ -241,7 +241,7 @@
241241
}
242242

243243
&--neutral {
244-
@include pseudo-states(var(--N100), var(--N200));
244+
@include pseudo-states(var(--bg-hover), var(--N200));
245245
}
246246
}
247247

0 commit comments

Comments
 (0)