From ad4d8b106762b02c9184e394843c9a47a38aec20 Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Wed, 20 Apr 2016 07:26:05 +0800 Subject: add @core-text-color --- src/variables.less | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/variables.less') diff --git a/src/variables.less b/src/variables.less index 198ab0e..c56e6ef 100644 --- a/src/variables.less +++ b/src/variables.less @@ -8,6 +8,7 @@ // Colors @core-color: #5764c6; +@core-text-color: #fff; @core-link-color: #5764c6; @core-border-color: #efefef; @control-color: #c5c5c5; @@ -16,7 +17,6 @@ @control-color-warning: #ffb700; @control-color-danger: #e85600; - // Mixins .clearfix() { &::after { @@ -25,13 +25,12 @@ display: table; } } - .toast-variant(@color) { background-color: @color; border-color: darken(@color, 2%); - color: #fff; + color: @core-text-color; } .label-variant(@color) { background-color: @color; - color: #fff; + color: @core-text-color; } -- cgit v1.3.1-26-gb76a