Skip to content

Commit b2d7ace

Browse files
committed
feat: update less
1 parent 6b2764c commit b2d7ace

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

antdv-demo

components/style/themes/default.less

+5-4
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@
6464
@heading-2-size: ceil(@font-size-base * 2.14);
6565
@heading-3-size: ceil(@font-size-base * 1.71);
6666
@heading-4-size: ceil(@font-size-base * 1.42);
67-
@line-height-base: 1.5;
68-
@border-radius-base: 4px;
69-
@border-radius-sm: 2px;
67+
@line-height-base: 1.5715;
68+
@border-radius-base: 2px;
69+
@border-radius-sm: @border-radius-base;
7070

7171
// vertical paddings
7272
@padding-lg: 24px; // containers
@@ -111,7 +111,7 @@
111111

112112
// Border color
113113
@border-color-base: hsv(0, 0, 85%); // base border outline a component
114-
@border-color-split: hsv(0, 0, 91%); // split border inside a component
114+
@border-color-split: hsv(0, 0, 94%); // split border inside a component
115115
@border-color-inverse: @white;
116116
@border-width-base: 1px; // width of the border for a component
117117
@border-style-base: solid; // style of a components border
@@ -445,6 +445,7 @@
445445

446446
// Table
447447
// --
448+
@table-bg: @component-background;
448449
@table-header-bg: @background-color-light;
449450
@table-header-color: @heading-color;
450451
@table-header-sort-bg: @background-color-base;

components/table/style/index.less

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
position: relative;
1818
clear: both;
19+
background: @table-bg;
1920

2021
&-body {
2122
transition: opacity 0.3s;

0 commit comments

Comments
 (0)