use css var for highlighting color

This commit is contained in:
Felix Roos 2023-02-19 20:03:12 +01:00
parent 1e3f09f69b
commit 632e8e9634
4 changed files with 7 additions and 10 deletions

View file

@ -183,7 +183,6 @@ export function Repl({ embedded = false }) {
pattern,
active: started && !activeCode?.includes('strudel disable-highlighting'),
getTime: () => scheduler.now(),
color: themeSettings?.foreground,
});
//
@ -273,7 +272,7 @@ export function Repl({ embedded = false }) {
<ReplContext.Provider value={context}>
<div
className={cx(
'h-screen flex flex-col',
'h-full flex flex-col',
// 'bg-gradient-to-t from-green-900 to-slate-900', //
)}
>