fix completion colors (#843)

pull/846/head^2
onespaceman 2024-04-08 15:06:39 -04:00 committed by GitHub
parent 3806513ba0
commit b292b5f336
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 14 deletions

View File

@ -145,21 +145,14 @@
.cm-editor .cm-tooltip-autocomplete { .cm-editor .cm-tooltip-autocomplete {
background-color: var(--root-background-color); background-color: var(--root-background-color);
color: var(--modal-color);
li { li .cm-completionDetail {
color: var(--editor-completion-detail-color);
.cm-completionLabel,
.cm-completionDetail {
color: var(--editor-completion-detail-color);
}
} }
li[aria-selected] { li[aria-selected] .cm-completionDetail {
color: var(--editor-completion-detail-selected-color);
.cm-completionLabel,
.cm-completionDetail {
color: var(--editor-completion-detail-selected-color);
}
} }
} }

View File

@ -53,7 +53,7 @@ html {
--editor-panels-bottom-color: inherit; --editor-panels-bottom-color: inherit;
--editor-panels-bottom-background-color: #e1e1e1; --editor-panels-bottom-background-color: #e1e1e1;
--editor-panels-bottom-border-color: #cacaca; --editor-panels-bottom-border-color: #cacaca;
--editor-completion-detail-color: #d2d2d2; --editor-completion-detail-color: #555;
--editor-completion-detail-selected-color: #d2d2d2; --editor-completion-detail-selected-color: #d2d2d2;
--editor-list-bullet-color: rgb(150, 150, 150); --editor-list-bullet-color: rgb(150, 150, 150);
--editor-heading-color: #333; --editor-heading-color: #333;
@ -170,7 +170,7 @@ html[data-theme="dark"] {
--editor-panels-bottom-color: #fff; --editor-panels-bottom-color: #fff;
--editor-panels-bottom-background-color: #262626; --editor-panels-bottom-background-color: #262626;
--editor-panels-bottom-border-color: rgb(62, 62, 62); --editor-panels-bottom-border-color: rgb(62, 62, 62);
--editor-completion-detail-color: #555; --editor-completion-detail-color: #aaa;
--editor-completion-detail-selected-color: #d2d2d2; --editor-completion-detail-selected-color: #d2d2d2;
--editor-list-bullet-color: rgb(150, 150, 150); --editor-list-bullet-color: rgb(150, 150, 150);
--editor-heading-color: #d1d1d1; --editor-heading-color: #d1d1d1;