mirror of
https://github.com/kou029w/quot.git
synced 2025-01-19 00:18:09 +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,
|
tag: t.monospace,
|
||||||
background: "var(--nc-bg-3)",
|
borderStyle: "solid",
|
||||||
|
borderColor: "var(--nc-bg-3)",
|
||||||
|
borderWidth: "1px",
|
||||||
borderRadius: "0.25em",
|
borderRadius: "0.25em",
|
||||||
padding: "0.2em 0.4em",
|
padding: "0.2em 0.4em",
|
||||||
fontSize: "0.9em",
|
fontSize: "0.9em",
|
||||||
|
|
|
@ -13,6 +13,10 @@
|
||||||
outline: unset;
|
outline: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.editor .cm-editor.cm-focused .cm-selectionBackground {
|
||||||
|
background-color: var(--nc-ac-1);
|
||||||
|
}
|
||||||
|
|
||||||
.editor .cm-content {
|
.editor .cm-content {
|
||||||
font-family: "sans-serif";
|
font-family: "sans-serif";
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
|
|
Loading…
Add table
Reference in a new issue