Typography and Fonts

Comprehensive typography system for iOS Agentforce components with multiple scales, weights, and semantic usage patterns.

The AgentforceTheme.Fonts protocol provides a sophisticated typography system designed for conversational AI interfaces. The system includes multiple font scales, weights, and semantic usage patterns optimized for readability and hierarchy.

The typography system provides multiple text scales and weights for creating clear information hierarchy.

Base text styles for content and conversational text:

PropertyTypeDescription
bodyScaleBaseRegularFontBase body text, regular weight
bodyScaleBaseSemiboldFontBase body text, semibold weight
bodyScaleBaseBoldFontBase body text, bold weight

Larger text styles for emphasis and improved readability:

PropertyTypeDescription
bodyScale1RegularFontLarger body text, regular weight
bodyScale1SemiboldFontLarger body text, semibold weight
bodyScale1BoldFontLarger body text, bold weight
bodyScale2RegularFontEven larger body text, regular weight
bodyScale2SemiboldFontEven larger body text, semibold weight
bodyScale2BoldFontEven larger body text, bold weight

Compact text for secondary information and captions:

PropertyTypeDescription
bodyScaleNeg1RegularFontSmaller body text, regular weight
bodyScaleNeg1SemiboldFontSmaller body text, semibold weight
bodyScaleNeg1BoldFontSmaller body text, bold weight
bodyScaleNeg2RegularFontEven smaller body text, regular weight
bodyScaleNeg2SemiboldFontEven smaller body text, semibold weight
bodyScaleNeg2BoldFontEven smaller body text, bold weight

Heading styles for interface hierarchy:

PropertyTypeDescription
titlesScale3RegularFontMedium titles, regular weight
titlesScale3SemiboldFontMedium titles, semibold weight
titlesScale4RegularFontLarge titles, regular weight
titlesScale5RegularFontExtra large titles, regular weight
titlesScale6RegularFontLargest titles, regular weight

Large format text for hero content and branding:

PropertyTypeDescription
displayScale7LightFontLarge display text, light weight
displayScale8LightFontLargest display text, light weight

Common implementation patterns for applying typography in different interface contexts.

Guidelines for effective typography implementation and accessibility.

  1. Display Text: Use for hero content and primary branding
  2. Title Text: Use for section headers and primary navigation
  3. Body Text: Use for content, messages, and descriptions
  4. Small Text: Use for metadata, timestamps, and secondary information
  • Light: For large display text and elegant headers
  • Regular: For body content and standard text
  • Semibold: For emphasis and important labels
  • Bold: For strong emphasis and critical information
  • All font sizes meet minimum accessibility requirements
  • Text scales appropriately with system accessibility settings
  • Sufficient contrast maintained across all text styles
  • Consider user's Dynamic Type preferences

For custom font implementation examples, see the iOS SDK Developer Guide.

  • Typography is the only supported customization option for Agentforce Mobile SDK theming
  • AgentforceClient - Client configuration with theming support