@setoelkahfi / svara / commits / 5a359f3

style: changed editor text color to be less bright

mellbacon committed Jun 15, 2023 at 11:54 UTC 5a359f3e1d48d50de29bc6fbf5242988073476ee
2 files changed +6
src/config/themes/dark-theme.json
+1
@@ -34,6 +34,7 @@
34 },
35 "editor": {
36 "background": "#171717",
37 + "foreground": "#e7e7e7",
38 "tabContainerBackground": "#2D2D2D",
39 "tabBackground": "#1c1c1c",
40 "tabForeground": "#ffffff",
src/theme.scss
+5
@@ -38,6 +38,7 @@ $tab-container-height: 2rem;
38 --editor-tabHoverForeground: #ffffff;
39
40 --editor-background: #171717;
41 + --editor-foreground: #e7e7e7;
42 --editor-gutter-foreground: #898989;
43 --editor-gutter-activeForeground: #ffffff;
44 --editor-gutter-activeBackground: #212121;
@@ -164,6 +165,10 @@ html {
165 height: calc(100% - 6.1rem + 0.1rem);
166 }
167
168 +.cm-content {
169 + color: var(--editor-foreground);
170 +}
171 +
172 .cm-activeLine {
173 background-color: var(--editor-activeLineBackground) !important;
174 }