[fenix] For https://github.com/mozilla-mobile/fenix/issues/22965 - Remove Control Active color token

pull/600/head
Gabriel Luong 3 years ago committed by mergify[bot]
parent 23dfc29dfd
commit 3079590c50

@ -57,7 +57,6 @@ private val darkColorPalette = FirefoxColors(
formSelected = PhotonColors.Violet40, formSelected = PhotonColors.Violet40,
formSurface = PhotonColors.DarkGrey05, formSurface = PhotonColors.DarkGrey05,
formDisabled = PhotonColors.DarkGrey05, formDisabled = PhotonColors.DarkGrey05,
controlActive = PhotonColors.LightGrey90,
textPrimary = PhotonColors.LightGrey05, textPrimary = PhotonColors.LightGrey05,
textSecondary = PhotonColors.LightGrey40, textSecondary = PhotonColors.LightGrey40,
textDisabled = PhotonColors.LightGrey05A40, textDisabled = PhotonColors.LightGrey05A40,
@ -103,7 +102,6 @@ private val lightColorPalette = FirefoxColors(
formSelected = PhotonColors.Violet90, formSelected = PhotonColors.Violet90,
formSurface = PhotonColors.LightGrey50, formSurface = PhotonColors.LightGrey50,
formDisabled = PhotonColors.LightGrey50, formDisabled = PhotonColors.LightGrey50,
controlActive = PhotonColors.LightGrey50,
textPrimary = PhotonColors.DarkGrey90, textPrimary = PhotonColors.DarkGrey90,
textSecondary = PhotonColors.DarkGrey05, textSecondary = PhotonColors.DarkGrey05,
textDisabled = PhotonColors.DarkGrey90A40, textDisabled = PhotonColors.DarkGrey90A40,
@ -154,7 +152,6 @@ class FirefoxColors(
formSelected: Color, formSelected: Color,
formSurface: Color, formSurface: Color,
formDisabled: Color, formDisabled: Color,
controlActive: Color,
textPrimary: Color, textPrimary: Color,
textSecondary: Color, textSecondary: Color,
textDisabled: Color, textDisabled: Color,
@ -232,9 +229,6 @@ class FirefoxColors(
// Checkbox disabled, Radio disabled // Checkbox disabled, Radio disabled
var formDisabled by mutableStateOf(formDisabled) var formDisabled by mutableStateOf(formDisabled)
private set private set
// Indicator active
var controlActive by mutableStateOf(controlActive)
private set
// Text // Text
@ -333,7 +327,6 @@ class FirefoxColors(
formSelected = other.formSelected formSelected = other.formSelected
formSurface = other.formSurface formSurface = other.formSurface
formDisabled = other.formDisabled formDisabled = other.formDisabled
controlActive = other.controlActive
textPrimary = other.textPrimary textPrimary = other.textPrimary
textSecondary = other.textSecondary textSecondary = other.textSecondary
textDisabled = other.textDisabled textDisabled = other.textDisabled
@ -379,7 +372,6 @@ class FirefoxColors(
formSelected = formSelected, formSelected = formSelected,
formSurface = formSurface, formSurface = formSurface,
formDisabled = formDisabled, formDisabled = formDisabled,
controlActive = controlActive,
textPrimary = textPrimary, textPrimary = textPrimary,
textSecondary = textSecondary, textSecondary = textSecondary,
textDisabled = textDisabled, textDisabled = textDisabled,

@ -37,8 +37,6 @@
<color name="fx_mobile_action_color_form_surface" tools:ignore="UnusedResources">@color/photonDarkGrey05</color> <color name="fx_mobile_action_color_form_surface" tools:ignore="UnusedResources">@color/photonDarkGrey05</color>
<!-- Checkbox disabled, Radio disabled --> <!-- Checkbox disabled, Radio disabled -->
<color name="fx_mobile_action_color_form_disabled" tools:ignore="UnusedResources">@color/photonDarkGrey05</color> <color name="fx_mobile_action_color_form_disabled" tools:ignore="UnusedResources">@color/photonDarkGrey05</color>
<!-- Indicator active -->
<color name="fx_mobile_action_color_control_active" tools:ignore="UnusedResources">@color/photonLightGrey90</color>
<!-- Text --> <!-- Text -->
<!-- Primary text --> <!-- Primary text -->

@ -37,8 +37,6 @@
<color name="fx_mobile_action_color_form_surface" tools:ignore="UnusedResources">@color/photonLightGrey50</color> <color name="fx_mobile_action_color_form_surface" tools:ignore="UnusedResources">@color/photonLightGrey50</color>
<!-- Checkbox disabled, Radio disabled --> <!-- Checkbox disabled, Radio disabled -->
<color name="fx_mobile_action_color_form_disabled" tools:ignore="UnusedResources">@color/photonLightGrey50</color> <color name="fx_mobile_action_color_form_disabled" tools:ignore="UnusedResources">@color/photonLightGrey50</color>
<!-- Indicator active -->
<color name="fx_mobile_action_color_control_active" tools:ignore="UnusedResources">@color/photonLightGrey50</color>
<!-- Text --> <!-- Text -->
<!-- Primary text --> <!-- Primary text -->

Loading…
Cancel
Save