Skip to content

Form CSS variables

Summary


CSS Variables table


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

CSS Variables list



--mbx-form-background-light

Fallback
Default


Form background when dark mode is `off'



--mbx-form-background

Fallback
Default
/
/


Fallback value for and



--mbx-form-background-dark

Fallback
Default


Form background when dark mode is `on'



--mbx-form-text-color

Fallback
Default
/
/


Fallback value for and



--mbx-form-text-color-light

Fallback
Default


Form text color when dark mode is `off'



--mbx-form-text-color-dark

Fallback
Default


Form text color when dark mode is `on'



--mbx-form-submit-background

Fallback
Default
/
/


Fallback value for --mbx-form-submit-background-light and --mbx-form-submit-background-dark



--mbx-form-submit-background-light

Fallback
Default


Form submit button background when dark mode is `off'



--mbx-form-submit-background-dark

Fallback
Default


Form submit button background when dark mode is `on'



--mbx-form-submit-text-color

Fallback
Default
/
/


Fallback value for --mbx-form-submit-text-color-light and --mbx-form-submit-text-color-dark



--mbx-form-submit-text-color-light

Fallback
Default


Form submit button text color when dark mode is `off'



--mbx-form-submit-text-color-dark

Fallback
Default


Form submit button text color when dark mode is `on'



--mbx-form-formfield-background

Fallback
Default
/
/


Extended from FormField - Fallback value for --mbx-form-formfield-background-light and --mbx-form-formfield-background-dark



--mbx-form-formfield-background-dark

Fallback
Default


Extended from FormField - FormField background when dark mode is off



--mbx-form-formfield-background-light

Fallback
Default


Extended from FormField - FormField background when dark mode is on



--mbx-form-formfield-text-color

Fallback
Default
/
/


Extended from FormField - Fallback value for --mbx-form-formfield-text-color-light and --mbx-form-formfield-text-color-dark



--mbx-form-formfield-text-color-light

Fallback
Default


Extended from FormField - FormField text color when dark mode is off



--mbx-form-formfield-text-color-dark

Fallback
Default


Extended from FormField - FormField text color when dark mode is on



--mbx-form-formfield-background-hover

Fallback
Default
/
/


Extended from FormField - Fallback value for --mbx-form-formfield-background-hover-light and --mbx-form-formfield-background-hover-dark



--mbx-form-formfield-background-hover-light

Fallback
Default


Extended from FormField - FormField background when dark mode is off, on hover



--mbx-form-formfield-background-hover-dark

Fallback
Default


Extended from FormField - FormField background when dark mode is on, on hover



--mbx-form-formfield-text-color-hover

Fallback
Default
/
/


Extended from FormField - Fallback value for --mbx-form-formfield-text-color-hover-light and --mbx-form-formfield-text-color-hover-dark



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

Fallback
Default


Extended from FormField - FormField text color when dark mode is off, on hover



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

Fallback
Default


Extended from FormField - FormField text color when dark mode is on, on hover



--mbx-form-formfield-error-border

Fallback
Default
/
/


Extended from FormField - Fallback value for --mbx-form-formfield-error-border-light and --mbx-form-formfield-error-border-dark



--mbx-form-formfield-error-border-light

Fallback
Default


Extended from FormField - FormField error box border color when dark mode is off



--mbx-form-formfield-error-border-dark

Fallback
Default


Extended from FormField - FormField error box border color when dark mode is on



--mbx-form-formfield-error-text

Fallback
Default
/
/


Extended from FormField - Fallback value for --mbx-form-formfield-error-text-light and --mbx-form-formfield-error-text-dark



--mbx-form-formfield-error-text-light

Fallback
Default


Extended from FormField - FormField error box text color when dark mode is off



--mbx-form-formfield-error-text-dark

Fallback
Default


Extended from FormField - FormField error box text color when dark mode is on