From b104e75bea1f4342e2900dad9582e3f09250370f Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Thu, 8 Nov 2018 18:05:06 +0000 Subject: [PATCH] fix(button): ripple color not correct for standard, icon and stroked buttons (#13235) With https://github.com/angular/material2/commit/c3a8d0cab118cadf647954f610cb54df5cac6bf0, we already ensured that the text color is **inherited** in order to make sure that buttons without a background color are readable on various themed backgrounds (e.g. themed toolbars) This is a follow-up that ensures that the ripple color for such transparent buttons is contrasting to the background color (e.g. in themed toolbars). Fixes #13232 --- src/demo-app/toolbar/toolbar-demo.html | 1 + src/lib/button/_button-theme.scss | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/src/demo-app/toolbar/toolbar-demo.html b/src/demo-app/toolbar/toolbar-demo.html index 7fe869b4ea3..fb5f6a7517a 100644 --- a/src/demo-app/toolbar/toolbar-demo.html +++ b/src/demo-app/toolbar/toolbar-demo.html @@ -8,6 +8,7 @@ Default Toolbar +