Skip to content

Commit ba9380d

Browse files
fix(button): active-shadow property is not applied (#15914)
Co-authored-by: Simeon Simeonoff <sim.simeonoff@gmail.com>
1 parent 9f22e44 commit ba9380d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

projects/igniteui-angular/src/lib/core/styles/components/button/_button-theme.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
/// @param {Color} $resting-shadow [null] - The shadow of the button in its idle state.
4040
/// @param {Color} $hover-shadow [null] - The shadow of the button in its hover state.
4141
/// @param {Color} $focus-shadow [null] - The shadow of the button in its focus state.
42-
/// @param {Color} $active-shadow [null] - The shadow of the button in its focus state.
42+
/// @param {Color} $active-shadow [null] - The shadow of the button in its active state.
4343
/// @param {Color} $disabled-background [null] - The disabled background color of the button.
4444
/// @param {Color} $disabled-foreground [null] - The disabled text color of the button.
4545
/// @param {Color} $disabled-icon-color [null] - The disabled icon color of the button.
@@ -771,7 +771,7 @@
771771
color: var-get($contained-theme, 'active-foreground');
772772
background: var-get($contained-theme, 'active-background');
773773
border-color: var-get($contained-theme, 'active-border-color');
774-
box-shadow: var-get($contained-theme, 'hover-shadow');
774+
box-shadow: var-get($contained-theme, 'active-shadow');
775775

776776
igx-icon {
777777
color: var-get($contained-theme, 'active-foreground');
@@ -911,7 +911,7 @@
911911
color: var-get($fab-theme, 'active-foreground');
912912
background: var-get($fab-theme, 'active-background');
913913
border-color: var-get($fab-theme, 'active-border-color');
914-
box-shadow: var-get($fab-theme, 'focus-shadow');
914+
box-shadow: var-get($fab-theme, 'active-shadow');
915915

916916
igx-icon {
917917
color: var-get($fab-theme, 'active-foreground');

0 commit comments

Comments
 (0)