Improved highlighting colours and selection ranges

This commit is contained in:
n1474335 2022-07-11 11:43:48 +01:00
parent 890f645eeb
commit 157dacb3a5
4 changed files with 50 additions and 36 deletions

View file

@ -440,6 +440,28 @@
filter: brightness(98%);
}
/* Highlighting */
.ͼ2.cm-focused .cm-selectionBackground {
background-color: var(--hl5);
}
.ͼ2 .cm-selectionBackground {
background-color: var(--hl1);
}
.ͼ1 .cm-selectionMatch {
background-color: var(--hl2);
}
.ͼ1.cm-focused .cm-cursor.cm-cursor-primary {
border-color: var(--primary-font-colour);
}
.ͼ1 .cm-cursor.cm-cursor-primary {
display: block;
border-color: var(--subtext-font-colour);
}
/* Status bar */

View file

@ -110,11 +110,11 @@
/* Highlighter colours */
--hl1: #fff000;
--hl2: #95dfff;
--hl3: #ffb6b6;
--hl4: #fcf8e3;
--hl5: #8de768;
--hl1: #ffee00aa;
--hl2: #95dfffaa;
--hl3: #ffb6b6aa;
--hl4: #fcf8e3aa;
--hl5: #8de768aa;
/* Scrollbar */