AdumoClientConfig
AdumoClientConfig object
Configuration options for initializing the AdumoClient instance.
| Property | Type | Required | Description |
|---|
appearance | object | optional | Global appearance configuration for shared UI components across all elements. |
▶ 4 properties| Property | Type | Required | Description |
|---|
settings | object | optional | Component-level behavioural configuration that is not expressible through CSS. | ▶ 1 property| Property | Type | Required | Description |
|---|
inputLabelType | "float-in" | "float-on" | "float-over" | "ifta" | optional | Controls how input labels animate relative to the input field. Options: float-in (shrinks inside on focus), float-on (sits on border, moves up), float-over (floats above on focus), ifta (in-field top-aligned). |
| styles | object | optional | Per-component CSS overrides keyed by selector name. | ▶ 53 properties| Property | Type | Required | Description |
|---|
Button | Styles | optional | | ButtonPrimary | Styles | optional | | ButtonPrimaryFocused | Styles | optional | | ButtonPrimaryHovered | Styles | optional | | ButtonProgressSpinner | Styles | optional | | Dialog | Styles | optional | | DialogBackdrop | Styles | optional | | DialogBody | Styles | optional | | DialogCloseButton | Styles | optional | | DialogCloseButtonIcon | Styles | optional | | DialogCloseButtonIconHovered | Styles | optional | | DialogHeader | Styles | optional | | DialogHeaderTitle | Styles | optional | | DropdownContainer | Styles | optional | | DropdownEditableInputField | Styles | optional | | DropdownErrorText | Styles | optional | | DropdownInput | Styles | optional | | DropdownInputContainer | Styles | optional | | DropdownInputContainerError | Styles | optional | | DropdownInputField | Styles | optional | | DropdownInputIcon | Styles | optional | | DropdownItem | Styles | optional | | DropdownItemFocused | Styles | optional | | DropdownItemHovered | Styles | optional | | DropdownItemSelected | Styles | optional | | DropdownItemSelectedFocused | Styles | optional | | DropdownItemSelectedHovered | Styles | optional | | DropdownLabel | Styles | optional | | DropdownMenu | Styles | optional | | Input | Styles | optional | | InputClearIcon | Styles | optional | | InputClearIconHovered | Styles | optional | | InputContainer | Styles | optional | | InputContainerError | Styles | optional | | InputContainerErrorFocusedWithin | Styles | optional | | InputContainerErrorHovered | Styles | optional | | InputContainerFocusedWithin | Styles | optional | | InputContainerHovered | Styles | optional | | InputErrorText | Styles | optional | | InputField | Styles | optional | | InputPlaceholder | Styles | optional | | Label | Styles | optional | | LabelError | Styles | optional | | LabelFloating | Styles | optional | | LabelHovered | Styles | optional | | Link | Styles | optional | | LinkHovered | Styles | optional | | ProgressSpinner | Styles | optional | | Toggle | Styles | optional | | ToggleLabel | Styles | optional | | ToggleSwitch | Styles | optional | | ToggleSwitchChecked | Styles | optional | | ToggleSwitchFocused | Styles | optional | |
| theme | "light" | "dark" | optional | Built-in theme to use as a baseline. Explicit variables, styles, and settings override theme defaults. | variables | object | optional | Global design tokens exposed as CSS custom properties on the element container. | ▶ 16 properties| Property | Type | Required | Description |
|---|
borderRadius | string | number | optional | Global corner radius applied to inputs, buttons, and cards. | boxShadow | string | optional | Default box shadow. | colorBackgroundPrimary | string | optional | Primary surface/background colour. | colorBackgroundSecondary | string | optional | Secondary surface colour used for cards and grouped areas. | colorError | string | optional | Colour applied to error states and validation messages. | colorFocused | string | optional | Colour applied to focused input borders and focus rings. | colorLabel | string | optional | Default colour for input labels. | colorOutline | string | optional | Outline/border colour for inputs. | colorPlaceholder | string | optional | Colour for input placeholder text. | colorPrimary | string | optional | Primary brand accent colour used for buttons and interactive elements. | colorSelected | string | optional | Colour applied to selected/active elements. | colorText | string | optional | Default text colour. | fontFamily | string | optional | Font stack for all text. | fontSizeBase | string | optional | Base font size. | paddingHorizontalInput | string | number | optional | Horizontal padding inside input fields. | spacingUnit | string | number | optional | Base spacing unit used for consistent margins and gaps between elements. |
|
|