Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: #39

thecodrra16019b31326
diff --git a/apps/web/src/components/editor/editor.css b/apps/web/src/components/editor/editor.css
index 37c6a30a5..a927319b8 100644
--- a/apps/web/src/components/editor/editor.css
+++ b/apps/web/src/components/editor/editor.css
@@ -140,3 +140,7 @@
background-color: var(--accent) !important;
padding: 5px 0px !important;
}
+
+.ql-editor.ql-blank::before {
+ color: var(--placeholder) !important;
+}
diff --git a/apps/web/src/utils/theme.js b/apps/web/src/utils/theme.js
index ad5b09ef0..093ef599e 100644
--- a/apps/web/src/utils/theme.js
+++ b/apps/web/src/utils/theme.js
@@ -13,7 +13,7 @@ const colorsLight = primary =>
border: "#f0f0f0",
hover: "#e0e0e0",
fontSecondary: "white",
- text: "black",
+ text: "#000000",
overlay: "rgba(255, 255, 255, 0.75)",
secondary: "white"
});
@@ -26,7 +26,7 @@ const colorsDark = primary =>
border: "#2b2b2b",
hover: "#3b3b3b",
fontSecondary: "#000",
- text: "#fff",
+ text: "#ffffff",
overlay: "rgba(0, 0, 0, 0.75)",
secondary: "black"
});
@@ -196,6 +196,7 @@ function makeTheme({
fontTertiary: "gray",
transparent: "transparent",
text,
+ placeholder: hexToRGB(text, 0.6),
overlay,
static: "white",
secondary