use css var for highlighting color
This commit is contained in:
parent
1e3f09f69b
commit
632e8e9634
4 changed files with 7 additions and 10 deletions
|
|
@ -23,7 +23,6 @@ export function MiniRepl({
|
|||
punchcard,
|
||||
canvasHeight = 200,
|
||||
theme,
|
||||
highlightColor,
|
||||
}) {
|
||||
drawTime = drawTime || (punchcard ? [0, 4] : undefined);
|
||||
const evalOnMount = !!drawTime;
|
||||
|
|
@ -72,7 +71,6 @@ export function MiniRepl({
|
|||
pattern,
|
||||
active: started && !activeCode?.includes('strudel disable-highlighting'),
|
||||
getTime: () => scheduler.now(),
|
||||
color: highlightColor,
|
||||
});
|
||||
|
||||
// keyboard shortcuts
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue