2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-17 15:26:23 +00:00

[fenix] For https://github.com/mozilla-mobile/fenix/issues/8972 Replaced purple colors to match the rest of the app

This commit is contained in:
Mihai Branescu 2020-03-16 18:10:02 +02:00
parent 7ecf93b320
commit 25327d400f
5 changed files with 11 additions and 4 deletions

View File

@ -40,7 +40,7 @@ open class LibraryPageView(
updateToolbar( updateToolbar(
title = title, title = title,
foregroundColor = ContextCompat.getColor(context, R.color.white_color), foregroundColor = ContextCompat.getColor(context, R.color.white_color),
backgroundColor = context.getColorFromAttr(R.attr.accentHighContrast) backgroundColor = context.getColorFromAttr(R.attr.accent)
) )
libraryItemsList.adapter?.notifyDataSetChanged() libraryItemsList.adapter?.notifyDataSetChanged()
} }

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?><!-- 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">
<item android:color="?secondaryText" android:state_checked="false" />
<item android:color="?accent" android:state_checked="true" />
</selector>

View File

@ -5,5 +5,5 @@
<shape xmlns:android="http://schemas.android.com/apk/res/android"> <shape xmlns:android="http://schemas.android.com/apk/res/android">
<corners android:radius="8dp"/> <corners android:radius="8dp"/>
<solid android:color="?accentBright" /> <solid android:color="?accent" />
</shape> </shape>

View File

@ -73,7 +73,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="8dp" android:layout_margin="8dp"
android:buttonTint="?accentBright" android:buttonTint="@color/tab_checkbox_tint"
android:clickable="false" android:clickable="false"
android:elevation="1dp" android:elevation="1dp"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"

View File

@ -34,7 +34,7 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:padding="10dp" android:padding="10dp"
android:background="@drawable/favicon_background" android:background="@drawable/favicon_background"
android:backgroundTint="?accentHighContrast" android:backgroundTint="?accent"
app:srcCompat="@drawable/mozac_ic_check" /> app:srcCompat="@drawable/mozac_ic_check" />
</ImageSwitcher> </ImageSwitcher>