move repl web component to new repl package

+ use it in /vanilla + /vanilla/mini
This commit is contained in:
Felix Roos 2023-12-15 10:12:47 +01:00
parent d4afbc63e2
commit f0c3d38ea7
12 changed files with 204 additions and 164 deletions

View file

@ -154,6 +154,7 @@ export class StrudelMirror {
});
const cmEditor = this.root.querySelector('.cm-editor');
if (cmEditor) {
this.root.style.display = 'block';
this.root.style.backgroundColor = 'var(--background)';
cmEditor.style.backgroundColor = 'transparent';
}