diff --git a/app/syntax/quot.ts b/app/syntax/quot.ts index cdcb674..d0f7bc7 100644 --- a/app/syntax/quot.ts +++ b/app/syntax/quot.ts @@ -41,7 +41,9 @@ export const quotHighlighting = syntaxHighlighting( }, { tag: t.monospace, - background: "var(--nc-bg-3)", + borderStyle: "solid", + borderColor: "var(--nc-bg-3)", + borderWidth: "1px", borderRadius: "0.25em", padding: "0.2em 0.4em", fontSize: "0.9em", diff --git a/app/views/components/editor.css b/app/views/components/editor.css index 5f511cb..7e2d6db 100644 --- a/app/views/components/editor.css +++ b/app/views/components/editor.css @@ -13,6 +13,10 @@ outline: unset; } +.editor .cm-editor.cm-focused .cm-selectionBackground { + background-color: var(--nc-ac-1); +} + .editor .cm-content { font-family: "sans-serif"; font-size: 1rem;