Allow font-feature-settings to be customizable

This commit is contained in:
Cong Zhang 2019-03-19 15:03:52 +08:00
parent 810f2b21f0
commit bc4303b98a
3 changed files with 3 additions and 2 deletions

View File

@ -77,7 +77,7 @@ body {
font-variant: @font-variant-base;
line-height: @line-height-base;
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.

View File

@ -9,5 +9,5 @@
font-variant: @font-variant-base;
line-height: @line-height-base;
list-style: none;
font-feature-settings: 'tnum';
font-feature-settings: @font-feature-settings-base;
}

View File

@ -54,6 +54,7 @@
@text-color-dark: fade(@white, 85%);
@text-color-secondary-dark: fade(@white, 65%);
@font-variant-base: tabular-nums;
@font-feature-settings-base: 'tnum';
@font-size-base: 14px;
@font-size-lg: @font-size-base + 2px;
@font-size-sm: 12px;