Browse Source

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

pull/18599/head
He Linming 5 years ago
committed by 偏右
parent
commit
14f280f603
  1. 4
      components/style/themes/default.less
  2. 2
      components/typography/style/index.less

4
components/style/themes/default.less

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

2
components/typography/style/index.less

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

Loading…
Cancel
Save