Open Polsaker opened 7 years ago
I second this. I wanted to use simplemde but noticed how horribly it handled dark themes that I had to look for alternatives.
The actual text editor is CodeMirror, which has support for different themes. If you include another theme's CSS file, you can switch the theme SimpleMDE is using by calling directly into the CodeMirror instance.
e.g.
var simplemde = new SimpleMDE({ element: $("#input")[0] });
simplemde.codemirror.setOption("theme", "3024-night");
That does not seem to alter the buttons. The theme only affects the editor, but the buttons are next to impossible to see on a dark background.
Hi, I've built a theme system for SimpleMDE, it's easy to create your own theme. Hope this would help you!
Related issue: #498
@xcatliu that looks awesome, thank you! and thanks for including an option to roll your own.
As a feature request, could you include a dark theme for simplemde? I've tried to do one, but I can't get to make the "flashing cursor bar" white.