Created
September 26, 2022 18:24
-
-
Save arriolac/8fb482996f075324f60c19add91bbf4f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright 2022 Google LLC. | |
// SPDX-License-Identifier: Apache-2.0 | |
val MontserratFontFamily = FontFamily( | |
listOf( | |
Font(R.font.montserrat_regular), | |
Font(R.font.montserrat_medium, FontWeight.Medium), | |
Font(R.font.montserrat_semibold, FontWeight.SemiBold) | |
) | |
) | |
val Typography = Typography( | |
// Display Large - Montserrat 57/64 . -0.25px | |
displayLarge = TextStyle( | |
fontFamily = MontserratFontFamily, | |
fontWeight = FontWeight.W400, | |
fontSize = 57.sp, | |
lineHeight = 64.sp, | |
letterSpacing = (-0.25).sp, | |
), | |
// Display Medium - Montserrat 45/52 . 0px | |
displayMedium = TextStyle( | |
fontFamily = MontserratFontFamily, | |
fontWeight = FontWeight.W400, | |
fontSize = 45.sp, | |
lineHeight = 52.sp, | |
letterSpacing = 0.sp, | |
), | |
// … | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment