diff --git a/packages/editor/src/lib/codemirror.css b/packages/editor/src/lib/codemirror.css index b7fc35260a..f8504a81ae 100644 --- a/packages/editor/src/lib/codemirror.css +++ b/packages/editor/src/lib/codemirror.css @@ -36,7 +36,12 @@ } .cm-activeLine { - background: var(--sk-bg-3); + /* this must be translucent, or it will obscure the selection */ + background: hsl(0, 0%, 0%, 0.04); + + :root.dark & { + background: hsl(0, 0%, 100%, 0.04); + } } .cm-activeLineGutter {