Skip to content

rodydavis/codemirror-dynamic-theme

Repository files navigation

CodeMirror Dynamic Theme

Generate a dynamic theme for CodeMirror using the new material 3 color space.

Demo

The dynamic tokens are possible by using custom properties which also allow switching to dark automatically.

purple-light purple-dark green-light green-dark