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
Fallback |
Default |
---|---|
/ |
/ |
Fallback value for --mbx-modal-x-light
and --mbx-modal-x-dark
--mbx-modal-x-light
Fallback |
Default |
---|---|
white |
Modal x icon color when dark mode is off
--mbx-modal-x-dark
Fallback |
Default |
---|---|
white |
Modal x icon color when dark mode is on
--mbx-modal-x-hover
Fallback |
Default |
---|---|
/ |
/ |
Fallback value for --mbx-modal-x-hover-light
and --mbx-modal-x-hover-dark
--mbx-modal-x-hover-light
Fallback |
Default |
---|---|
Modal x icon color when dark mode is off
, on hover
--mbx-modal-x-hover-dark
Fallback |
Default |
---|---|
Modal x icon color when dark mode is on
, on hover