For #23086 - Update the dark theme colors of Action Primary to Violet60

- Updates the description of Action Primary to include "Chip selected"
This commit is contained in:
Gabriel Luong 2022-01-06 18:03:12 -05:00 committed by mergify[bot]
parent 65b84c10bc
commit 11e0df20df
3 changed files with 5 additions and 5 deletions

View File

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

View File

@ -25,8 +25,8 @@
<color name="fx_mobile_layer_color_gradient_end" tools:ignore="UnusedResources">@color/photonViolet40</color>
<!-- Action -->
<!-- Primary button, Snackbar, Floating action button, Controls -->
<color name="fx_mobile_action_color_primary" tools:ignore="UnusedResources">@color/photonViolet70</color>
<!-- Primary button, Snackbar, Floating action button, Chip selected -->
<color name="fx_mobile_action_color_primary" tools:ignore="UnusedResources">@color/photonViolet60</color>
<!-- Secondary button, Chip -->
<color name="fx_mobile_action_color_secondary" tools:ignore="UnusedResources">@color/photonDarkGrey10</color>
<!-- Checkbox default, Radio button default -->

View File

@ -25,7 +25,7 @@
<color name="fx_mobile_layer_color_gradient_end" tools:ignore="UnusedResources">@color/photonViolet40</color>
<!-- Action -->
<!-- Primary button, Snackbar, Floating action button, Controls -->
<!-- Primary button, Snackbar, Floating action button, Chip selected -->
<color name="fx_mobile_action_color_primary" tools:ignore="UnusedResources">@color/photonInk20</color>
<!-- Secondary button, Chip -->
<color name="fx_mobile_action_color_secondary" tools:ignore="UnusedResources">@color/photonLightGrey40</color>