FioriThemeManager is the theming foundation for the SAP Fiori for iOS SwiftUI SDK. It supplies three core resources to every Fiori component:
- Color palette — a versioned, dynamic palette of semantic and decorative colors that adapts automatically to light and dark mode, elevated interface levels, and high-contrast accessibility settings.
- SAP 72 typeface — the patent SAP 72 font family, exposed through Swift-friendly
Fontextensions with full Dynamic Type support. - Fiori icon set — hundreds of Fiori-branded icons accessible through the
FioriIconenum.
Platform support
| Platform | Minimum version |
|---|---|
| iOS | 16.0 |
| visionOS | 1.0 |
| watchOS | 7.0 |
Import
ThemeManager.shared
ThemeManager is a singleton that acts as the single source of truth for all color resolution. Every call to Color.preferredColor(_:) routes through it. You configure the manager once, early in the application lifecycle, and it affects all Fiori components from that point forward.
Explore the module
Fiori colors
Dynamic color palette,
Color.preferredColor, and semantic color styles.SAP 72 fonts
Register and use the SAP 72 typeface with Dynamic Type.
Fiori icons
Full Fiori icon set via the
FioriIcon enum.Theme customization
Override colors, pin palette versions, and load
.nss stylesheets.