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:
parent
85b02bf020
commit
c4568aebd7
2 changed files with 7 additions and 1 deletions
|
@ -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",
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue