Unify Applications
Logo
Theme Builder (Unify Applications)

Theme Builder (Unify Applications)

Logo

7 mins READ

What is a Theme?

A theme is your app's visual identity, defined once and applied everywhere. Instead of styling each block individually, you configure colors, typography, border shapes, component styles, and icon packs in the theme editor — and every page and block in your app picks them up automatically. Change the theme, and the entire app changes with it.

theme_builder.png
theme_builder.png

Note: How it works: Everything in a theme compiles to a set of named design tokens (CSS variables). Blocks reference token names rather than raw values, so a single theme edit restyles the entire app instantly. The theme's output is scoped to the app's own themed area and does not leak into the surrounding platform UI.

The Token Pipeline

  1. Tokens — every color, font size, radius, and shadow is a named value (for example, a "primary" color token).

  2. Theme — your theme assigns concrete values to those tokens, per color scheme (light and/or dark), plus font, icon, and per-component choices.

  3. App — blocks reference token names. When the theme or the active color scheme changes, every block re-renders with the new values instantly.

Theme Editor Tabs

The theme editor groups all settings into focused tabs. Each tab controls a distinct aspect of your design system.

TabWhat You ControlSee Also
ColorsBrand palette, status colors, text and background colors, accents, gradients, light/dark valuesColors & Color Scheme
FontsUpload your own typefaces into the themeTypography
TypographyFont family selection and the text size scaleTypography
BorderCorner-rounding presets (Fully Square, Soft Square, Rounded, Fully Rounded)Borders & Radius
IconsBuilt-in icon set or an uploaded custom icon packCustom Icons
ComponentsPer-component variants, custom CSS (button, input, tag, …), hide/rename componentsAppearance & Styling Guide
Tokens & CSSRaw design tokens and app-wide style overridesTokens & Custom CSS

Note: In compact view only Colors, Typography, and Border are shown. The full editor adds Fonts, Icons, Components, and Tokens & CSS.

Creating a Theme

Themes are managed in the Design System area, which has two tabs: Your Themes (your team's themes) and Theme Library (ready-made starters you can duplicate). To find your way around that screen, see Design System & Themes Screen.

Steps to Create a Theme

  1. In the platform's side navigation, under AI Applications, click Design System.

  2. Click Create Theme.

  3. Enter a Theme Name.

  4. Choose Theme Modes: Both (light and dark), Light, or Dark. With Both, your users can switch between light and dark at runtime; with a single mode, they always see that mode's colors.

  5. Optionally check Set as default theme so new apps start from it.

  6. Click Proceed. The theme editor opens.

Tip: To start from an existing look, Duplicate any theme (including Library themes) and edit the copy. Library and standard themes are read-only — always duplicate them rather than editing in place.

Deleting a Theme

Deleting a theme that apps currently use switches those apps to the workspace default theme automatically. No app is left without a theme, but verify the visual result after deletion.

Light, Dark, or Both

A theme declares which color schemes it supports:

Mode

Behavior

Both

Every color token holds a pair of values — one for light, one for dark. The app swaps between them without a reload based on the viewer's active scheme.

Light only

The theme has light colors only, and they're applied in both modes. A viewer who switches to dark, or whose device prefers dark, sees the same light colors.

Dark only

The theme has dark colors only, and they're applied in both modes. A viewer who switches to light sees the same dark colors.

Warning: Destructive change: Narrowing a theme from "Both" to a single scheme replaces the dropped scheme's colors with copies of the remaining scheme. Switching back to "Both" later does not restore the original values — dark simply starts again as a copy of light. Treat a scheme change on an existing theme as destructive for the dropped scheme.

To switch schemes at runtime from within your app — for example, behind a dark-mode toggle — add a Control User action to a block's interaction (for example a toggle's On Change) and choose Set Color Scheme. To switch to a different theme, choose Set Theme. See Colors & Color Scheme.

Permissions

The Design System area has its own permission set, separate from general platform settings. Each action is gated independently:

ActionRequired Permission
Create ThemeCreate access
Edit ThemeEdit access — without it, Save in the editor is disabled even though you can read the theme
Set as DefaultEdit access
Duplicate ThemeCreate access
Delete ThemeDelete access

A theme card shows only the actions you are permitted to run, and shows no actions menu at all if you can only view.

Applying a Theme to an App

There are two places to assign a theme:

  • Workspace default — from the theme's card menu in Design System, choose Set as Default. New apps start from this theme.

  • Per-app override — in the builder, open Settings → Design System and pick the app's theme there. Each app can point at any theme in the workspace. Opened from here, the theme editor is compact (Colors, Typography and Border only); open the theme from the Design System area for the full editor.

How Colors Auto-Generate

Several colors in the theme are "seed" colors that generate a full set automatically:

  • Primary brand color → full brand palette used by the majority of components

  • Text Base Colour → all text tokens (primary, secondary, placeholder, disabled, etc.)

  • Background Base Colour → background and border tokens

The auto-generated set is shown under Auto Generated Tokens in the Colors tab, and you can still fine-tune any individual shade after generation.

Themes and Mobile Apps

Warning: Important: The theme's compiled output feeds both the web app and the published mobile app. A theme change ships to native surfaces too, even when you only previewed it on web. The mobile app reads token values but does not apply raw CSS rules — see Tokens & Custom CSS for the mobile-specific constraints.

Standard vs. Custom Options

Some parts of a theme come from the platform's predefined configuration (standard variant dimensions and options). You can build on top of them but cannot rename or delete the standard entries themselves. Your custom additions sit alongside standard options and are fully editable.

Example: Minimal Theme Setup

  1. In the side navigation, open Design System and click Create Theme.

  2. Enter a Theme Name, choose Both under Theme Modes, and click Proceed.

  3. On the Colors tab, set the Primary brand color. The rest of the brand palette is generated from it.

  4. On the Typography tab, pick the Text Font Family.

  5. On the Border tab, pick a corner preset — for example Rounded.

  6. Click Save.

  7. Open your app in the builder, go to Settings → Design System, and pick the new theme.

Trade-offs & Gotchas

  • One theme edit reaches every screen. Because all placements are live, a theme change lands on mobile and web simultaneously. Preview on both before saving.

  • Standard options are read-only. You can add custom options alongside them but cannot modify or delete the platform's built-in ones.

  • The default theme and Library themes can't be deleted. To retire the default, set another theme as default first. Apps using a deleted theme switch to the default theme.

FAQs

Can I have multiple themes and switch between them at runtime?

Yes. You can create multiple themes in the Design System area. To switch the active theme at runtime, add a Control User action to a block's interaction and choose Set Theme — for example, letting users choose a branded vs. minimal theme.

Will deleting a theme break my apps?

No. When you delete a theme that apps currently use, UnifyApps automatically switches those apps to the workspace default theme. The apps remain functional, but their visual appearance changes to the default theme. Review affected apps after deletion.

What's the difference between the light/dark theme setting and the Set Color Scheme action?

The theme setting declares which color schemes the theme supports (both, light only, or dark only). The Set Color Scheme action switches which active scheme the viewer sees at runtime. You need a theme that supports both schemes before the runtime switch can do anything meaningful.

How do I apply a theme to just one app, not all apps?

Open the specific app in the builder, go to its Design System settings, and pick the theme there. The workspace default controls only newly-created apps. Existing apps each have their own independent theme assignment.

Can I edit a Library theme directly?

No — Library themes are read-only. Use Duplicate to create a copy of any Library theme, then edit the copy. The copy lives in Your Themes and is fully editable.