tidalcycles / strudel

Web-based environment for live coding algorithmic patterns, incorporating a faithful port of TidalCycles to JavaScript
https://strudel.cc/
GNU Affero General Public License v3.0
597 stars 106 forks source link

codemirror themes #321

Closed felixroos closed 1 year ago

felixroos commented 1 year ago

switchable themes, using https://uiwjs.github.io/react-codemirror/#/theme/home . backgrounds need special treatment, because the edtor must be transparent to let the drawings through

felixroos commented 1 year ago

Started with this:

image

So far only the codemirror theme changes, which clashes with the fixed colorization of header / footer. It would be nice if the non editor ui elements would be colorized using colors from the theme so everything fits together. It could even colorize the docs too.

felixroos commented 1 year ago

light themes looks particularly bad

image

felixroos commented 1 year ago

no theme is also a theme: https://github.com/uiwjs/react-codemirror/issues/431

felixroos commented 1 year ago

ref https://github.com/uiwjs/react-codemirror/issues/457