Skip to content

Card CSS variables

Summary


CSS Variables table


Css variable
Fallback
Default
/
/
linear-gradient(to right, #fff, #ededee, #e6e7e7)
linear-gradient(to right, #2d3748, #1d232e)
/
/

CSS Variables list



--mbx-card-background

Fallback
Default
/
/


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



--mbx-card-background-light

Fallback
Default
linear-gradient(to right, #fff, #ededee, #e6e7e7)


Card background when dark mode is off



--mbx-card-background-dark

Fallback
Default
linear-gradient(to right, #2d3748, #1d232e)


Card background when dark mode is on



--mbx-card-text-color

Fallback
Default
/
/


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



--mbx-card-text-color-light

Fallback
Default


Card text color when dark mode is off



--mbx-card-text-color-dark

Fallback
Default


Card text color when dark mode is on