mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-01 21:37:06 +08:00
Allow font-feature-settings to be customizable
This commit is contained in:
parent
810f2b21f0
commit
bc4303b98a
@ -77,7 +77,7 @@ body {
|
|||||||
font-variant: @font-variant-base;
|
font-variant: @font-variant-base;
|
||||||
line-height: @line-height-base;
|
line-height: @line-height-base;
|
||||||
background-color: @body-background; // 2
|
background-color: @body-background; // 2
|
||||||
font-feature-settings: 'tnum';
|
font-feature-settings: @font-feature-settings-base;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Suppress the focus outline on elements that cannot be accessed via keyboard.
|
// Suppress the focus outline on elements that cannot be accessed via keyboard.
|
||||||
|
@ -9,5 +9,5 @@
|
|||||||
font-variant: @font-variant-base;
|
font-variant: @font-variant-base;
|
||||||
line-height: @line-height-base;
|
line-height: @line-height-base;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
font-feature-settings: 'tnum';
|
font-feature-settings: @font-feature-settings-base;
|
||||||
}
|
}
|
||||||
|
@ -54,6 +54,7 @@
|
|||||||
@text-color-dark: fade(@white, 85%);
|
@text-color-dark: fade(@white, 85%);
|
||||||
@text-color-secondary-dark: fade(@white, 65%);
|
@text-color-secondary-dark: fade(@white, 65%);
|
||||||
@font-variant-base: tabular-nums;
|
@font-variant-base: tabular-nums;
|
||||||
|
@font-feature-settings-base: 'tnum';
|
||||||
@font-size-base: 14px;
|
@font-size-base: 14px;
|
||||||
@font-size-lg: @font-size-base + 2px;
|
@font-size-lg: @font-size-base + 2px;
|
||||||
@font-size-sm: 12px;
|
@font-size-sm: 12px;
|
||||||
|
Loading…
Reference in New Issue
Block a user