Refactor editor to update better

This commit is contained in:
Gregory Schier
2023-03-10 10:39:23 -08:00
parent 0b94b57e2a
commit bf37499428
15 changed files with 87 additions and 82 deletions

View File

@@ -12,10 +12,6 @@
outline: none !important;
}
.cm-selectionBackground {
@apply bg-gray-300;
}
.cm-line {
@apply text-gray-900 pl-1 pr-1.5;
}
@@ -24,6 +20,15 @@
@apply text-placeholder;
}
/* Don't show selection on blurred input */
.cm-selectionBackground {
@apply bg-transparent;
}
&.cm-focused .cm-selectionBackground {
@apply bg-gray-400;
}
/* Style gutters */
.cm-gutters {
@apply border-0 text-gray-500/60;