Hello
As far as I understood you need to change wgCosmosContentBackgroundColor to switch to dark mode - but is it possible to add button to do this? I checked Dark mode extension but it's just horrible totally dark theme and bright white text. I'm trying to add something more similar to Discord Dark theme (i.e. 313131 for background, dbdbdb for text.
But I need button to make it toggleable, so how?