[fenix] For https://github.com/mozilla-mobile/fenix/issues/23374 - Update Border Disabled colors to match design system

pull/600/head
Gabriel Luong 2 years ago committed by mergify[bot]
parent adb845d686
commit 9d35f41d65

@ -87,7 +87,7 @@ private val darkColorPalette = FirefoxColors(
borderInverted = PhotonColors.LightGrey30, borderInverted = PhotonColors.LightGrey30,
borderFormDefault = PhotonColors.LightGrey05, borderFormDefault = PhotonColors.LightGrey05,
borderAccent = PhotonColors.Violet40, borderAccent = PhotonColors.Violet40,
borderDisabled = PhotonColors.LightGrey70, borderDisabled = PhotonColors.LightGrey05A40,
borderWarning = PhotonColors.Red40 borderWarning = PhotonColors.Red40
) )
@ -138,7 +138,7 @@ private val lightColorPalette = FirefoxColors(
borderInverted = PhotonColors.DarkGrey05, borderInverted = PhotonColors.DarkGrey05,
borderFormDefault = PhotonColors.DarkGrey90, borderFormDefault = PhotonColors.DarkGrey90,
borderAccent = PhotonColors.Ink20, borderAccent = PhotonColors.Ink20,
borderDisabled = PhotonColors.LightGrey70, borderDisabled = PhotonColors.DarkGrey90A40,
borderWarning = PhotonColors.Red80 borderWarning = PhotonColors.Red80
) )

@ -98,7 +98,7 @@
<!-- Active tab (Nav), Selected tab, Active form --> <!-- Active tab (Nav), Selected tab, Active form -->
<color name="fx_mobile_border_color_accent">@color/photonViolet40</color> <color name="fx_mobile_border_color_accent">@color/photonViolet40</color>
<!-- Form parts --> <!-- Form parts -->
<color name="fx_mobile_border_color_disabled" tools:ignore="UnusedResources">@color/photonLightGrey70</color> <color name="fx_mobile_border_color_disabled" tools:ignore="UnusedResources">@color/photonLightGrey05A40</color>
<!-- Form parts --> <!-- Form parts -->
<color name="fx_mobile_border_color_warning" tools:ignore="UnusedResources">@color/photonRed40</color> <color name="fx_mobile_border_color_warning" tools:ignore="UnusedResources">@color/photonRed40</color>

@ -98,7 +98,7 @@
<!-- Active tab (Nav), Selected tab, Active form --> <!-- Active tab (Nav), Selected tab, Active form -->
<color name="fx_mobile_border_color_accent">@color/photonInk20</color> <color name="fx_mobile_border_color_accent">@color/photonInk20</color>
<!-- Form parts --> <!-- Form parts -->
<color name="fx_mobile_border_color_disabled" tools:ignore="UnusedResources">@color/photonLightGrey70</color> <color name="fx_mobile_border_color_disabled" tools:ignore="UnusedResources">@color/photonDarkGrey90A40</color>
<!-- Form parts --> <!-- Form parts -->
<color name="fx_mobile_border_color_warning" tools:ignore="UnusedResources">@color/photonRed80</color> <color name="fx_mobile_border_color_warning" tools:ignore="UnusedResources">@color/photonRed80</color>

Loading…
Cancel
Save