mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-17 15:26:23 +00:00
[fenix] For https://github.com/mozilla-mobile/fenix/issues/22701 - Replace whats_new_notification_color with fx_mobile_icon_color_notice color token
This commit is contained in:
parent
2400e44396
commit
e7f3dd478a
@ -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…
Reference in New Issue
Block a user