codemirror6-themes

Collection of themes of CodeMirror code editor

Usage no npm install needed!

<script type="module">
  import codemirror6Themes from 'https://cdn.skypack.dev/codemirror6-themes';
</script>

README

codemirror6-themes NPM version contributions welcome

This package implements the themes for the CodeMirror code editor.

The project page has more information, a number of examples and the documentation.

This code is released under an MIT license.

Package usage

  1. Install the package
    yarn add codemirror6-themes
    
  2. Import theme you want to use
    // this will use Material Palenight Theme
    import { materialPalenight } from 'codemirror6-themes';
    

Available themes

Theme name Example
Material Palenight
materialPalenight
Material Palenight
Material Darker
materialDarker
Material Darker
Duotone Space Dark
duotoneSpaceDark
Duotone Space Dark