Fine-tune underline styles used in CM editor

This commit is contained in:
Raymond Hill 2023-04-04 08:36:44 -04:00
parent ddb767c284
commit 9b5ed5ca86
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 0 additions and 3 deletions

View File

@ -108,13 +108,11 @@
color: var(--cm-positive); color: var(--cm-positive);
} }
.cm-theme-override .cm-s-default .cm-notice { .cm-theme-override .cm-s-default .cm-notice {
text-underline-position: under;
text-decoration-color: var(--sf-notice-ink); text-decoration-color: var(--sf-notice-ink);
text-decoration-style: solid; text-decoration-style: solid;
text-decoration-line: underline; text-decoration-line: underline;
} }
.cm-theme-override .cm-s-default .cm-unicode { .cm-theme-override .cm-s-default .cm-unicode {
text-underline-position: under;
text-decoration-color: var(--sf-unicode-ink); text-decoration-color: var(--sf-unicode-ink);
text-decoration-style: dashed; text-decoration-style: dashed;
text-decoration-line: underline; text-decoration-line: underline;
@ -131,7 +129,6 @@
.cm-theme-override .cm-s-default .cm-warning { .cm-theme-override .cm-s-default .cm-warning {
background-color: var(--sf-warning-surface); background-color: var(--sf-warning-surface);
text-decoration: underline var(--sf-warning-ink); text-decoration: underline var(--sf-warning-ink);
text-underline-position: under;
} }
.cm-theme-override .cm-s-default .cm-readonly { .cm-theme-override .cm-s-default .cm-readonly {
color: var(--sf-readonly-ink); color: var(--sf-readonly-ink);