Skip to content

Open-source and local-first Slack and Notion alternative that puts you in control of your data

Fix editor placeholder color (#141)

Hakan Shehudecc182de0d3
diff --git a/packages/ui/src/styles/editor.css b/packages/ui/src/styles/editor.css
index 28b9fc0b..7be51c70 100644
--- a/packages/ui/src/styles/editor.css
+++ b/packages/ui/src/styles/editor.css
@@ -5,15 +5,16 @@
.ProseMirror .is-editor-empty:first-child::before {
content: attr(data-placeholder);
float: left;
- color: hsl(var(--muted-foreground));
+ color: var(--muted-foreground);
pointer-events: none;
height: 0;
opacity: 10;
}
+
.ProseMirror .is-empty::before {
content: attr(data-placeholder);
float: left;
- color: hsl(var(--muted-foreground));
+ color: var(--muted-foreground);
pointer-events: none;
height: 0;
opacity: 10;