NTBTextThemeX extension

Extension to provide easy, type-safe access to custom text styles.

on

Properties

button TextStyle

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 keeps mutedForeground; others use scheme.foreground.
textStyleFor(NTBTextThemeVariant variant) TextStyle

Available on ShadTextTheme, provided by the NTBTextThemeX extension

Base TextStyle for variant before label foreground coloring.