Skip to content

FormField CSS variables

Summary


CSS Variables table


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

CSS Variables list



--mbx-formfield-background

Fallback
Default
/
/


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



--mbx-formfield-background-dark

Fallback
Default


FormField background when dark mode is off



--mbx-formfield-background-light

Fallback
Default


FormField background when dark mode is on



--mbx-formfield-text-color

Fallback
Default
/
/


Fallback value for --mbx-formfield-text-color-light and --mbx-formfield-text-color-dark



--mbx-formfield-text-color-light

Fallback
Default


FormField text color when dark mode is off



--mbx-formfield-text-color-dark

Fallback
Default


FormField text color when dark mode is on



--mbx-formfield-background-hover

Fallback
Default
/
/


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



--mbx-formfield-background-hover-light

Fallback
Default


FormField background when dark mode is off, on hover



--mbx-formfield-background-hover-dark

Fallback
Default


FormField background when dark mode is on, on hover



--mbx-formfield-text-color-hover

Fallback
Default
/
/


Fallback value for --mbx-formfield-text-color-hover-light and --mbx-formfield-text-color-hover-dark



--mbx-formfield-text-color-hover-light

Fallback
Default


FormField text color when dark mode is off, on hover



--mbx-formfield-text-color-hover-dark

Fallback
Default


FormField text color when dark mode is on, on hover



--mbx-formfield-error-border

Fallback
Default
/
/


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



--mbx-formfield-error-border-light

Fallback
Default
red


FormField error box border color when dark mode is off



--mbx-formfield-error-border-dark

Fallback
Default
red


FormField error box border color when dark mode is on



--mbx-formfield-error-text

Fallback
Default
/
/


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



--mbx-formfield-error-text-light

Fallback
Default
red


FormField error box text color when dark mode is off



--mbx-formfield-error-text-dark

Fallback
Default
red


FormField error box text color when dark mode is on