Skip to content

Commit

Permalink
#2: preserve italic styles when switching fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
passiomatic committed Apr 22, 2021
1 parent a1bed9d commit 3f5f5ab
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/Style/Font.elm
Original file line number Diff line number Diff line change
Expand Up @@ -187,55 +187,55 @@ weightNumber value =
900

HeavyItalic ->
900
901

ExtraBold ->
800

ExtraBoldItalic ->
800
801

Bold ->
700

BoldItalic ->
700
701

SemiBold ->
600

SemiBoldItalic ->
600
601

Medium ->
500

MediumItalic ->
500
501

Regular ->
400

Italic ->
400
401

Light ->
300

LightItalic ->
300
301

ExtraLight ->
200

ExtraLightItalic ->
200
201

Hairline ->
100

HairlineItalic ->
100
101


type TextAlignment
Expand Down

0 comments on commit 3f5f5ab

Please sign in to comment.