Themes and custom styling
Themes supply shared defaults for the project, pages, containers, and element types. Open a .theme file to use the visual Theme Editor.
Open and edit shared styles
- Open AV Studio Hub → Theme → Open Project Theme, or open the active
.themefile from Explorer. - Choose Project, Page, Container, Overlay, or an element type in the Theme Editor.
- Find the property and edit its Value. The adjacent CSS Variable column identifies the shared value available to custom styling.
- Save the theme, then check two pages or controls that inherit that setting in Live Preview.
From the October 2026 Product Guide: shared theme settings in the Forms Editor. Explicit local overrides can keep individual controls from following a theme change.
Create and activate a theme
Run Add theme, or use the theme folder's context menu. Since 27.0.7 the extension creates a per-theme folder containing the full seeded .theme and companion CSS, for example:
theme/darkhuddle/
darkhuddle.theme
globalStyles.css
Right-click the intended .theme file and choose Set as project theme, or run Pick project theme and select one. Open project theme opens the active theme for editing. You can also select it in avstudio.config; the stored path includes the folder, such as theme/darkhuddle/darkhuddle.theme. Existing theme paths remain valid when the file exists.
Use theme sections to change all controls of a type. An explicit page, container, or element property overrides its theme default. Clear local overrides when you want a control to inherit a theme change.
Theme data
The main sections are project, page, container, overlay, and element. Theme values are CSS strings. Configure shared styles in the theme.
For example, set the shared Button background to blue (#146bdf), text to white (#ffffff), and corner radius to 12 px.
In 27.0.29, missing settings in older or partial themes fall back to built-in defaults. Explicit settings still override those defaults. If no project theme is selected, built-in defaults apply.
Overlay appearance
Since 27.0.0, use the Overlay section of the active theme for project-wide mask and surface styling. Keys include maskColor, maskOpacity, maskBlur, backgroundColor, closeButtonColor, closeButtonSize, and closeButtonOffset, exposed through --av-overlay-* CSS variables. The close-button settings apply to fullscreen overlays.
Choose placement, offset, dismissal, and timer behavior in the Overlay action. Size the attached page using its own custom page dimensions, or inherit theme page dimensions. Avoid putting legacy action-level appearance fields into new actions.
Background images and gradients
In Theme Editor, expand the relevant Project, Page, Container, or element section. Background-image selectors offer project assets; since 27.0.8 images beside the .theme are also listed under Theme folder. Use the picker to save the correct url("assets/images/file.png") or url("theme/my-theme/file.png") value. Sibling discovery is not recursive.
Page, Container, and element defaults support backgroundGradient and backgroundGradientOpacity. Open the gradient picker to edit the shared gradient, then override an individual instance only where needed. Button pressed-state fields are paired with their base fields in collapsible groups, including pressedBackgroundGradient and its opacity. See Button states.
Theme companion CSS
Every sibling *.css next to the active .theme is injected while that theme is selected. Names are unrestricted and multiple files are supported; globalStyles.css is the seeded companion. A pageTransitions.css file is optional; navigation presets now belong to the theme’s Page Transitions group. Switching or clearing the theme removes its companion styling. Theme dependencies include sibling fonts and images as well.
Use theme values and visual properties first. Put shared custom classes in a theme companion when those layers cannot express the change. Legacy css/ project files are not the current styling workflow. See page transitions for theme presets and optional CSS overrides.
Fonts and dependencies
Put a theme in its own folder with sibling CSS and font files. Font formats are .ttf, .otf, .woff, and .woff2. The font-family name is the filename without its extension. Dependencies are loaded only while that theme is active, and sibling discovery is not recursive.
Custom CSS
Use editor properties for local appearance and theme settings for shared design. For styling beyond those controls, add a class to cssClass and define it in the active theme's sibling globalStyles.css. Keep the default class alongside custom classes when editing source.
Theme values become CSS variables, for example --av-project-brandColor and --av-element-button-backgroundColor. Referencing these variables keeps custom styles aligned with the active theme.
CSS in pages/<folder>/*.css is automatically scoped by page folder and applies to all pages in that folder. Embedded subpages can also inherit parent styles through the DOM. Use this advanced layer carefully when theme and global class styling are insufficient.
Reset
Built-in theme filenames such as darkhuddle.theme expose per-section Reset controls. For a custom theme, copy the full seeded file and give it a custom filename. A custom filename does not have a built-in reset target.
