diff --git a/app/src/main/java/org/mozilla/fenix/tabhistory/TabHistoryViewHolder.kt b/app/src/main/java/org/mozilla/fenix/tabhistory/TabHistoryViewHolder.kt
index d81593e43b..6030e40b69 100644
--- a/app/src/main/java/org/mozilla/fenix/tabhistory/TabHistoryViewHolder.kt
+++ b/app/src/main/java/org/mozilla/fenix/tabhistory/TabHistoryViewHolder.kt
@@ -32,7 +32,7 @@ class TabHistoryViewHolder(
if (item.isSelected) {
view.setBackgroundColor(
- view.context.getColorFromAttr(R.attr.tabHistoryItemSelectedBackground)
+ view.context.getColorFromAttr(R.attr.layerNonOpaque)
)
} else {
view.background = null
diff --git a/app/src/main/java/org/mozilla/fenix/tabstray/browser/BrowserTabViewHolder.kt b/app/src/main/java/org/mozilla/fenix/tabstray/browser/BrowserTabViewHolder.kt
index ca0ae0405a..8a8cb29428 100644
--- a/app/src/main/java/org/mozilla/fenix/tabstray/browser/BrowserTabViewHolder.kt
+++ b/app/src/main/java/org/mozilla/fenix/tabstray/browser/BrowserTabViewHolder.kt
@@ -16,9 +16,9 @@ import mozilla.components.concept.base.images.ImageLoader
import org.mozilla.fenix.R
import org.mozilla.fenix.databinding.TabTrayGridItemBinding
import org.mozilla.fenix.ext.increaseTapArea
-import kotlin.math.max
import org.mozilla.fenix.selection.SelectionHolder
import org.mozilla.fenix.tabstray.TabsTrayStore
+import kotlin.math.max
sealed class BrowserTabViewHolder(itemView: View) : RecyclerView.ViewHolder(itemView) {
/**
@@ -102,7 +102,7 @@ sealed class BrowserTabViewHolder(itemView: View) : RecyclerView.ViewHolder(item
override fun updateSelectedTabIndicator(showAsSelected: Boolean) {
val color = if (showAsSelected) {
- R.color.tab_tray_item_selected_background_normal_theme
+ R.color.fx_mobile_layer_color_accent_nonopaque
} else {
R.color.tab_tray_item_background_normal_theme
}
diff --git a/app/src/main/res/values-night/colors.xml b/app/src/main/res/values-night/colors.xml
index bcdb92e25a..d28e315545 100644
--- a/app/src/main/res/values-night/colors.xml
+++ b/app/src/main/res/values-night/colors.xml
@@ -140,13 +140,9 @@
@color/photonDarkGrey80
- @color/tab_tray_item_selected_background_dark_theme
@color/photonDarkGrey50
@color/photonDarkGrey05
-
- @color/tab_tray_item_selected_background_dark_theme
-
@color/fx_mobile_text_color_primary
diff --git a/app/src/main/res/values/attrs.xml b/app/src/main/res/values/attrs.xml
index 3fc3f6de5a..13ba1566f0 100644
--- a/app/src/main/res/values/attrs.xml
+++ b/app/src/main/res/values/attrs.xml
@@ -8,6 +8,8 @@
+
+
@@ -76,9 +78,6 @@
-
-
-
diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml
index 77f6d5c975..224d562e2f 100644
--- a/app/src/main/res/values/colors.xml
+++ b/app/src/main/res/values/colors.xml
@@ -138,7 +138,7 @@
@color/photonViolet40
- @color/photonViolet50A32
+ @color/photonViolet50A32
@color/photonDarkGrey90A95
@color/photonViolet70
@@ -248,9 +248,6 @@
@color/photonDarkGrey90
#0015141A
-
- #412E69
-
@color/photonViolet50
#AA71FF
@@ -280,13 +277,9 @@
@color/photonLightGrey10
- #E5DFF4
@color/photonLightGrey10
@color/photonLightGrey60
-
- @color/tab_tray_item_selected_background_normal_theme
-
#DFDFE3
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index 4bc6f58e4c..df0685292c 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -36,6 +36,8 @@
- @color/fx_mobile_layer_color_3
+
+ - @color/fx_mobile_layer_color_accent_nonopaque
- @color/fx_mobile_layer_color_scrim
@@ -109,9 +111,6 @@
- @color/tab_tray_item_thumbnail_background_normal_theme
- @color/tab_tray_item_thumbnail_icon_normal_theme
-
- - @color/tab_history_item_selected_background_normal_theme
-
- @drawable/ic_logo_wordmark_normal
- @color/fx_mobile_layer_color_1
@@ -229,6 +228,8 @@
- @color/fx_mobile_private_layer_color_3
+
+ - @color/fx_mobile_private_layer_color_accent_nonopaque
- @color/fx_mobile_private_layer_color_scrim
@@ -301,9 +302,6 @@
- @color/tab_tray_item_thumbnail_background_normal_theme
- @color/tab_tray_item_thumbnail_icon_normal_theme
-
- - @color/tab_tray_item_selected_background_dark_theme
-
- @drawable/ic_logo_wordmark_private
- @drawable/private_home_background_gradient