From a6929092354806a9a694214fd4a1a7ec6f12b51b Mon Sep 17 00:00:00 2001 From: Tim Hovius Date: Fri, 20 Feb 2015 16:53:12 +0100 Subject: [PATCH] Fixed alert text colors --- less/_alerts.less | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/less/_alerts.less b/less/_alerts.less index 28fac8e3..6195b6e7 100644 --- a/less/_alerts.less +++ b/less/_alerts.less @@ -1,16 +1,22 @@ .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; } } } + +