I would like to change the default theme of code mirror, I tried several things including :
Yasgui.Yasqe.defaults.theme = 'some-dark-theme';
Unfortunately, none of them worked properly. I just need some kind of dark theme, switching from white to black by default (as the site I'm working on is "dark").
I ended up overridding the css directly but I does look ugly:
I digged in the doc and didn't find a clean way to do it. Could you explain? Thanks!
I would like to change the default theme of code mirror, I tried several things including :
Yasgui.Yasqe.defaults.theme = 'some-dark-theme';
Unfortunately, none of them worked properly. I just need some kind of dark theme, switching from white to black by default (as the site I'm working on is "dark"). I ended up overridding the css directly but I does look ugly:
I digged in the doc and didn't find a clean way to do it. Could you explain? Thanks!