Skip to content

Commit

Permalink
Fix text/caret colors in non-highlighted mode and in Safari (fix iafa…
Browse files Browse the repository at this point in the history
  • Loading branch information
iafan committed Aug 18, 2017
1 parent 5471d8c commit 7b6ba65
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -227,15 +227,16 @@ kbd {
background: none;
outline: none;
resize: none;
color: var(--main-color);
}

.editor.highlighted {
color: rgba(0, 0, 0, 0);
caret-color: #000;
color: rgba(0, 0, 0, 0) !important;
caret-color: var(--main-color);
}

.safari .editor.highlighted {
color: #000;
color: var(--main-color) !important;
-webkit-text-fill-color: rgba(0, 0, 0, 0);
}

Expand Down Expand Up @@ -454,8 +455,8 @@ body.dark {
--highlight-com-color: #777;
}

.dark .editor.highlighted {
caret-color: #fff;
.dark .editor {
color: var(--main-color);
}

.dark .editor::selection {
Expand Down

0 comments on commit 7b6ba65

Please sign in to comment.