From 6c6e5713b73b1513e192cf896fa60e6045ac8abe Mon Sep 17 00:00:00 2001 From: Max Lynch Date: Mon, 20 Jul 2015 17:56:28 -0500 Subject: [PATCH] Material --- ionic/components/button/extensions/material.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ionic/components/button/extensions/material.scss b/ionic/components/button/extensions/material.scss index cc7efb8435..0c65e70833 100644 --- a/ionic/components/button/extensions/material.scss +++ b/ionic/components/button/extensions/material.scss @@ -88,6 +88,11 @@ $button-material-border-radius: 3px !default; &[clear] { box-shadow: none; + + @if lightness(get-color($color, base)) > 90 { + color: get-color($color, inverse); + } + &:hover, &.hover { background-color: rgba(158, 158, 158, 0.2); }