From 7d7b995a61afbc3f56df360d64c5391b8b909a61 Mon Sep 17 00:00:00 2001 From: Cam Wiegert Date: Mon, 19 Nov 2018 10:57:03 -0500 Subject: [PATCH] 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. --- core/src/components/buttons/buttons.md.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/components/buttons/buttons.md.scss b/core/src/components/buttons/buttons.md.scss index 0eea70ffc7..42196c951c 100644 --- a/core/src/components/buttons/buttons.md.scss +++ b/core/src/components/buttons/buttons.md.scss @@ -27,6 +27,8 @@ :host-context(.ion-color)::slotted(*) .button { --color: initial; --color-activated: initial; + --color-focused: initial; + --background-focused: #{ion-color(primary, contrast, 0.1)}; }