[fenix] For https://github.com/mozilla-mobile/fenix/issues/23086 - Change the light theme color for Form Selected, Form On, Icon Button, Layer Accent, Border Selected to Ink20

pull/600/head
Gabriel Luong 3 years ago committed by mergify[bot]
parent be7ae5e488
commit 7a1fe9836a

@ -92,7 +92,7 @@ private val lightColorPalette = FirefoxColors(
layer1 = PhotonColors.LightGrey20,
layer2 = PhotonColors.White,
layer3 = PhotonColors.LightGrey10,
layerAccent = PhotonColors.Violet90,
layerAccent = PhotonColors.Ink20,
layerNonOpaque = PhotonColors.Violet70A12,
scrim = PhotonColors.DarkGrey05A45,
scrimAccentStart = PhotonColors.DarkGrey90A96,
@ -102,10 +102,10 @@ private val lightColorPalette = FirefoxColors(
actionPrimary = PhotonColors.Ink20,
actionSecondary = PhotonColors.LightGrey40,
formDefault = PhotonColors.DarkGrey90,
formSelected = PhotonColors.Violet90,
formSelected = PhotonColors.Ink20,
formSurface = PhotonColors.LightGrey50,
formDisabled = PhotonColors.LightGrey50,
formOn = PhotonColors.Violet90,
formOn = PhotonColors.Ink20,
formOff = PhotonColors.LightGrey05,
indicatorActive = PhotonColors.LightGrey50,
indicatorInactive = PhotonColors.LightGrey30,
@ -120,7 +120,7 @@ private val lightColorPalette = FirefoxColors(
iconDisabled = PhotonColors.LightGrey70,
iconInverted = PhotonColors.White,
iconNotice = PhotonColors.Blue30,
iconButton = PhotonColors.Violet90,
iconButton = PhotonColors.Ink20,
iconWarning = PhotonColors.Red80,
iconAccentViolet = PhotonColors.Violet60,
iconAccentBlue = PhotonColors.Blue60,
@ -130,7 +130,7 @@ private val lightColorPalette = FirefoxColors(
iconGradientStart = PhotonColors.Violet50,
iconGradientEnd = PhotonColors.Blue60,
borderDefault = PhotonColors.DarkGrey90,
borderSelected = PhotonColors.Violet90,
borderSelected = PhotonColors.Ink20,
borderDisabled = PhotonColors.LightGrey70,
borderWarning = PhotonColors.Red80,
borderDivider = PhotonColors.LightGrey40,

@ -13,7 +13,7 @@
<!-- App Bar Top, App Bar Bottom, Frontlayer header -->
<color name="fx_mobile_layer_color_3" tools:ignore="UnusedResources">@color/photonLightGrey10</color>
<!-- App Bar Top (edit), Header (edit) -->
<color name="fx_mobile_layer_color_accent" tools:ignore="UnusedResources">@color/photonViolet90</color>
<color name="fx_mobile_layer_color_accent" tools:ignore="UnusedResources">@color/photonInk20</color>
<!-- Selected tab -->
<color name="fx_mobile_layer_color_accent_nonopaque">@color/photonViolet70A12</color>
<color name="fx_mobile_layer_color_scrim" tools:ignore="UnusedResources">@color/photonDarkGrey05A45</color>
@ -32,13 +32,13 @@
<!-- Checkbox default, Radio button default -->
<color name="fx_mobile_action_color_form_default" tools:ignore="UnusedResources">@color/photonDarkGrey90</color>
<!-- Checkbox selected, Radio button selected -->
<color name="fx_mobile_action_color_form_selected" tools:ignore="UnusedResources">@color/photonViolet90</color>
<color name="fx_mobile_action_color_form_selected" tools:ignore="UnusedResources">@color/photonInk20</color>
<!-- Switch background OFF, Switch background ON -->
<color name="fx_mobile_action_color_form_surface" tools:ignore="UnusedResources">@color/photonLightGrey50</color>
<!-- Checkbox disabled, Radio disabled -->
<color name="fx_mobile_action_color_form_disabled" tools:ignore="UnusedResources">@color/photonLightGrey50</color>
<!-- Switch thumb ON -->
<color name="fx_mobile_action_color_form_on" tools:ignore="UnusedResources">@color/photonViolet90</color>
<color name="fx_mobile_action_color_form_on" tools:ignore="UnusedResources">@color/photonInk20</color>
<!-- Switch thumb OFF -->
<color name="fx_mobile_action_color_form_off" tools:ignore="UnusedResources">@color/photonLightGrey05</color>
<!-- Scroll indicator active -->
@ -72,7 +72,7 @@
<!-- Information -->
<color name="fx_mobile_icon_color_information">@color/photonBlue30</color>
<!-- Icon button -->
<color name="fx_mobile_icon_color_button" tools:ignore="UnusedResources">@color/photonViolet90</color>
<color name="fx_mobile_icon_color_button" tools:ignore="UnusedResources">@color/photonInk20</color>
<color name="fx_mobile_icon_color_warning" tools:ignore="UnusedResources">@color/photonRed80</color>
<color name="fx_mobile_icon_color_accent_violet" tools:ignore="UnusedResources">@color/photonViolet60</color>
<color name="fx_mobile_icon_color_accent_blue" tools:ignore="UnusedResources">@color/photonBlue60</color>
@ -88,7 +88,7 @@
<!-- Form parts -->
<color name="fx_mobile_border_color_default" tools:ignore="UnusedResources">@color/photonDarkGrey90</color>
<!-- Selected tab -->
<color name="fx_mobile_border_color_selected" tools:ignore="UnusedResources">@color/photonViolet90</color>
<color name="fx_mobile_border_color_selected" tools:ignore="UnusedResources">@color/photonInk20</color>
<!-- Form parts -->
<color name="fx_mobile_border_color_disabled" tools:ignore="UnusedResources">@color/photonLightGrey70</color>
<!-- Form parts -->

Loading…
Cancel
Save