NTBTextThemeX extension
Extension to provide easy, type-safe access to custom text styles.
Properties
-
Available on ShadTextTheme, provided by the NTBTextThemeX extension
no setter - cardDescription → TextStyle
-
Available on ShadTextTheme, provided by the NTBTextThemeX extension
no setter - cardHeading → TextStyle
-
Available on ShadTextTheme, provided by the NTBTextThemeX extension
no setter - input → TextStyle
-
Available on ShadTextTheme, provided by the NTBTextThemeX extension
no setter
Methods
-
labelTypography(
NTBTextThemeVariant variant, ShadColorScheme scheme) → TextStyle -
Available on ShadTextTheme, provided by the NTBTextThemeX extension
Field-style label text: small is the default (Figma field row). muted keepsmutedForeground; others usescheme.foreground. -
textStyleFor(
NTBTextThemeVariant variant) → TextStyle -
Available on ShadTextTheme, provided by the NTBTextThemeX extension
Base TextStyle forvariantbefore label foreground coloring.