Browse Source

Enhance color contrast and accessibility for various UI elements

seve12 1 week ago
parent
commit
184415a026
1 changed files with 34 additions and 1 deletions
  1. 34 1
      client/components/main/layouts.css

+ 34 - 1
client/components/main/layouts.css

@@ -23,6 +23,39 @@ table, tbody, td, tfoot, th, thread, tr, tt, ul, var {
 .panel-heading.note-toolbar .note-color-palette div .note-color-btn {
 .panel-heading.note-toolbar .note-color-palette div .note-color-btn {
   background: none;
   background: none;
 }
 }
+input::placeholder, textarea::placeholder {
+  color: #555 !important;
+  opacity: 1;
+}
+.error-notification {
+  color: #fff !important; /* White text */
+  background: #d32f2f !important; /* Strong red background */
+}
+.menu-text, .sidebar-text {
+  color: #222 !important; /* Very dark grey or black */
+}
+.notification-link {
+  color: #0056b3 !important; /* Darker blue for better contrast */
+}
+.card-title, .header-title {
+  color: #fff !important; /* White text for dark backgrounds */
+}
+.checklist-item.finished {
+  color: #444 !important; /* Darker grey for better contrast */
+  text-decoration: line-through;
+}
+.button-dark {
+  color: #fff !important;
+}
+.heading {
+  color: #222 !important;
+}
+.menu-text {
+  color: #222 !important;
+}
+.calendar-event, .calendar-card {
+  color: #fff !important;
+}
 a:focus {
 a:focus {
   outline: unset;
   outline: unset;
   outline-offset: unset;
   outline-offset: unset;
@@ -194,7 +227,7 @@ strong {
 p {
 p {
   -webkit-user-select: text;
   -webkit-user-select: text;
   user-select: text;
   user-select: text;
- 
+
 
 
 }
 }
 p a {
 p a {