For #12732: Match notification accent color with app theme

upstream-sync
hakkikaancaliskan 3 years ago committed by Arturo Mejia
parent 3bb074b133
commit 542bc89284

@ -6,9 +6,11 @@ package org.mozilla.fenix.downloads
import mozilla.components.browser.state.store.BrowserStore
import mozilla.components.feature.downloads.AbstractFetchDownloadService
import org.mozilla.fenix.R
import org.mozilla.fenix.ext.components
class DownloadService : AbstractFetchDownloadService() {
override val httpClient by lazy { components.core.client }
override val store: BrowserStore by lazy { components.core.store }
override val style: Style by lazy { Style(R.color.notification_accent_color_normal_theme) }
}

@ -52,6 +52,7 @@
<color name="search_suggestion_indicator_icon_bookmark_color_normal_theme">@color/search_suggestion_indicator_icon_bookmark_color_dark_theme</color>
<color name="select_login_header_normal_theme">@color/accent_high_contrast_dark_theme</color>
<color name="preference_section_header_normal_theme">@color/preference_section_header_dark_theme</color>
<color name="notification_accent_color_normal_theme">@color/accent_high_contrast_dark_theme</color>
<color name="mozac_widget_favicon_background_normal_theme">@color/mozac_widget_favicon_background_dark_theme</color>
<color name="mozac_widget_favicon_border_normal_theme">@color/mozac_widget_favicon_border_dark_theme</color>

@ -257,6 +257,7 @@
<color name="select_login_header_normal_theme">@color/accent_bright_light_theme</color>
<color name="mozac_widget_favicon_background_normal_theme">@color/mozac_widget_favicon_background_light_theme</color>
<color name="mozac_widget_favicon_border_normal_theme">@color/mozac_widget_favicon_border_light_theme</color>
<color name="notification_accent_color_normal_theme">@color/accent_bright_light_theme</color>
<!-- Tab tray -->
<color name="tab_tray_item_text_normal_theme">@color/tab_tray_item_text_light_theme</color>

Loading…
Cancel
Save