feat: Configurable heading font-weight (#18442) (#18456)

This commit is contained in:
He Linming 2019-08-26 22:57:38 +08:00 committed by 偏右
parent 3ff7cf329d
commit 14f280f603
2 changed files with 5 additions and 1 deletions

View File

@ -670,3 +670,7 @@
@timeline-dot-border-width: 2px; @timeline-dot-border-width: 2px;
@timeline-dot-color: @primary-color; @timeline-dot-color: @primary-color;
@timeline-dot-bg: @component-background; @timeline-dot-bg: @component-background;
// Typography
// ---
@typography-title-font-weight: 600;

View File

@ -12,7 +12,7 @@
.typography-title(@fontSize; @lineHeight) { .typography-title(@fontSize; @lineHeight) {
margin-bottom: 0.5em; margin-bottom: 0.5em;
color: @heading-color; color: @heading-color;
font-weight: 600; font-weight: @typography-title-font-weight;
font-size: @fontSize; font-size: @fontSize;
line-height: @lineHeight; line-height: @lineHeight;
} }