mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 09:26:06 +08:00
feat: table customizing variable (#15971)
* feat: added table selected row color variable * fix: @table-selected-row-color default is inherit
This commit is contained in:
parent
30a0011a1b
commit
574313d2d8
@ -391,6 +391,7 @@
|
||||
@table-header-sort-bg: @background-color-base;
|
||||
@table-body-sort-bg: rgba(0, 0, 0, 0.01);
|
||||
@table-row-hover-bg: @primary-1;
|
||||
@table-selected-row-color: inherit;
|
||||
@table-selected-row-bg: #fafafa;
|
||||
@table-expanded-row-bg: #fbfbfb;
|
||||
@table-padding-vertical: 16px;
|
||||
|
@ -291,6 +291,7 @@
|
||||
}
|
||||
|
||||
&-tbody > tr.@{table-prefix-cls}-row-selected td {
|
||||
color: @table-selected-row-color;
|
||||
background: @table-selected-row-bg;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user