Skip to content

Commit

Permalink
Adding less variables for table head background color and table row h…
Browse files Browse the repository at this point in the history
…over
  • Loading branch information
Sanjay Kumar committed Apr 11, 2017
1 parent 5ddd7f8 commit 692ccf8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions components/style/themes/default.less
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,11 @@
@spin-dot-size: 20px;
@spin-dot-size-lg: 32px;

// Table
// --
@table-head-background-color: @background-color-base;
@table-row-background-hover : @primary-1;

// TimePicker
// ---
@time-picker-panel-column-width: 56px;
Expand Down
3 changes: 1 addition & 2 deletions components/table/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
@import "../../style/mixins/index";

@table-prefix-cls: ~"@{ant-prefix}-table";
@table-head-background-color: @background-color-base;

.@{table-prefix-cls}-wrapper {
.clearfix;
Expand Down Expand Up @@ -66,7 +65,7 @@
&.@{table-prefix-cls}-row-hover,
&:hover {
& > td {
background: @primary-1;
background: @table-row-background-hover;
}
}
}
Expand Down

0 comments on commit 692ccf8

Please sign in to comment.