Browse Source

change @primary-color and default border-radius

pull/3824/head
afc163 8 years ago
parent
commit
2c9339039c
  1. 2
      components/progress/style/index.less
  2. 13
      components/style/themes/default.less

2
components/progress/style/index.less

@ -33,7 +33,7 @@
&-bg { &-bg {
border-radius: 100px; border-radius: 100px;
background-color: @info-color; background-color: @process-default-color;
transition: all .4s @ease-out-circ 0s; transition: all .4s @ease-out-circ 0s;
position: relative; position: relative;
} }

13
components/style/themes/default.less

@ -2,8 +2,7 @@
@ant-prefix : ant; @ant-prefix : ant;
// Color // Color
@primary-color : #2db7f5; @primary-color : #108ee9;
@info-color : #2db7f5;
@success-color : #87d068; @success-color : #87d068;
@error-color : #f50; @error-color : #f50;
@highlight-color : #f50; @highlight-color : #f50;
@ -20,15 +19,15 @@
@font-size-base : 12px; @font-size-base : 12px;
@font-size-lg : @font-size-base + 2px; @font-size-lg : @font-size-base + 2px;
@line-height-base : 1.5; @line-height-base : 1.5;
@border-radius-base : 6px; @border-radius-base : 4px;
@border-radius-sm : 4px; @border-radius-sm : 2px;
// ICONFONT // ICONFONT
@iconfont-css-prefix : anticon; @iconfont-css-prefix : anticon;
@icon-url : "https://at.alicdn.com/t/font_uzv8nkw1nabgldi"; @icon-url : "https://at.alicdn.com/t/font_uzv8nkw1nabgldi";
// LINK // LINK
@link-color : #2db7f5; @link-color : #108ee9;
@link-hover-color : tint(@link-color, 20%); @link-hover-color : tint(@link-color, 20%);
@link-active-color : shade(@link-color, 5%); @link-active-color : shade(@link-color, 5%);
@link-hover-decoration : none; @link-hover-decoration : none;
@ -191,3 +190,7 @@
@popover-arrow-outer-width: (@popover-arrow-width + 1); @popover-arrow-outer-width: (@popover-arrow-width + 1);
//** Popover outer arrow color //** Popover outer arrow color
@popover-arrow-outer-color: fadeout(@border-color-base, 30%); @popover-arrow-outer-color: fadeout(@border-color-base, 30%);
// Progress
// --
@process-default-color: @primary-color;

Loading…
Cancel
Save