diff --git a/app/src/main/java/org/mozilla/fenix/home/sessioncontrol/viewholders/onboarding/OnboardingIcon.kt b/app/src/main/java/org/mozilla/fenix/home/sessioncontrol/viewholders/onboarding/OnboardingIcon.kt index 62badd38ae..7b11f52fe5 100644 --- a/app/src/main/java/org/mozilla/fenix/home/sessioncontrol/viewholders/onboarding/OnboardingIcon.kt +++ b/app/src/main/java/org/mozilla/fenix/home/sessioncontrol/viewholders/onboarding/OnboardingIcon.kt @@ -16,7 +16,7 @@ import org.mozilla.fenix.ext.setBounds * Sets the drawableStart of a header in an onboarding card. */ fun TextView.setOnboardingIcon(@DrawableRes id: Int) { - val icon = context.getDrawableWithTint(id, context.getColorFromAttr(R.attr.onboardingSelected))?.apply { + val icon = context.getDrawableWithTint(id, context.getColorFromAttr(R.attr.iconActive))?.apply { val size = context.resources.getDimensionPixelSize(R.dimen.onboarding_header_icon_height_width) setBounds(size) } diff --git a/app/src/main/res/drawable/ic_onboarding_avatar_anonymous_large.xml b/app/src/main/res/drawable/ic_onboarding_avatar_anonymous_large.xml index c8312c4bf2..0f43c6f612 100644 --- a/app/src/main/res/drawable/ic_onboarding_avatar_anonymous_large.xml +++ b/app/src/main/res/drawable/ic_onboarding_avatar_anonymous_large.xml @@ -8,12 +8,12 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/values/attrs.xml b/app/src/main/res/values/attrs.xml index 6caa2a5520..7afa97b0ef 100644 --- a/app/src/main/res/values/attrs.xml +++ b/app/src/main/res/values/attrs.xml @@ -8,6 +8,8 @@ + + diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 9aa1c206d0..1b267da89a 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -209,7 +209,7 @@ @color/photonLightGrey40 - @color/photonViolet40 + @color/photonViolet40 @color/photonLightGrey05A40 diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index e7d20b3bc7..3c2de1bf60 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_text_color_accent + + @color/fx_mobile_icon_color_active @color/accent_high_contrast_normal_theme @@ -214,6 +216,8 @@ @color/fx_mobile_private_layer_color_3 @color/fx_mobile_private_text_color_accent + + @color/fx_mobile_private_icon_color_active @color/toggle_off_knob_dark_theme