Fix light mode text visibility

This commit is contained in:
gpt-engineer-app[bot]
2025-10-17 17:36:40 +00:00
parent ea0666e447
commit 01d8410caa

View File

@@ -5,6 +5,9 @@
@apply rounded-lg border border-input bg-background;
box-shadow: none !important;
font-family: inherit;
--color-fg-default: hsl(var(--foreground));
--color-canvas-default: hsl(var(--background));
--color-border-default: hsl(var(--border));
}
/* Toolbar */
@@ -47,6 +50,17 @@
line-height: 1.6 !important;
}
/* Light mode text visibility */
.w-md-editor-text-pre > code {
color: hsl(var(--foreground)) !important;
}
.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;
}
/* Preview area */
.w-md-editor-preview {
@apply bg-background;