replace react-codemirror

This commit is contained in:
Felix Roos 2022-08-05 23:05:33 +02:00
parent 6824dcb89b
commit 93251582ab
13 changed files with 465 additions and 4776 deletions

View file

@ -3,7 +3,7 @@
@tailwind utilities;
body {
background-color: #111;
background-color: #222;
}
.react-codemirror2,
@ -11,7 +11,7 @@ body {
height: 100% !important;
background-color: transparent !important;
font-size: 15px;
z-index:20
z-index: 20;
}
.CodeMirror-line > span {

View file

@ -7,6 +7,7 @@ This program is free software: you can redistribute it and/or modify it under th
import controls from '@strudel.cycles/core/controls.mjs';
import { evalScope, evaluate } from '@strudel.cycles/eval';
import { CodeMirror, cx, flash, useHighlighting, useRepl, useWebMidi } from '@strudel.cycles/react';
import '@strudel.cycles/react/dist/style.css';
import { getDefaultSynth, cleanupDraw, cleanupUi, Tone } from '@strudel.cycles/tone';
import React, { useCallback, useEffect, useLayoutEffect, useRef, useState } from 'react';
import './App.css';