From da6dd83f400118ce35cba01b7e2d2d1c31c16393 Mon Sep 17 00:00:00 2001 From: Tim Hovius Date: Mon, 23 Feb 2015 09:39:08 +0100 Subject: [PATCH] Alert text color fix --- less/_alerts.less | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/less/_alerts.less b/less/_alerts.less index 28fac8e3..9bc3f9b9 100644 --- a/less/_alerts.less +++ b/less/_alerts.less @@ -1,16 +1,23 @@ .alert { border: 0px; border-radius: 0; - a, .alert-link { - color: #FFFFFF; - } - .variations(~"", background-color, #FFFFFF); + + .generic-variations(~"", @darkbg-text, { + background-color: @material-color; + color: @text-color; + + a, .alert-link { + color: @text-color; + } + }); + &-info, &-danger, &-warning, &-success { - color: #FFFFFF; + color: @darkbg-text; } + &-default { a, .alert-link { - color: #000000; + color: @lightbg-text; } } }