For #22793 - Rename fx_mobile_icon_color_notice color token to fx_mobile_icon_color_information

upstream-sync
Gabriel Luong 2 years ago committed by mergify[bot]
parent fee26e62a8
commit 543f2000af

@ -124,7 +124,7 @@ class BrowserToolbarView(
trackingProtection = primaryTextColor,
highlight = ContextCompat.getColor(
context,
R.color.fx_mobile_icon_color_notice
R.color.fx_mobile_icon_color_information
)
)

@ -181,7 +181,7 @@ open class DefaultToolbarMenu(
iconTintColorResource = primaryTextColor(),
highlight = BrowserMenuHighlight.LowPriority(
label = context.getString(R.string.browser_menu_install_on_homescreen),
notificationTint = getColor(context, R.color.fx_mobile_icon_color_notice)
notificationTint = getColor(context, R.color.fx_mobile_icon_color_information)
),
isHighlighted = {
!context.settings().installPwaOpened
@ -250,7 +250,7 @@ open class DefaultToolbarMenu(
iconTintColorResource = primaryTextColor(),
highlight = BrowserMenuHighlight.LowPriority(
label = context.getString(R.string.browser_menu_open_app_link),
notificationTint = getColor(context, R.color.fx_mobile_icon_color_notice)
notificationTint = getColor(context, R.color.fx_mobile_icon_color_information)
),
isHighlighted = { !context.settings().openInAppOpened }
) {

@ -154,7 +154,7 @@ class CustomTabToolbarMenu(
iconTintColorResource = primaryTextColor(),
highlight = BrowserMenuHighlight.LowPriority(
label = context.getString(R.string.browser_menu_open_app_link),
notificationTint = getColor(context, R.color.fx_mobile_icon_color_notice)
notificationTint = getColor(context, R.color.fx_mobile_icon_color_information)
),
isHighlighted = { !context.settings().openInAppOpened }
) {

@ -153,7 +153,7 @@ class HomeMenu(
R.drawable.ic_whats_new,
iconTintColorResource = primaryTextColor,
highlight = BrowserMenuHighlight.LowPriority(
notificationTint = getColor(context, R.color.fx_mobile_icon_color_notice)
notificationTint = getColor(context, R.color.fx_mobile_icon_color_information)
),
isHighlighted = { WhatsNew.shouldHighlightWhatsNew(context) }
) {

@ -65,8 +65,8 @@
<color name="fx_mobile_icon_color_disabled" tools:ignore="UnusedResources">@color/photonLightGrey70</color>
<!-- Icon inverted (on color) -->
<color name="fx_mobile_icon_color_inverted" tools:ignore="UnusedResources">@color/photonWhite</color>
<!-- New -->
<color name="fx_mobile_icon_color_notice">@color/photonBlue30</color>
<!-- Information -->
<color name="fx_mobile_icon_color_information">@color/photonBlue30</color>
<!-- Icon button -->
<color name="fx_mobile_icon_color_button" tools:ignore="UnusedResources">@color/photonLightGrey05</color>
<color name="fx_mobile_icon_color_warning" tools:ignore="UnusedResources">@color/photonRed40</color>

@ -65,8 +65,8 @@
<color name="fx_mobile_icon_color_disabled" tools:ignore="UnusedResources">@color/photonLightGrey70</color>
<!-- Icon inverted (on color) -->
<color name="fx_mobile_icon_color_inverted" tools:ignore="UnusedResources">@color/photonWhite</color>
<!-- New -->
<color name="fx_mobile_icon_color_notice">@color/photonBlue30</color>
<!-- 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_warning" tools:ignore="UnusedResources">@color/photonRed80</color>

Loading…
Cancel
Save