Skip to content

Latest commit

 

History

History
 
 

README.md

@codeimage/theme

Latest release Version Built with SolidJS Built with CodeMirror6

Custom editor themes for @codeimage/app

CodeImage editor themes are made by the internal createThemeFactory api function.

Each theme must implement the CustomTheme interface that provides binding for CodeMirror editor theme and the style for the theme switcher preview.

There are two ways of creating themes:

  • createTheme: themes based on the new @codemirror/highlight api.
  • createPrismJSTheme: themes that uses the PrismJS token binding class for highlighting.

Available themes

Feature Name
Arc Dark Arc Dark
Coldark Cold Coldark Cold
Coldark Dark Coldark Dark
Dracula Dracula
Duotone Dark Duotone Dark
Duotone Sea Duotone Sea
Holi dark Holi dark
One Light One Light
Material Light Material Light
Material Ocean Material Ocean
Material Palenight Material Palenight
Material Volcano Material Volcano
Night owl Night Owl
One Dark One Dark
Synthwave84 Synthwave 84
VSCodeDark VSCode Dark