Skip to content

Commit 5fdfcfa

Browse files
authored
fix(chip): bootstrap theme disabled state (#1573)
1 parent 94ec059 commit 5fdfcfa

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/components/chip/themes/shared/chip.bootstrap.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ $theme: $bootstrap;
1313
}
1414
}
1515

16-
:host([variant='primary']) button,
16+
:host([variant='primary']) button:not([disabled]),
1717
:host([variant='primary']) button:focus,
1818
:host([variant='primary']) button:hover,
1919
:host([selected][variant='primary']) button:not([disabled]) {
@@ -24,7 +24,7 @@ $theme: $bootstrap;
2424
outline: rem(2px) solid color(primary, 200);
2525
}
2626

27-
:host([variant='info']) button,
27+
:host([variant='info']) button:not([disabled]),
2828
:host([variant='info']) button:focus,
2929
:host([variant='info']) button:hover,
3030
:host([selected][variant='info']) button:not([disabled]) {
@@ -35,7 +35,7 @@ $theme: $bootstrap;
3535
outline: rem(2px) solid color(info, 200);
3636
}
3737

38-
:host([variant='success']) button,
38+
:host([variant='success']) button:not([disabled]),
3939
:host([variant='success']) button:focus,
4040
:host([variant='success']) button:hover,
4141
:host([selected][variant='success']) button:not([disabled]) {
@@ -46,7 +46,7 @@ $theme: $bootstrap;
4646
outline: rem(2px) solid color(success, 200);
4747
}
4848

49-
:host([variant='warning']) button,
49+
:host([variant='warning']) button:not([disabled]),
5050
:host([variant='warning']) button:focus,
5151
:host([variant='warning']) button:hover,
5252
:host([selected][variant='warning']) button:not([disabled]) {
@@ -57,7 +57,7 @@ $theme: $bootstrap;
5757
outline: rem(2px) solid color(warn, 200);
5858
}
5959

60-
:host([variant='danger']) button,
60+
:host([variant='danger']) button:not([disabled]),
6161
:host([variant='danger']) button:focus,
6262
:host([variant='danger']) button:hover,
6363
:host([selected][variant='danger']) button:not([disabled]) {

0 commit comments

Comments
 (0)