For #22701 - Replace whats_new_notification_color with fx_mobile_icon_color_notice color token

upstream-sync
Gabriel Luong 3 years ago committed by mergify[bot]
parent a4894256f9
commit 596072729d

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

@ -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.whats_new_notification_color)
notificationTint = getColor(context, R.color.fx_mobile_icon_color_notice)
),
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.whats_new_notification_color)
notificationTint = getColor(context, R.color.fx_mobile_icon_color_notice)
),
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.whats_new_notification_color)
notificationTint = getColor(context, R.color.fx_mobile_icon_color_notice)
),
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.whats_new_notification_color)
notificationTint = getColor(context, R.color.fx_mobile_icon_color_notice)
),
isHighlighted = { WhatsNew.shouldHighlightWhatsNew(context) }
) {

@ -66,7 +66,7 @@
<!-- 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" tools:ignore="UnusedResources">@color/photonBlue30</color>
<color name="fx_mobile_icon_color_notice">@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>

@ -66,7 +66,7 @@
<!-- 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" tools:ignore="UnusedResources">@color/photonBlue30</color>
<color name="fx_mobile_icon_color_notice">@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>
@ -309,9 +309,6 @@
<!-- Private Browsing Mode Persistent Notification -->
<color name="pbm_notification_color">@color/photonViolet70</color>
<!-- Notification Color -->
<color name="whats_new_notification_color">@color/photonBlue30</color>
<!-- Static Shortcut Background Color -->
<color name="static_shortcut_background">#F5F5F5</color>

Loading…
Cancel
Save