From 5acfe0e963189cebe61cc2def7b0f928ace0fe45 Mon Sep 17 00:00:00 2001 From: Max Lynch Date: Mon, 20 Jul 2015 16:59:03 -0500 Subject: [PATCH] Darkness --- ionic/components/button/extensions/material.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ionic/components/button/extensions/material.scss b/ionic/components/button/extensions/material.scss index 86dc338799..cf875c9b89 100644 --- a/ionic/components/button/extensions/material.scss +++ b/ionic/components/button/extensions/material.scss @@ -47,7 +47,7 @@ $button-material-border-radius: 3px !default; &[#{$color}] { - @if $color != "#fff" { + @if lightness(get-color($color, base)) < 80 { .md-ripple { background-color: white; }