-
public class ElementThemeInspired from https://medium.com/@lucasyujideveloper/54cbcbde1ace
-
-
Field Summary
Fields Modifier and Type Field Description private final SemanticColorscolorsprivate final ColorSchemematerialColorsprivate final TypographyTokenstypographyprivate final TypographymaterialTypographyprivate final BooleanisLightThemepublic final static ElementThemeINSTANCE
-
Method Summary
Modifier and Type Method Description final SemanticColorsgetColors()final ColorSchemegetMaterialColors()final TypographyTokensgetTypography()Compound Typography tokens. final TypographygetMaterialTypography()final BooleangetIsLightTheme()-
-
Method Detail
-
getColors
@Composable()@ReadOnlyComposable() final SemanticColors getColors()
-
getMaterialColors
@Composable()@ReadOnlyComposable() final ColorScheme getMaterialColors()
-
getTypography
final TypographyTokens getTypography()
Compound Typography tokens. In Figma, these have the
Android/font/prefix.
-
getMaterialTypography
@Composable()@ReadOnlyComposable() final Typography getMaterialTypography()
-
getIsLightTheme
@Composable()@ReadOnlyComposable() final Boolean getIsLightTheme()
-
-
-
-