Skip to content

ArianaTheme

Theme of the viewer and designer UI. Every value is optional and maps to a CSS custom property on the component’s root element, so you can also set the variables in your own CSS (.ar-root { --ar-primary: … }).

property CSS variable used for
primary --ar-primary selection, focus, active buttons
onPrimary --ar-on-primary text on primary backgrounds
background --ar-bg workspace behind pages and panels
surface --ar-surface toolbars and panels
surfaceVariant --ar-surface-2 section headers, hover backgrounds
inputBackground --ar-input-bg inputs and selects
border --ar-border dividers and input borders
text --ar-text text
textMuted --ar-muted labels and hints
danger --ar-danger errors and delete buttons
radius --ar-radius corner radius of controls
fontFamily --ar-font UI font
fontSize --ar-font-size base UI font size
bandColor --ar-band-color default band caption color (design)
Property Type Description
background? string -
bandColor? string -
border? string -
danger? string -
fontFamily? string -
fontSize? string | number Number = pixels.
inputBackground? string -
mode? "light" | "dark" “dark” also switches native controls (scrollbars, pickers) to dark.
onPrimary? string -
primary? string -
radius? string | number Number = pixels.
surface? string -
surfaceVariant? string -
text? string -
textMuted? string -