Skip to content

Commit 7d7b995

Browse files
authored
fix(toolbar): match MD button spec (#16378)
Fixes an issue where a Material Design button would disappear when focused within a toolbar with a color attribute.
1 parent 6046345 commit 7d7b995

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/src/components/buttons/buttons.md.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
:host-context(.ion-color)::slotted(*) .button {
2828
--color: initial;
2929
--color-activated: initial;
30+
--color-focused: initial;
31+
--background-focused: #{ion-color(primary, contrast, 0.1)};
3032
}
3133

3234

0 commit comments

Comments
 (0)