Skip to content

FormField CSS variables

Summary


CSS Variables table


Css variable
Fallback
Default
/
/
/
/
/
/
/
/
/
/
red
red
/
/
red
red

CSS Variables list



--mbx-field-background

Fallback
Default
/
/


Fallback value for --mbx-field-background-light and --mbx-field-background-dark



--mbx-field-background-dark

Fallback
Default


FormField background when dark mode is off



--mbx-field-background-light

Fallback
Default


FormField background when dark mode is on



--mbx-field-text

Fallback
Default
/
/


Fallback value for --mbx-field-text-light and --mbx-field-text-dark



--mbx-field-text-light

Fallback
Default


FormField text color when dark mode is off



--mbx-field-text-dark

Fallback
Default


FormField text color when dark mode is on



--mbx-field-background-hover

Fallback
Default
/
/


Fallback value for --mbx-field-background-hover-light and --mbx-field-background-hover-dark



--mbx-field-background-hover-light

Fallback
Default


FormField background when dark mode is off, on hover



--mbx-field-background-hover-dark

Fallback
Default


FormField background when dark mode is on, on hover



--mbx-field-text-hover

Fallback
Default
/
/


Fallback value for --mbx-field-text-hover-light and --mbx-field-text-hover-dark



--mbx-field-text-hover-light

Fallback
Default


FormField text color when dark mode is off, on hover



--mbx-field-text-hover-dark

Fallback
Default


FormField text color when dark mode is on, on hover



--mbx-field-error-border

Fallback
Default
/
/


Fallback value for --mbx-field-error-border-light and --mbx-field-error-border-dark



--mbx-field-error-border-light

Fallback
Default
red


FormField error box border color when dark mode is off



--mbx-field-error-border-dark

Fallback
Default
red


FormField error box border color when dark mode is on



--mbx-field-error-text

Fallback
Default
/
/


Fallback value for --mbx-field-error-text-light and --mbx-field-error-text-dark



--mbx-field-error-text-light

Fallback
Default
red


FormField error box text color when dark mode is off



--mbx-field-error-text-dark

Fallback
Default
red


FormField error box text color when dark mode is on