Bug 1507574 - Override --lwt-toolbarbutton-icon-fill in the title bar with Dark and Light themes. r=dao
authorchandranvishwaak@gmail.com
Mon, 19 Nov 2018 19:46:15 +0100
changeset 447094 335eb23dc594577ad46a07feec893345a22f7023
parent 447093 9c14b7e88ab7a046c281815707916d76cbca3cb2
child 447095 ba714acdc402d7ab9524874bfeed78fd9517a9cc
push id35067
push userrmaries@mozilla.com
push dateTue, 20 Nov 2018 05:04:04 +0000
treeherdermozilla-central@74c27e915067 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao
bugs1507574
milestone65.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1507574 - Override --lwt-toolbarbutton-icon-fill in the title bar with Dark and Light themes. r=dao
browser/themes/windows/compacttheme.css
--- a/browser/themes/windows/compacttheme.css
+++ b/browser/themes/windows/compacttheme.css
@@ -4,16 +4,19 @@
 
 %include ../shared/compacttheme.inc.css
 
 @media (-moz-windows-accent-color-in-titlebar) {
   :root[tabsintitlebar]:not(:-moz-window-inactive) {
     background-color: -moz-win-accentcolor;
     color: -moz-win-accentcolortext;
   }
+  :root[tabsintitlebar] #titlebar {
+    --lwt-toolbarbutton-icon-fill: currentColor;
+  }
 }
 
 /* The window background is white due to no accentcolor in the lightweight
    theme. It can't be changed to transparent when there is no compositor
    (Win 7 in classic / basic theme), or else dragging and focus become
    broken. So instead just show the normal titlebar in that case, and override
    the window color as transparent when the compositor is available. */
 @media (-moz-windows-compositor: 0) {