Fiori UX Part 1: Design Guidelines, Horizon Theme and Custom Themes
Free sample lesson · open to everyone
Apply SAP Fiori design guidelines so custom apps feel standard: floorplans, action placement and messaging patterns, the Horizon theme family, and when and how to brand with the UI theme designer.
In this lessonShow sectionsHide sections
Visual overview
The situation: a real project scenario
A custom app used hard-coded colours and CSS overrides to match a corporate style. When the company switched the launchpad to Horizon dark, the app was unreadable. Replacing colours with theme parameters and moving branding into a custom theme fixed it across variants.
Explanation
This series covers user experience, and Part 1 covers design consistency and theming.
Users work with many SAP apps daily, and when custom apps follow the same floorplans, action placement and message patterns as everything else, users need no extra training to use them. The SAP Fiori design guidelines describe these patterns and when to use each one, covering floorplans, controls, interaction patterns and even wording.
Key patterns worth internalizing include using standard floorplans — list report, object page, worklist, overview, wizard — putting finalizing actions in the footer and object actions in the header, using message strips for page-level information and value states for field-level errors, and keeping labels and button texts clear and short.
Horizon (sap_horizon) is the current visual theme family, bringing modern visuals and accessibility improvements, including light, dark and high-contrast variants. Apps should use theme parameters rather than hard-coded colors, so they continue to work correctly across every variant.
Custom themes are created with the UI theme designer, based on Horizon, letting companies adjust brand colors, logos and some other parameters. These themes are applied centrally through the launchpad or URL parameters. Branding should change colors and logos, not layout or interaction patterns, and it's worth keeping changes moderate to preserve accessibility contrast.
Custom CSS that overrides the internal classes of UI5 controls breaks with UI5 updates and theme changes. If a design need genuinely can't be met with standard controls and theme parameters, the better move is to revisit the design rather than forcing it with CSS hacks.
In practice, this means reviewing a custom app against the Fiori design guidelines checklist, switching the app between Horizon light and dark and checking the visuals, creating a test theme with brand colors in the theme designer, and removing one custom CSS override in favor of theme parameters — ending with an app that follows standard patterns and works correctly in all Horizon variants and the company's own theme.
How the SAP process fits together
SAP PROCESS EXPLORER · Fiori: from service to user
ERPClimb.comFiori UX, Theming and Internationalisation — process breakdown
Topic-specific conceptual flow: how key objects and decisions fit together. SAP configurations and exceptional cases can follow different paths.
Selected process stage
Design
Follow Fiori design guidelines and the Horizon theme
Representative SAP learning flow, not a guarantee of system runtime sequence in every scenario.
Watch out
Common mistakes
Hard-coding colours (hex values) directly in app CSS or inline styles instead of using theme parameters. The app looks fine in whatever theme was active during development, then breaks — text unreadable against its background, brand colours clashing — the moment the launchpad is switched to a different Horizon variant (dark or high-contrast) that the developer never tested against.
Overriding UI5 control internals with custom CSS (targeting internal classes like .sapMBtn or similar) to force a visual tweak the standard control doesn't support. This works until the next UI5 version renames or restructures those internal classes, at which point the override silently stops applying or breaks the layout — and because it's "just CSS," it's rarely caught by functional testing.
Building custom page layouts instead of using the standard floorplans (list report, object page, worklist, overview, wizard). This seems faster for a one-off screen, but it means users have to relearn navigation and action placement for that one app, and the team loses the consistency (and the "no training needed") that following Fiori guidelines is meant to deliver.
Only ever testing in the one theme variant used during development (usually Horizon light) and never checking dark or high-contrast modes until a user reports the app is unreadable after an organization-wide theme change — at which point it's a production incident instead of a design review finding.
Do this
Best practices
Style apps exclusively through theme parameters, never through hard-coded colours or hex values in custom CSS — this is what keeps an app correct automatically across Horizon light, dark and high-contrast variants without separate testing for each.
Use the UI theme designer, based on the standard Horizon theme, for any corporate branding (colours, logos). Keep changes moderate and verify contrast isn't degraded, since accessibility contrast ratios are part of why Horizon's defaults look the way they do.
Build on standard floorplans (list report, object page, worklist, overview, wizard) and standard action placement (footer for finalizing actions, header for object actions) rather than inventing custom layouts — this is what lets users move between SAP-delivered and custom apps without retraining.
Before reaching for custom CSS to solve a visual requirement, check whether a standard control or theme parameter already solves it; if not, revisit the design requirement itself rather than overriding control internals that are not guaranteed stable across UI5 versions.
In the interview
Interview angle
A likely interview question: "Why shouldn't a team just write custom CSS to match corporate branding on a Fiori app?" A weak answer says "it's against SAP's rules." A strong answer explains the actual mechanism: CSS overrides target UI5's internal control classes, which are not a stable API — they can change with any UI5 upgrade, breaking the app silently — whereas theme parameters are a stable, documented layer designed exactly for branding, and they automatically keep working across light, dark and high-contrast Horizon variants.
The strong answer also distinguishes "branding" (colours, logos — safe to customize via the theme designer) from "layout and interaction patterns" (floorplans, action placement — should stay standard so users don't need app-specific training).
Practice this lesson
Original educational case studies for SAP consultants, not official SAP certification exam questions. Verify product edition and implementation details against the current SAP documentation.
Quick check
0 of 3 questions attempted
Question 1 of 3
What is sap_horizon?
Question 2 of 3
How should companies apply corporate branding to Fiori?
Question 3 of 3
Why avoid hard-coded colours in custom apps?
Practise this in an interview
Answer in your own words and get instant feedback, the way an interviewer would judge it.
1How do you make sure a custom Fiori app looks and behaves like standard SAP apps?
Was this lesson helpful?
Keep exploring
Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.