From 9ca25218c200efbe226d4e2da83762d221dcc7e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=98=89=E6=B6=B5?= Date: Sun, 21 Apr 2019 23:00:06 +0800 Subject: [PATCH] [improvement] Circle: add less var --- packages/circle/index.less | 2 +- packages/style/var.less | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/circle/index.less b/packages/circle/index.less index 485692fe2..0be72694e 100644 --- a/packages/circle/index.less +++ b/packages/circle/index.less @@ -28,7 +28,7 @@ top: 50%; left: 0; width: 100%; - color: @text-color; + color: @circle-text-color; position: absolute; transform: translateY(-50%); } diff --git a/packages/style/var.less b/packages/style/var.less index f470ee6f6..3e7ddf3a6 100644 --- a/packages/style/var.less +++ b/packages/style/var.less @@ -139,6 +139,9 @@ @checkbox-disabled-label-color: @gray; @checkbox-disabled-background-color: @border-color; +// Circle +@circle-text-color: @text-color; + // Collapse @collapse-item-transition-duration: .3s; @collapse-item-content-padding: 15px;