1
0
Fork 0
mirror of https://github.com/kou029w/quot.git synced 2025-01-18 16:08:03 +00:00

fixed selection background color

This commit is contained in:
Nebel 2022-09-19 14:16:41 +09:00
parent 85b02bf020
commit c4568aebd7
2 changed files with 7 additions and 1 deletions

View file

@ -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",

View file

@ -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;