Add your own theme eyy?
OK - it wasnt as easy as it should be but here goes...
To add a theme - place the
json file in
npm build so they get added to the package.
I've added a whole bunch that i borrowed from https://github.com/brijeshb42/monaco-themes/tree/master/themes (reminder to self, include a nod to this lib as a thank you)
To set the theme - I have adjusted the
settings.editor arrangement slightly so that you can take advantage of the numerous options in monaco.editor.ieditoroptions (in the example below I shrink the minimap and set font to 10
lib: "MONACO", //can be "MONACO" or "ACE"
/* theme - must match the file name of a theme in
* e.g. "tomorrow-night", "upstream-sunburst", "github", "my-own-lushtastic-theme"
showSlider : "mouseover",
Will push these changes to github shortly.