Theming
Two attributes restyle the editor: one accent color, and a light or dark scheme.
Brand color
brand-color drives the editor's whole accent ramp - buttons, focus rings, highlights, selected states - from a single color.
<sfx-template-builder brand-color="#FF6600" ...></sfx-template-builder>It must be
#rgbor#rrggbb. Anything else is rejected and the default Scaleflex accent is kept. The value ends up inside a stylesheet rule, so the shape is enforced at the boundary rather than escaped downstream.Text drawn on top of the brand color is chosen for you, white or near-black, by contrast ratio. A pale brand color gets dark labels rather than invisible ones.
Surfaces, borders and body text keep the design system's neutrals. Only the accent ramp follows your color.
Color scheme
theme is light, dark or auto, where auto follows the viewer's operating system setting.
<sfx-template-builder theme="dark" ...></sfx-template-builder>It overrides the viewer's own stored preference, which in an embed lives in partitioned storage your page cannot reach - so setting theme is the only way to control the scheme from outside.
With a security template
Project branding does not apply under a security template, because there is no project model to read it from. brand-color and theme are how you style a guest embed.
Where to go next
API reference - both attributes in the full table
Authentication - what else a guest embed does without