From 9d35f41d6500a0dbafb82cf76c988f01eca3d76a Mon Sep 17 00:00:00 2001 From: Gabriel Luong Date: Mon, 24 Jan 2022 01:20:46 -0500 Subject: [PATCH] [fenix] For https://github.com/mozilla-mobile/fenix/issues/23374 - Update Border Disabled colors to match design system --- app/src/main/java/org/mozilla/fenix/theme/FirefoxTheme.kt | 4 ++-- app/src/main/res/values-night/colors.xml | 2 +- app/src/main/res/values/colors.xml | 2 +- 3 files changed, 4 insertions(+), 4 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 46ee385ebb..41b77a8633 100644 --- a/app/src/main/java/org/mozilla/fenix/theme/FirefoxTheme.kt +++ b/app/src/main/java/org/mozilla/fenix/theme/FirefoxTheme.kt @@ -87,7 +87,7 @@ private val darkColorPalette = FirefoxColors( borderInverted = PhotonColors.LightGrey30, borderFormDefault = PhotonColors.LightGrey05, borderAccent = PhotonColors.Violet40, - borderDisabled = PhotonColors.LightGrey70, + borderDisabled = PhotonColors.LightGrey05A40, borderWarning = PhotonColors.Red40 ) @@ -138,7 +138,7 @@ private val lightColorPalette = FirefoxColors( borderInverted = PhotonColors.DarkGrey05, borderFormDefault = PhotonColors.DarkGrey90, borderAccent = PhotonColors.Ink20, - borderDisabled = PhotonColors.LightGrey70, + borderDisabled = PhotonColors.DarkGrey90A40, borderWarning = PhotonColors.Red80 ) diff --git a/app/src/main/res/values-night/colors.xml b/app/src/main/res/values-night/colors.xml index 1b2783125c..69f003124e 100644 --- a/app/src/main/res/values-night/colors.xml +++ b/app/src/main/res/values-night/colors.xml @@ -98,7 +98,7 @@ @color/photonViolet40 - @color/photonLightGrey70 + @color/photonLightGrey05A40 @color/photonRed40 diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index a2db8fb1f2..1849517e79 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -98,7 +98,7 @@ @color/photonInk20 - @color/photonLightGrey70 + @color/photonDarkGrey90A40 @color/photonRed80