MediaWiki:Common.css

/* CSS placed here will be applied to all skins */

img[id^=drawio-img]{

   background-color: darkgray;

}

span.mwe-math-element img {

   background-color: darkgray !important;

}