Skip to content

Commit

Permalink
Using downloadable fonts in Compose
Browse files Browse the repository at this point in the history
  • Loading branch information
astamato committed May 3, 2022
1 parent 943fe1b commit e6b5428
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ val provider = GoogleFont.Provider(
)

@OptIn(ExperimentalTextApi::class)
val MontserratFont = GoogleFont("Montserrat")
val MontserratFont = GoogleFont(name = "Montserrat")

@OptIn(ExperimentalTextApi::class)
val KarlaFont = GoogleFont("Karla")
val KarlaFont = GoogleFont(name = "Karla")

@OptIn(ExperimentalTextApi::class)
val MontserratFontFamily = FontFamily(
Expand Down

0 comments on commit e6b5428

Please sign in to comment.