Skip to content

Button CSS variables

Summary


CSS Variables table


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

CSS Variables list



--mbx-button-background

Fallback
Default
/
/


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



--mbx-button-background-light

Fallback
Default


Button background when dark mode is off



--mbx-button-background-dark

Fallback
Default


Button background when dark mode is on



--mbx-button-text-color

Fallback
Default
/
/


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



--mbx-button-text-color-light

Fallback
Default


Button text color when dark mode is off



--mbx-button-text-color-dark

Fallback
Default


Button text color when dark mode is on



--mbx-button-background-hover

Fallback
Default
/
/


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



--mbx-button-background-hover-light

Fallback
Default


Button background when dark mode is off, on hover



--mbx-button-background-hover-dark

Fallback
Default


Button background when dark mode is on, on hover



--mbx-button-text-color-hover

Fallback
Default
/
/


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



--mbx-button-text-color-hover-light

Fallback
Default


Button text color when dark mode is off, on hover



--mbx-button-text-color-hover-dark

Fallback
Default


Button text color when dark mode is on, on hover