feat: card-bg-color less vars (#18531)

* feat: card-bg-color less vars

* fix: rm blank

* fix: less vars skeleton

* fix: bg color

* fix: less vars
This commit is contained in:
信鑫-King 2019-08-29 10:47:44 +08:00 committed by 偏右
parent c581dea5be
commit 69b0cc1a10
2 changed files with 5 additions and 4 deletions

View File

@ -6,14 +6,14 @@
@card-hover-border: fade(@black, 9%);
@card-action-icon-size: 16px;
@gradient-min: fade(@card-background, 20%);
@gradient-max: fade(@card-background, 40%);
@gradient-min: fade(@card-skeleton-bg, 20%);
@gradient-max: fade(@card-skeleton-bg, 40%);
.@{card-prefix-cls} {
.reset-component;
position: relative;
background: @component-background;
background: @card-background;
border-radius: @card-radius;
transition: all 0.3s;

View File

@ -487,7 +487,8 @@
@card-inner-head-padding: 12px;
@card-padding-base: 24px;
@card-actions-background: @background-color-light;
@card-background: #cfd8dc;
@card-skeleton-bg: #cfd8dc;
@card-background: @component-background;
@card-shadow: 0 2px 8px rgba(0, 0, 0, 0.09);
@card-radius: @border-radius-sm;