Tolriq
05/24/2022, 2:36 PMTypography(defaultFontFamily = Rubik)
Equivalent for M3 ? Or are we supposed to copy paste all the internal token stuff and maintain them when they evolve ?Stylianos Gakis
05/24/2022, 3:13 PMTolriq
05/24/2022, 3:14 PMStylianos Gakis
05/24/2022, 3:19 PMTolriq
05/24/2022, 3:21 PMStylianos Gakis
05/24/2022, 3:25 PMBerkeli Alashov
05/25/2022, 6:45 AMprivate val fontFamily = FontFamily(...)
private val defaults = Typography()
val AppTypography = Typography(
displayLarge = defaults.displayLarge.copy(
fontFamily = fontFamily,
),
labelSmall = defaults.labelSmall.copy(
fontFamily = fontFamily,
),
...
)
Tolriq
05/25/2022, 6:50 AM