1
0
Fork 0

For #8972 Replaced purple colors to match the rest of the app

master
Mihai Branescu 2020-03-16 18:10:02 +02:00
parent 494db56ea5
commit a23bcebb5d
5 changed files with 11 additions and 4 deletions

View File

@ -40,7 +40,7 @@ open class LibraryPageView(
updateToolbar(
title = title,
foregroundColor = ContextCompat.getColor(context, R.color.white_color),
backgroundColor = context.getColorFromAttr(R.attr.accentHighContrast)
backgroundColor = context.getColorFromAttr(R.attr.accent)
)
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">
<corners android:radius="8dp"/>
<solid android:color="?accentBright" />
<solid android:color="?accent" />
</shape>

View File

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

View File

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