mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-24 16:11:12 -05:00
Fix dark mode text visibility
This commit is contained in:
@@ -63,6 +63,9 @@
|
|||||||
/* Dark mode specific overrides */
|
/* Dark mode specific overrides */
|
||||||
.dark .w-md-editor {
|
.dark .w-md-editor {
|
||||||
@apply bg-background border-border;
|
@apply bg-background border-border;
|
||||||
|
--color-fg-default: hsl(var(--foreground));
|
||||||
|
--color-canvas-default: hsl(var(--background));
|
||||||
|
--color-border-default: hsl(var(--border));
|
||||||
}
|
}
|
||||||
|
|
||||||
.dark .w-md-editor-toolbar {
|
.dark .w-md-editor-toolbar {
|
||||||
@@ -72,6 +75,17 @@
|
|||||||
.dark .w-md-editor-text-pre,
|
.dark .w-md-editor-text-pre,
|
||||||
.dark .w-md-editor-text-input {
|
.dark .w-md-editor-text-input {
|
||||||
@apply bg-background text-foreground;
|
@apply bg-background text-foreground;
|
||||||
|
color: hsl(var(--foreground)) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dark .w-md-editor-text-pre > code {
|
||||||
|
color: hsl(var(--foreground)) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dark .w-md-editor textarea.w-md-editor-text-input {
|
||||||
|
color: hsl(var(--foreground)) !important;
|
||||||
|
background-color: hsl(var(--background)) !important;
|
||||||
|
caret-color: hsl(var(--foreground)) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dark .wmde-markdown {
|
.dark .wmde-markdown {
|
||||||
|
|||||||
Reference in New Issue
Block a user