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

innovation-week
Mihai Branescu 4 years ago
parent 494db56ea5
commit a23bcebb5d

@ -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()
}

@ -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>

@ -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>

@ -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"

@ -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>

Loading…
Cancel
Save