Modal CSS variables
Summary
CSS Variables table
Css variable |
Fallback |
Default |
---|---|---|
/ |
/ |
|
rgba(0, 0, 0, 0.8) |
||
rgba(0, 0, 0, 0.8) |
||
/ |
/ |
|
white |
||
white |
||
/ |
/ |
|
CSS Variables list
--mbx-modal-background
Fallback |
Default |
---|---|
/ |
/ |
Fallback value for --mbx-modal-background-light
and --mbx-modal-background-dark
--mbx-modal-background-light
Fallback |
Default |
---|---|
rgba(0, 0, 0, 0.8) |
Modal background when dark mode is off
--mbx-modal-background-dark
Fallback |
Default |
---|---|
rgba(0, 0, 0, 0.8) |
Modal background when dark mode is on
--mbx-modal-x-color
Fallback |
Default |
---|---|
/ |
/ |
Fallback value for --mbx-modal-x-color-light
and --mbx-modal-x-color-dark
--mbx-modal-x-color-light
Fallback |
Default |
---|---|
white |
Modal x icon color when dark mode is off
--mbx-modal-x-color-dark
Fallback |
Default |
---|---|
white |
Modal x icon color when dark mode is on
--mbx-modal-x-color-hover
Fallback |
Default |
---|---|
/ |
/ |
Fallback value for --mbx-modal-x-color-hover-light
and --mbx-modal-x-color-hover-dark
--mbx-modal-x-color-hover-light
Fallback |
Default |
---|---|
Modal x icon color when dark mode is off
, on hover
--mbx-modal-x-color-hover-dark
Fallback |
Default |
---|---|
Modal x icon color when dark mode is on
, on hover