Skip to content

Commit c0dad64

Browse files
authored
fix(type): revert font weight mapping until we get a proper medium otf (#941)
Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
1 parent b4d7023 commit c0dad64

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • ui/theme/src/main/kotlin/com/getcode/theme

ui/theme/src/main/kotlin/com/getcode/theme/Type.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ private val Avenir = FontFamily(
1717
Font(R.font.avenir_next_regular, FontWeight.ExtraLight),
1818
Font(R.font.avenir_next_regular, FontWeight.Light),
1919
Font(R.font.avenir_next_regular, FontWeight.Normal),
20-
Font(R.font.avenir_next_medium, FontWeight.Medium),
20+
Font(R.font.avenir_next_demi, FontWeight.Medium), // TODO: find a better medium OTF
2121
Font(R.font.avenir_next_demi, FontWeight.SemiBold),
2222
Font(R.font.avenir_next_demi, FontWeight.Bold),
2323
Font(R.font.avenir_next_demi, FontWeight.ExtraBold),

0 commit comments

Comments
 (0)