From 11e0df20dfb4fcde80e44ec41f4008f3265631fb Mon Sep 17 00:00:00 2001 From: Gabriel Luong Date: Thu, 6 Jan 2022 18:03:12 -0500 Subject: [PATCH] For #23086 - Update the dark theme colors of Action Primary to Violet60 - Updates the description of Action Primary to include "Chip selected" --- app/src/main/java/org/mozilla/fenix/theme/FirefoxTheme.kt | 4 ++-- app/src/main/res/values-night/colors.xml | 4 ++-- app/src/main/res/values/colors.xml | 2 +- 3 files changed, 5 insertions(+), 5 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 68db6d180..e7b040901 100644 --- a/app/src/main/java/org/mozilla/fenix/theme/FirefoxTheme.kt +++ b/app/src/main/java/org/mozilla/fenix/theme/FirefoxTheme.kt @@ -51,7 +51,7 @@ private val darkColorPalette = FirefoxColors( scrimAccentEnd = PhotonColors.DarkGrey90A96, gradientStart = PhotonColors.Violet70, gradientEnd = PhotonColors.Violet40, - actionPrimary = PhotonColors.Violet70, + actionPrimary = PhotonColors.Violet60, actionSecondary = PhotonColors.DarkGrey10, formDefault = PhotonColors.LightGrey05, formSelected = PhotonColors.Violet40, @@ -220,7 +220,7 @@ class FirefoxColors( // Actions - // Primary button, Snackbar, Floating action button, Controls + // Primary button, Snackbar, Floating action button, Chip selected var actionPrimary by mutableStateOf(actionPrimary) private set // Secondary button, Chip diff --git a/app/src/main/res/values-night/colors.xml b/app/src/main/res/values-night/colors.xml index 6c7fb238f..090a08487 100644 --- a/app/src/main/res/values-night/colors.xml +++ b/app/src/main/res/values-night/colors.xml @@ -25,8 +25,8 @@ @color/photonViolet40 - - @color/photonViolet70 + + @color/photonViolet60 @color/photonDarkGrey10 diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 09abf4b1e..58f00c794 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -25,7 +25,7 @@ @color/photonViolet40 - + @color/photonInk20 @color/photonLightGrey40