Skip to content

craftzdog/cm6-themes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Themes for CodeMirror 6

[ DEMO ]

Themes for CodeMirror 6.

Available themes

How to use

import { EditorView, basicSetup } from 'codemirror'
import { javascript } from "@codemirror/lang-javascript"
import { solarizedDark } from 'cm6-theme-solarized-dark'

let editor = new EditorView({
  doc: 'Hello',
  extensions: [
    basicSetup,
    javascript(),
    solarizedDark
  ],
  parent: document.body
})

Read the CodeMirror documentation for more detail about themes.

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •