Typography
open class Typography
Base class for typography used in a theme. See https://salesforce.quip.com/Hh0oAuV9LVzZ for full list of styling hooks.
Constructor | Parameters |
---|---|
Typography(...) | All TextStyle parameters for body and title font scales |
Property | Type | Description |
---|---|---|
bodyFontScale1Regular | TextStyle | Body text style at scale 1, regular weight |
bodyFontScale1Semibold | TextStyle | Body text style at scale 1, semibold weight |
bodyFontScale2Regular | TextStyle | Body text style at scale 2, regular weight |
bodyFontScale2Semibold | TextStyle | Body text style at scale 2, semibold weight |
bodyFontScaleBaseRegular | TextStyle | Base body text style, regular weight |
bodyFontScaleBaseSemibold | TextStyle | Base body text style, semibold weight |
bodyFontScaleNeg1Regular | TextStyle | Body text style at negative scale 1, regular weight |
titlesFontScale3Regular | TextStyle | Title text style at scale 3, regular weight |
titlesFontScale3Semibold | TextStyle | Title text style at scale 3, semibold weight |
titlesFontScale4Regular | TextStyle | Title text style at scale 4, regular weight |
titlesFontScale4Semibold | TextStyle | Title text style at scale 4, semibold weight |
titlesFontScale5Regular | TextStyle | Title text style at scale 5, regular weight |
AgentforceTypography
- Default implementation of Typography interface
- AgentforceTypography - Default typography implementation
- SalesforceTextFontScale - Font scaling composable
- AgentforceThemeManager - Theme management with typography support