style(Circle): add @circle-layer-color less var

This commit is contained in:
chenjiahan
2020-11-30 23:00:32 +08:00
committed by neverland
parent 1a6cf64f54
commit 65a5ed8553
13 changed files with 46 additions and 44 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
// Utils
import { createNamespace } from '../utils';
import { emit, inherit } from '../utils/functional';
import { BORDER_SURROUND, WHITE } from '../utils/constant';
import { BORDER_SURROUND } from '../utils/constant';
import { routeProps, RouteProps, functionalRoute } from '../utils/router';
// Components
@@ -70,7 +70,7 @@ function Button(
const style: Record<string, string | number> = {};
if (color) {
style.color = plain ? color : WHITE;
style.color = plain ? color : 'white';
if (!plain) {
// Use background instead of backgroundColor to make linear-gradient work