Bug 1524255 - [dark theme] Make unread message text bright white for better differentiation. r=aleca a=jorgk
authorRichard Marti <richard.marti@gmail.com>
Thu, 15 Aug 2019 09:26:07 +0200
changeset 35296 58961ed683507cf99907e4626519d7074242df8b
parent 35295 115a0f365f77a13c20c060b7976d78689842c188
child 35297 510a90a516e77db9a24322b56681dbd1884032e1
push id2479
push usermozilla@jorgk.com
push dateThu, 15 Aug 2019 13:18:53 +0000
treeherdercomm-beta@f0ec578d1c07 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersaleca, jorgk
bugs1524255
Bug 1524255 - [dark theme] Make unread message text bright white for better differentiation. r=aleca a=jorgk
mail/themes/shared/mail/mailWindow1.css
--- a/mail/themes/shared/mail/mailWindow1.css
+++ b/mail/themes/shared/mail/mailWindow1.css
@@ -35,16 +35,20 @@
 treechildren::-moz-tree-cell-text(read) {
   font-weight: normal;
 }
 
 treechildren::-moz-tree-cell-text(unread) {
   font-weight: bold;
 }
 
+:root[lwt-tree-brighttext] treechildren::-moz-tree-cell-text(unread) {
+  color: #fff !important;
+}
+
 /* on a collapsed thread, if the top level message is read, but the thread has
  * unread children, underline the text.  4.x mac did this, very slick
  */
 treechildren::-moz-tree-cell-text(container, closed, hasUnread, read) {
   text-decoration: underline;
 }
 
 /* ..... do not show icons on grouped by sort dummy header rows ..... */