Skip to content

Commit

Permalink
feat(Theme): add font weight
Browse files Browse the repository at this point in the history
  • Loading branch information
nianxiongdi committed Jul 8, 2019
1 parent 5523456 commit b31e2e8
Showing 1 changed file with 35 additions and 7 deletions.
42 changes: 35 additions & 7 deletions src/core/style/_font.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,24 +49,52 @@ $font-family-zh: "Microsoft YaHei", SimSun, Arial !default !default;

// ------------------- font-weight ------------------- //

/// light
/// @semantic 细体
/// thin
/// @semantic Ultra light(Thin)
/// @group weight
/// @export weight
$font-weight-1: lighter !default;
/// regular
/// @semantic 常规
/// extra light
/// @semantic Extra Light
/// @group weight
/// @export weight
$font-weight-thin: 200 !default;
/// light
/// @semantic Light
/// @group weight
/// @export weight
$font-weight-light: 300 !default;
/// normal
/// @semantic Regular(Normal)
/// @group weight
/// @export weight
$font-weight-2: normal !default;
/// medium
/// @semantic Medium
/// @group weight
/// @export weight
$font-weight-medium: 500 !default;
/// semi bold
/// @semantic Semi Bold
/// @group weight
/// @export weight
$font-weight-semi-bold: 600 !default;
/// bold
/// @semantic 粗体
/// @semantic Bold
/// @group weight
/// @export weight
$font-weight-3: bold !default;
/// extra bold
/// @semantic Extra Bold
/// @group weight
/// @export weight
$font-weight-extra-bold: 800 !default;
/// heavy
/// @semantic Ultra Bold(Heavy)
/// @group weight
/// @export weight
$font-weight-ultra-bold: 900 !default;

$font-weight-thin: 200 !default;
$font-weight-medium: 500 !default;
$font-weight-bolder: bolder !default;

// ------------------- font-size ------------------- //
Expand Down

0 comments on commit b31e2e8

Please sign in to comment.