style(components): [table] use --font-size-base for default font size (#18725)

* style(components): [table] use '-font-size-base' for default font size

* Update packages/theme-chalk/src/common/var.scss

Co-authored-by: qiang <qw13131wang@gmail.com>

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
This commit is contained in:
DDDDD12138
2024-11-27 23:40:14 +08:00
committed by GitHub
parent a2f43777c3
commit 41c70ce573
3 changed files with 4 additions and 4 deletions

View File

@@ -945,8 +945,8 @@ $table-font-size: () !default;
$table-font-size: map.merge(
(
'large': getCssVar('font-size', 'base'),
'default': 14px,
'small': 12px,
'default': getCssVar('font-size', 'base'),
'small': getCssVar('font-size', 'extra-small'),
),
$table-font-size
);

View File

@@ -52,7 +52,7 @@
}
@include b('table-v2') {
font-size: 14px;
font-size: getCssVar('font-size', 'base');
* {
box-sizing: border-box;

View File

@@ -16,7 +16,7 @@
width: 100%;
max-width: 100%;
background-color: getCssVar('table-bg-color');
font-size: 14px;
font-size: getCssVar('font-size', 'base');
color: getCssVar('table-text-color');
@include e(inner-wrapper) {