styling: improve codeeditor component styling

This commit is contained in:
SethBurkart123
2024-03-31 12:02:46 +11:00
parent 08b7698093
commit 806d2419cb
4 changed files with 35 additions and 22 deletions
+11
View File
@@ -0,0 +1,11 @@
.cm-editor {
border-radius: 8px;
}
body:not(.dark) .cm-editor {
@apply bg-zinc-200;
}
.cm-editor.cm-focused {
outline: none;
}