feat(Notify): add @notify-text-color less var

This commit is contained in:
陈嘉涵
2020-01-28 16:13:22 +08:00
parent cfadcefb0a
commit 9dcf57c65f
5 changed files with 10 additions and 13 deletions
+1 -5
View File
@@ -1,6 +1,5 @@
// Utils
import { createNamespace } from '../utils';
import { WHITE } from '../utils/constant';
import { inherit } from '../utils/functional';
// Mixins
@@ -54,6 +53,7 @@ function Notify(
Notify.props = {
...popupMixinProps,
color: String,
background: String,
className: null as any,
message: [Number, String],
@@ -62,10 +62,6 @@ Notify.props = {
type: String,
default: 'danger',
},
color: {
type: String,
default: WHITE,
},
duration: {
type: Number,
default: 3000,