examples/themes.html
[TOC] ### Themes #### Setting configs: javascript { // Editor.md theme, default or dark, change at v1.5.0 // You can also custom css class .editormd-theme-xxxx theme : "default | dark", // Preview container theme, added v1.5.0 // You can also custom css class .editormd-preview-theme-xxxx previewTheme : "default | dark", // Added @v1.5.0 & after version this is CodeMirror (editor area) theme editorTheme : editormd.editorThemes['theme-name'] } functions: javascript editor.setTheme('theme-name'); editor.setEditorTheme('theme-name'); editor.setPreviewTheme('theme-name'); #### Default theme - Editor.md theme : default - Preview area theme : default - Editor area theme : default > Recommend dark theme. #### Recommend editor area themes - ambiance - eclipse - mdn-like - mbo - monokai - neat - pastel-on-dark #### Editor area themes - default - 3024-day - 3024-night - ambiance - ambiance-mobile - base16-dark - base16-light - blackboard - cobalt - eclipse - elegant - erlang-dark - lesser-dark - mbo - mdn-like - midnight - monokai - neat - neo - night - paraiso-dark - paraiso-light - pastel-on-dark - rubyblue - solarized - the-matrix - tomorrow-night-eighties - twilight - vibrant-ink - xq-dark - xq-light