2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-15 18:12:54 +00:00

For #22793 - Swap the colors for Gradient Start/End design tokens

This commit is contained in:
Gabriel Luong 2021-12-10 13:48:51 -05:00 committed by mergify[bot]
parent 29fc9c4ea5
commit 35454ec674
3 changed files with 8 additions and 8 deletions

View File

@ -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,

View File

@ -20,9 +20,9 @@
<color name="fx_mobile_layer_color_scrim_start" tools:ignore="UnusedResources">@color/photonDarkGrey90</color>
<color name="fx_mobile_layer_color_scrim_end" tools:ignore="UnusedResources">@color/photonDarkGrey30</color>
<!-- Tooltip -->
<color name="fx_mobile_layer_color_gradient_start" tools:ignore="UnusedResources">@color/photonViolet40</color>
<color name="fx_mobile_layer_color_gradient_start" tools:ignore="UnusedResources">@color/photonViolet70</color>
<!-- Tooltip -->
<color name="fx_mobile_layer_color_gradient_end" tools:ignore="UnusedResources">@color/photonViolet70</color>
<color name="fx_mobile_layer_color_gradient_end" tools:ignore="UnusedResources">@color/photonViolet40</color>
<!-- Action -->
<!-- Primary button, Snackbar, Floating action button, Controls -->

View File

@ -20,9 +20,9 @@
<color name="fx_mobile_layer_color_scrim_start" tools:ignore="UnusedResources">@color/photonDarkGrey90</color>
<color name="fx_mobile_layer_color_scrim_end" tools:ignore="UnusedResources">@color/photonDarkGrey30</color>
<!-- Tooltip -->
<color name="fx_mobile_layer_color_gradient_start" tools:ignore="UnusedResources">@color/photonViolet40</color>
<color name="fx_mobile_layer_color_gradient_start" tools:ignore="UnusedResources">@color/photonViolet70</color>
<!-- Tooltip -->
<color name="fx_mobile_layer_color_gradient_end" tools:ignore="UnusedResources">@color/photonViolet70</color>
<color name="fx_mobile_layer_color_gradient_end" tools:ignore="UnusedResources">@color/photonViolet40</color>
<!-- Action -->
<!-- Primary button, Snackbar, Floating action button, Controls -->