Răsfoiți Sursa

placeholder contrast changed

Sine Jespersen 5 luni în urmă
părinte
comite
90bcf45b7b
1 a modificat fișierele cu 3 adăugiri și 1 ștergeri
  1. 3 1
      src/app.css

+ 3 - 1
src/app.css

@@ -314,7 +314,9 @@ input[type='number'] {
 .ProseMirror p.is-editor-empty:first-child::before {
 .ProseMirror p.is-editor-empty:first-child::before {
 	content: attr(data-placeholder);
 	content: attr(data-placeholder);
 	float: left;
 	float: left;
-	color: #adb5bd;
+	/* Below color is from tailwind, and has the proper contrast
+	text-gray-600 from: https://tailwindcss.com/docs/color */
+	color: #676767;
 	pointer-events: none;
 	pointer-events: none;
 
 
 	@apply line-clamp-1 absolute;
 	@apply line-clamp-1 absolute;