Remove materialTypography val from ElementTheme.
We should only use `typography`.
This commit is contained in:
committed by
Benoit Marty
parent
4402585a52
commit
d92ac247c1
@@ -62,14 +62,6 @@ object ElementTheme {
|
||||
*/
|
||||
val typography: TypographyTokens = TypographyTokens
|
||||
|
||||
/**
|
||||
* Material 3 [Typography] tokens. In Figma, these have the `M3 Typography/` prefix.
|
||||
*/
|
||||
val materialTypography: Typography
|
||||
@Composable
|
||||
@ReadOnlyComposable
|
||||
get() = MaterialTheme.typography
|
||||
|
||||
/**
|
||||
* Returns whether the theme version used is the light or the dark one.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user