oa::UiStyle

UiStyle struct in the OA Ui public surface.

Public Methods

oa::Status oa::UiStyle::validate()

Static Public Methods

static UiStyle oa::UiStyle::editorDark()
static UiStyle oa::UiStyle::editorLight()
static UiStyle oa::UiStyle::realmDark()
static UiStyle oa::UiStyle::realmLight()
static UiStyle oa::UiStyle::viewerDark()

Public Data Members

accentColorfield
accentActiveColorfield
accentHoverColorfield
backgroundColorfield
borderColorfield
borderStrongColorfield
borderSubtleColorfield
borderWidthoa::F32field
cornerRadiusoa::F32field
errorColorfield
fontSizeoa::F32field
framePaddingXoa::F32field
framePaddingYoa::F32field
itemSpacingoa::F32field
paddingoa::F32field
shadowBluroa::F32field
shadowOffsetoa::F32field
successColorfield
surfaceColorfield
surfaceActiveColorfield
surfaceHoverColorfield
textColorfield
textDisabledColorfield
textMutedColorfield
textSecondaryColorfield
warningColorfield

Public Method Documentation

oa::Status oa::UiStyle::validate()
Every geometry value must be finite; sizes are non-negative and fontSize is positive. Every color component must be finite and in [0,1].

Returns

oa::Status

The declared return value.

static UiStyle oa::UiStyle::editorDark()
Compact OA editor presets adapted from the prior editor's Dark Modern and Light Modern palettes.

Returns

UiStyle

The declared return value.

static UiStyle oa::UiStyle::editorLight()
No public source comment is attached to this declaration.

Returns

UiStyle

The declared return value.

static UiStyle oa::UiStyle::realmDark()
Struct defaults are already RealmDark; this exists for explicitness.

Returns

UiStyle

The declared return value.

static UiStyle oa::UiStyle::realmLight()
Realm Design System light variant.

Returns

UiStyle

The declared return value.

static UiStyle oa::UiStyle::viewerDark()
Grayscale, media-first palette for full-bleed Viewer chrome. It keeps controls readable over arbitrary imagery without importing a desktop toolkit theme or colored application accent.

Returns

UiStyle

The declared return value.