Themes overview
The Theme view is where your app gets its look: logo, colors, fonts, corner shapes, spacing, shadows and the default style of buttons, inputs, cards, tables and navigation. One set of choices applies to every page and every component, including the functional business components,
The Theme view is where your app gets its look: logo, colors, fonts, corner shapes, spacing, shadows and the default style of buttons, inputs, cards, tables and navigation. One set of choices applies to every page and every component, including the functional business components, so the whole app stays consistent without styling each piece by hand.
When to use
- Right after creating an app, to match your brand.
- When a customer-facing page should feel like your website.
- When you want tighter or roomier layouts across the whole app.
How theming works
Your theme is a short list of named values called tokens (for example colors.primary or radii.md). The runtime turns them into CSS variables that every component reads. Changing a token changes every place that uses it, in the editor, the preview and the published app.
Styling is layered, from the most general to the most specific:
- Theme tokens (Theme view) set the defaults for the whole app.
- Component styles (Theme › Component styles) choose a variant for every component of a kind: all buttons solid, soft or outline; all cards bordered, elevated or flat; and so on.
- Per-component Style tab (inspector) overrides background, text color, border, radius, shadow, opacity and typography for one component only, with separate values for Hover, Focus, Pressed and Disabled states. Fields left empty keep the theme value (placeholders say "theme").
- Responsive overrides can change font size and text alignment for one breakpoint.
A per-component override always wins over the theme, so use it sparingly: the fewer overrides, the more a theme change updates the whole app.
How to change the theme
- Open Theme in the left navigation.
- Optionally pick a preset (Classic purple, Ocean, Forest, Sunset, Mono). A preset sets colors, fonts, radius, shadows and component styles in one go.
- Adjust the sections: Brand (logo, favicon, primary and secondary colors), Colors, Typography, Shape & spacing, Component styles, Custom fonts.
- Watch the Live preview on the right: it is rendered by the real runtime styles. Sliders and color pickers preview while you drag and save when you release.
- Every change is saved as a version. Ctrl+Z undoes it; Reset to default returns colors, fonts, shapes and component styles to the MyAppBuilder defaults while keeping your logo, favicon and uploaded fonts.
Viewers with view-only access see the Theme view but cannot change it.
Example
A cleaning company wants a fresh, friendly look:
- Preset Forest (teal primary, soft buttons, filled inputs).
- Primary color changed to the company green.
- Heading font set to DM Sans, body font left on Inter.
- Density Spacious for the public quote page, which mostly shows forms.
Nothing on any page was edited by hand.
Dark mode
A dark palette generated from your theme is on the roadmap. Apps currently use the light theme; the Theme view shows a "Coming later" note for dark mode.
Common mistakes
- Styling each button in the Style tab. Set the button style once in Theme › Component styles instead; later theme changes will not reach hand-styled components.
- Low contrast primary color. Text on primary buttons is chosen automatically (dark or white) based on the color, but very light primaries still make buttons hard to see. Check the live preview.
- Forgetting the favicon. The favicon is set in Theme › Brand, not in Settings.
Advanced
Theme changes are set_theme_token commands with a dotted path (for example componentStyles.card) and a value. The AI can issue the same command for a limited set of tokens. The runtime function themeVars() maps tokens to --mab-* CSS variables (--mab-primary, --mab-font, --mab-radius, --mab-gap, --mab-shadow-md, …) on the app root, and data-btn-style, data-input-style and data-table-style attributes drive the component variants.