Colton Idle
05/06/2023, 5:26 PMobject MyTheme {
val colors: MyColors
@Composable get() = LocalCustomColors.current
}
To access colors I do MyTheme.colors.whatever
. Is there an example for how to define custom type system in this same way so I can do MyTheme.typography.h7
?Marcin Wisniowski
05/06/2023, 5:31 PMColton Idle
05/06/2023, 5:37 PM