From 35454ec674ee79bfdcf457bb8610e2ae1419903b Mon Sep 17 00:00:00 2001 From: Gabriel Luong Date: Fri, 10 Dec 2021 13:48:51 -0500 Subject: [PATCH] For #22793 - Swap the colors for Gradient Start/End design tokens --- app/src/main/java/org/mozilla/fenix/theme/FirefoxTheme.kt | 8 ++++---- app/src/main/res/values-night/colors.xml | 4 ++-- app/src/main/res/values/colors.xml | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/src/main/java/org/mozilla/fenix/theme/FirefoxTheme.kt b/app/src/main/java/org/mozilla/fenix/theme/FirefoxTheme.kt index 6f69459809..a159064308 100644 --- a/app/src/main/java/org/mozilla/fenix/theme/FirefoxTheme.kt +++ b/app/src/main/java/org/mozilla/fenix/theme/FirefoxTheme.kt @@ -49,8 +49,8 @@ private val darkColorPalette = FirefoxColors( scrim = PhotonColors.DarkGrey05A45, scrimAccentStart = PhotonColors.DarkGrey90, scrimAccentEnd = PhotonColors.DarkGrey30, - gradientStart = PhotonColors.Violet40, - gradientEnd = PhotonColors.Violet70, + gradientStart = PhotonColors.Violet70, + gradientEnd = PhotonColors.Violet40, actionPrimary = PhotonColors.Violet60, actionSecondary = PhotonColors.DarkGrey50, actionTertiary = PhotonColors.LightGrey40, @@ -95,8 +95,8 @@ private val lightColorPalette = FirefoxColors( scrim = PhotonColors.DarkGrey05A45, scrimAccentStart = PhotonColors.DarkGrey90, scrimAccentEnd = PhotonColors.DarkGrey30, - gradientStart = PhotonColors.Violet40, - gradientEnd = PhotonColors.Violet70, + gradientStart = PhotonColors.Violet70, + gradientEnd = PhotonColors.Violet40, actionPrimary = PhotonColors.Violet90, actionSecondary = PhotonColors.LightGrey40, actionTertiary = PhotonColors.DarkGrey05, diff --git a/app/src/main/res/values-night/colors.xml b/app/src/main/res/values-night/colors.xml index 894985e4aa..da4d081828 100644 --- a/app/src/main/res/values-night/colors.xml +++ b/app/src/main/res/values-night/colors.xml @@ -20,9 +20,9 @@ @color/photonDarkGrey90 @color/photonDarkGrey30 - @color/photonViolet40 + @color/photonViolet70 - @color/photonViolet70 + @color/photonViolet40 diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 6bc93c24a2..43dd25ddac 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -20,9 +20,9 @@ @color/photonDarkGrey90 @color/photonDarkGrey30 - @color/photonViolet40 + @color/photonViolet70 - @color/photonViolet70 + @color/photonViolet40