User:ExE Boss/sandbox/sprite.css

/* Invert invertable icons on dark theme */ body.theme-fandomdesktop-dark .sprite.dungeonsmiscellaneous-default-sprite, body.theme-fandomdesktop-dark .sprite.dungeonsmiscellaneous-adventure-sprite, body.theme-fandomdesktop-dark .sprite.dungeonsmiscellaneous-apocalypse-sprite, body.theme-fandomdesktop-dark .sprite.dungeonsmiscellaneous-death-sprite, body.theme-fandomdesktop-dark .sprite.dungeonsmiscellaneous-boss-sprite,

/** * TODO: Add the [data-style-dark] attribute for icons that should be inverted * in the dark theme, as opposed to manually updating a stylesheet. */ body.theme-fandomdesktop-dark .sprite[data-style-dark~="invert"] { filter: invert; }