Can we have a dark theme please?
Looking into making this now - any ideas on the specific implementation, especially for when the app is compressed into cyberchef.htm @n1474335?
Hi @artemisbot,
Glad to hear you want to take a look at this. There are several considerations to be made. Here are my thoughts:
src/css/themes you'll find the classic.css stylesheet. Creating a dark theme should be as simple as going through this and changing colours and fonts as appropriate.OptionsWaiter.js to handle all this. You'll just need to create a dropdown in index.html and add a default value of theme in main.js.style tag and loading the CSS that way, depending on which theme the user has chosen.If you'd rather just create the stylesheet and leave the loading problem to someone else, that's fine (and still very useful). I'll probably try to get this sorted out at some point if no one else does it.
@n1474335 Would at least a sample stylesheet help? My JS isn't great (then again, neither is my CSS) but I figure I could at least take a shot at it.
I say give it a shot!
If @n1474335 is too busy occupied with babel or the client/server implementation, I can have a go at implementing the theme changer dropdown and the theme-packing grunt task.
Yes, please do go ahead and see what you can do. I threw together a dark theme based on Visual Studio Code a little while ago and it looked great, but it wasn't very comprehensive and needs a lot more work. Like I said in the previous comment, the whole CSS model needs to be improved, so don't worry if it ends up being too convoluted - I will sort it all out in the coming months if no one gets to it before me.
Even if you only get a partial stylesheet, send it through and we can build on it.
@n1474335 
Completed in #113.
Most helpful comment
@n1474335 Would at least a sample stylesheet help? My JS isn't great (then again, neither is my CSS) but I figure I could at least take a shot at it.