Bug 1179479 - Correct color of url bar text in private mode. r=mhaigh, a=sledru
authorMichael Comella <michael.l.comella@gmail.com>
Thu, 30 Jul 2015 19:07:00 -0700
changeset 288784 324ad05911d1f33b25e9d58077cfa7f51eee002e
parent 288783 677cba8fd20b956f7878f61a3bc87a8a8e0564ad
child 288785 ae70f5d5f5b74cb9911fa45de98df87ba1d339b0
push id5067
push userraliiev@mozilla.com
push dateMon, 21 Sep 2015 14:04:52 +0000
treeherdermozilla-beta@14221ffe5b2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmhaigh, sledru
bugs1179479
milestone42.0a2
Bug 1179479 - Correct color of url bar text in private mode. r=mhaigh, a=sledru
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>