Bug 1179479 - Correct color of url bar text in private mode. r=mhaigh
authorMichael Comella <michael.l.comella@gmail.com>
Thu, 30 Jul 2015 19:07:00 -0700
changeset 257116 a1ffe0d6a9ee26fde54adb455d61b7ce041c8e4a
parent 257115 e0ef8ee4f9d69d9941678e4c834af2168224b27e
child 257117 b163bf0c487ff9f219b1bf9256bcc13dda7c85e9
push id14573
push usermichael.l.comella@gmail.com
push dateMon, 10 Aug 2015 22:14:07 +0000
treeherderfx-team@4b9d1ec3213d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmhaigh
bugs1179479
milestone43.0a1
Bug 1179479 - Correct color of url bar text in private mode. r=mhaigh
mobile/android/base/resources/color/url_bar_title.xml
mobile/android/base/resources/values/colors.xml
--- a/mobile/android/base/resources/color/url_bar_title.xml
+++ b/mobile/android/base/resources/color/url_bar_title.xml
@@ -2,20 +2,20 @@
 <!-- This Source Code Form is subject to the terms of the Mozilla Public
    - License, v. 2.0. If a copy of the MPL was not distributed with this
    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
 
 <selector xmlns:android="http://schemas.android.com/apk/res/android"
           xmlns:gecko="http://schemas.android.com/apk/res-auto">
 
     <!-- private browsing mode -->
-    <item gecko:state_private="true" android:color="#FFDDDDDD" />
+    <item gecko:state_private="true" android:color="@color/private_active_text" />
 
     <!-- dark theme -->
-    <item gecko:state_dark="true" android:color="#FFDDDDDD"/>
+    <item gecko:state_dark="true" android:color="@color/private_active_text"/>
 
     <!-- light theme -->
     <item gecko:state_light="true" android:color="@color/placeholder_active_grey"/>
 
     <!-- normal mode -->
     <item android:color="@color/placeholder_active_grey"/>
 
 </selector>
--- a/mobile/android/base/resources/values/colors.xml
+++ b/mobile/android/base/resources/values/colors.xml
@@ -147,9 +147,11 @@
 
   <!-- Canvas delegate paint color -->
   <color name="canvas_delegate_paint">#FFFF0000</color>
 
   <!-- Top sites thumbnail colors -->
   <color name="top_site_default">#FFECF0F3</color>
   <color name="top_site_border">#FFCFD9E1</color>
 
+  <color name="private_active_text">#FFFFFF</color>
+
 </resources>