Theming
Theming lets you customize the appearance of an individual view in the API Portal & AI Hub. You can download the theme currently applied to a view, modify its files, and upload the updated theme as a ZIP archive.
When you upload a theme, it completely replaces the existing custom theme files for that view.
Access theming
- Sign in to the API Portal & AI Hub as an admin.
- Go to Settings.
- Under APPEARANCE, select Theming.
Use the view selector to choose the view you want to customize. The page indicates which view you are editing.
The Current theme section shows whether the selected view uses the built-in default theme or a custom theme.
Download the theme
- Select the view you want to customize.
- Click Download theme.
The downloaded ZIP archive contains a folder named after the selected view (for example, default). This folder contains the theme files organized into the following directories:
styles/- Stylesheets.layout/- Layout templates.partials/- Reusable template components.images/- Theme images.pages/- Page templates.
If the selected view does not have a custom theme, the archive contains the built-in default theme.
Customize the theme
- Extract the downloaded ZIP archive.
- Open the view folder and modify the files you want to customize.
- Save your changes.
To customize the brand colors, update the seed values in styles/main.css:
--primary--primary-dark--primary-light--accent--accent-dark--accent-light--ink
The remaining color palette is derived from these values.
After making your changes, compress the view folder into a ZIP archive.
Ensure that the view folder remains the top-level directory in the ZIP archive. For example, the archive should contain default/styles/, not styles/ directly at the root. Otherwise, the theme layout will not be applied correctly.
The ZIP archive must not exceed 10 MB.
Upload the theme
-
In Settings > Theming, select the view you want to update.
-
Choose your modified ZIP archive.
-
Click Apply theme.
The Apply theme button becomes available after you select a ZIP file.
Uploading the archive replaces all existing custom theme files for the selected view.
Reload the API Portal and AI Hub to see the changes.
Reset to the default theme
To remove the custom theme and restore the built-in default theme:
- Select the relevant view in Theming.
- Click Reset to default.
This removes the view's custom CSS, layout templates, partials, and images, and restores the built-in theme.
Was this page helpful?