1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
3 - License, v. 2.0. If a copy of the MPL was not distributed with this
4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
5 <resources xmlns:tools="http://schemas.android.com/tools">
6 <!-- Design system color variables -->
9 <!-- Default Screen, Search, Frontlayer background -->
10 <color name="fx_mobile_layer_color_1" tools:ignore="UnusedResources">@color/photonLightGrey20</color>
11 <!-- Card background, Menu background -->
12 <color name="fx_mobile_layer_color_2" tools:ignore="UnusedResources">@color/photonWhite</color>
13 <!-- App Bar Top, App Bar Bottom, Frontlayer header -->
14 <color name="fx_mobile_layer_color_3" tools:ignore="UnusedResources">@color/photonLightGrey10</color>
15 <!-- Frontlayer header (edit), Header (edit) -->
16 <color name="fx_mobile_layer_color_accent" tools:ignore="UnusedResources">@color/photonViolet90</color>
18 <color name="fx_mobile_layer_color_accent_nonopaque" tools:ignore="UnusedResources">@color/photonViolet90A20</color>
19 <color name="fx_mobile_layer_color_scrim" tools:ignore="UnusedResources">@color/photonDarkGrey05A45</color>
20 <color name="fx_mobile_layer_color_scrim_start">@color/photonDarkGrey90A96</color>
21 <color name="fx_mobile_layer_color_scrim_end">@color/photonDarkGrey30A96</color>
23 <color name="fx_mobile_layer_color_gradient_start" tools:ignore="UnusedResources">@color/photonViolet70</color>
25 <color name="fx_mobile_layer_color_gradient_end" tools:ignore="UnusedResources">@color/photonViolet40</color>
28 <!-- Primary button, Snackbar, Floating action button, Controls -->
29 <color name="fx_mobile_action_color_primary" tools:ignore="UnusedResources">@color/photonViolet90</color>
30 <!-- Secondary button, Chip -->
31 <color name="fx_mobile_action_color_secondary" tools:ignore="UnusedResources">@color/photonLightGrey40</color>
32 <!-- Checkbox default, Radio button default -->
33 <color name="fx_mobile_action_color_form_default" tools:ignore="UnusedResources">@color/photonDarkGrey90</color>
34 <!-- Checkbox selected, Radio button selected -->
35 <color name="fx_mobile_action_color_form_selected" tools:ignore="UnusedResources">@color/photonViolet90</color>
36 <!-- Switch background OFF, Switch background ON -->
37 <color name="fx_mobile_action_color_form_surface" tools:ignore="UnusedResources">@color/photonLightGrey50</color>
38 <!-- Checkbox disabled, Radio disabled -->
39 <color name="fx_mobile_action_color_form_disabled" tools:ignore="UnusedResources">@color/photonLightGrey50</color>
40 <!-- Indicator active -->
41 <color name="fx_mobile_action_color_control_active" tools:ignore="UnusedResources">@color/photonLightGrey50</color>
45 <color name="fx_mobile_text_color_primary">@color/photonDarkGrey90</color>
46 <!-- Secondary text -->
47 <color name="fx_mobile_text_color_secondary" tools:ignore="UnusedResources">@color/photonDarkGrey05</color>
48 <!-- Disabled text -->
49 <color name="fx_mobile_text_color_disabled" tools:ignore="UnusedResources">@color/photonDarkGrey90A40</color>
51 <color name="fx_mobile_text_color_warning" tools:ignore="UnusedResources">@color/photonRed80</color>
53 <color name="fx_mobile_text_color_action">@color/photonViolet70</color>
54 <!-- Small heading -->
55 <color name="fx_mobile_text_color_accent" tools:ignore="UnusedResources">@color/photonViolet90</color>
56 <!-- Text/Icon inverted (on color) -->
57 <color name="fx_mobile_text_color_inverted" tools:ignore="UnusedResources">@color/photonWhite</color>
61 <color name="fx_mobile_icon_color_primary" tools:ignore="UnusedResources">@color/photonDarkGrey90</color>
62 <!-- Secondary icon -->
63 <color name="fx_mobile_icon_color_secondary" tools:ignore="UnusedResources">@color/photonDarkGrey05</color>
64 <!-- Disabled icon -->
65 <color name="fx_mobile_icon_color_disabled" tools:ignore="UnusedResources">@color/photonLightGrey70</color>
66 <!-- Icon inverted (on color) -->
67 <color name="fx_mobile_icon_color_inverted" tools:ignore="UnusedResources">@color/photonWhite</color>
69 <color name="fx_mobile_icon_color_information">@color/photonBlue30</color>
71 <color name="fx_mobile_icon_color_button" tools:ignore="UnusedResources">@color/photonViolet90</color>
72 <color name="fx_mobile_icon_color_warning" tools:ignore="UnusedResources">@color/photonRed80</color>
73 <color name="fx_mobile_icon_color_accent_violet" tools:ignore="UnusedResources">@color/photonViolet60</color>
74 <color name="fx_mobile_icon_color_accent_blue" tools:ignore="UnusedResources">@color/photonBlue60</color>
75 <color name="fx_mobile_icon_color_accent_pink" tools:ignore="UnusedResources">@color/photonPink60</color>
76 <color name="fx_mobile_icon_color_accent_green" tools:ignore="UnusedResources">@color/photonGreen60</color>
77 <color name="fx_mobile_icon_color_accent_yellow" tools:ignore="UnusedResources">@color/photonYellow60</color>
78 <!-- Reader, ETP Shield -->
79 <color name="fx_mobile_icon_color_gradient_start">@color/photonViolet50</color>
80 <!-- Reader, ETP Shield -->
81 <color name="fx_mobile_icon_color_gradient_end">@color/photonBlue60</color>
85 <color name="fx_mobile_border_color_default" tools:ignore="UnusedResources">@color/photonDarkGrey90</color>
87 <color name="fx_mobile_border_color_selected" tools:ignore="UnusedResources">@color/photonViolet90</color>
89 <color name="fx_mobile_border_color_disabled" tools:ignore="UnusedResources">@color/photonLightGrey70</color>
91 <color name="fx_mobile_border_color_warning" tools:ignore="UnusedResources">@color/photonRed80</color>
92 <color name="fx_mobile_border_color_divider" tools:ignore="UnusedResources">@color/photonLightGrey40</color>
94 <!-- Private theme color variables -->
97 <!-- Default Background, Search Background, Menu Background, App Bar Top, App Bar Bottom, Dialogs -->
98 <color name="fx_mobile_private_layer_color_1" tools:ignore="UnusedResources">@color/photonInk50</color>
101 <!-- Primary Button -->
102 <color name="fx_mobile_private_action_color_primary" tools:ignore="UnusedResources">@color/photonWhite</color>
104 <color name="fx_mobile_private_action_color_secondary" tools:ignore="UnusedResources">@color/photonInk50</color>
106 <color name="fx_mobile_private_action_color_tertiary" tools:ignore="UnusedResources">@color/photonViolet40</color>
107 <!-- Switch Background OFF -->
108 <color name="fx_mobile_private_action_color_control" tools:ignore="UnusedResources">@color/photonDarkGrey05</color>
109 <!-- Switch Background ON -->
110 <color name="fx_mobile_private_action_color_control_accent" tools:ignore="UnusedResources">@color/photonViolet40A30</color>
113 <color name="fx_mobile_private_text_color_primary">@color/photonLightGrey05</color>
114 <color name="fx_mobile_private_text_color_secondary" tools:ignore="UnusedResources">@color/photonLightGrey40</color>
115 <color name="fx_mobile_private_text_color_tertiary" tools:ignore="UnusedResources">@color/photonViolet40</color>
116 <color name="fx_mobile_private_text_color_disabled" tools:ignore="UnusedResources">@color/photonLightGrey05A40</color>
117 <color name="fx_mobile_private_text_color_action" tools:ignore="UnusedResources">@color/photonViolet40</color>
118 <color name="fx_mobile_private_text_color_warning_light" tools:ignore="UnusedResources">@color/photonRed80</color>
119 <color name="fx_mobile_private_text_color_warning_dark" tools:ignore="UnusedResources">@color/photonRed40</color>
122 <color name="fx_mobile_private_icon_color_primary" tools:ignore="UnusedResources">@color/photonLightGrey05</color>
123 <color name="fx_mobile_private_icon_color_secondary" tools:ignore="UnusedResources">@color/photonLightGrey40</color>
124 <color name="fx_mobile_private_icon_color_disabled" tools:ignore="UnusedResources">@color/photonLightGrey70</color>
125 <color name="fx_mobile_private_icon_color_inverted" tools:ignore="UnusedResources">@color/photonWhite</color>
126 <color name="fx_mobile_private_icon_color_notice" tools:ignore="UnusedResources">@color/photonBlue30</color>
129 <color name="fx_mobile_private_border_color_divider" tools:ignore="UnusedResources">@color/photonDarkGrey05</color>
131 <!-- Light theme color palette -->
132 <color name="primary_text_light_theme">@color/photonInk80</color>
133 <color name="contrast_text_light_theme">@color/photonLightGrey05</color>
134 <color name="foundation_light_theme">@color/photonLightGrey20</color>
135 <color name="accent_light_theme">@color/photonInk20</color>
136 <color name="accent_bright_light_theme">@color/photonViolet70</color>
137 <color name="about_link_normal_theme">@color/photonViolet70</color>
138 <color name="dark_grey_90_gradient_start">@color/photonDarkGrey90</color>
139 <color name="dark_grey_90_gradient_end">#0015141A</color>
140 <color name="preference_section_header_normal_theme">@color/accent_bright_light_theme</color>
142 <color name="mozac_widget_favicon_background_light_theme">@color/photonWhite</color>
143 <color name="mozac_widget_favicon_border_light_theme">@color/photonLightGrey30</color>
145 <!-- Dark theme color palette -->
146 <color name="above_dark_theme">@color/photonDarkGrey50</color>
147 <color name="accent_bright_dark_theme">@color/photonViolet70</color>
148 <color name="accent_high_contrast_dark_theme">@color/photonViolet40</color>
150 <color name="mozac_widget_favicon_background_dark_theme">@color/photonDarkGrey50</color>
151 <color name="mozac_widget_favicon_border_dark_theme">@color/photonDarkGrey10</color>
154 <color name="tab_tray_item_selected_background_dark_theme">#412E69</color>
156 <!-- Private theme color palette -->
157 <color name="secondary_text_private_theme">#A7A2B7</color>
158 <color name="contrast_text_private_theme">@color/photonLightGrey05</color>
159 <color name="caption_text_private_theme">@color/photonLightGrey70</color>
160 <color name="foundation_private_theme">#261E4B</color>
161 <color name="inset_private_theme">@color/photonInk50</color>
162 <color name="above_private_theme">@color/photonInk50</color>
163 <color name="accent_private_theme">@color/photonViolet50</color>
164 <color name="accent_bright_private_theme">@color/photonViolet70</color>
165 <color name="about_link_private_theme">@color/photonViolet40</color>
166 <color name="accent_high_contrast_private_theme">#AA71FF</color>
167 <color name="tab_ring_private_theme">#F565FF</color>
168 <color name="neutral_private_theme">@color/photonGrey20</color>
169 <color name="neutral_faded_private_theme">#1FFBFBFE</color>
170 <color name="destructive_private_theme">@color/photonRed40</color>
171 <color name="disabled_private_theme">#66FBFBFE</color>
172 <color name="scrimStart_private_theme">#F520123A</color>
173 <color name="scrimEnd_private_theme">#F515141A</color>
174 <color name="snackbar_private_theme">@color/accent_light_theme</color>
175 <color name="accent_on_dark_background_private_theme">@color/accent_high_contrast_private_theme</color>
176 <color name="toolbar_start_gradient_private_theme">#7529A7</color>
177 <color name="toolbar_center_gradient_private_theme">#492E85</color>
178 <color name="toolbar_end_gradient_private_theme">#383372</color>
179 <color name="toolbar_divider_color_private_theme">@color/photonDarkGrey10</color>
180 <color name="fill_link_from_clipboard_private_theme">@color/accent_on_dark_background_private_theme</color>
181 <color name="sync_disconnected_icon_fill_private_theme">@color/photonYellow70</color>
182 <color name="sync_disconnected_background_private_theme">#5B5846</color>
183 <color name="swipe_delete_background_private_theme">@color/accent_light_theme</color>
184 <color name="onboarding_card_background_start_gradient_private_theme">@color/photonViolet60</color>
185 <color name="onboarding_card_background_end_gradient_private_theme">@color/photonPurple50</color>
186 <color name="onboarding_illustration_selected_private_theme">@color/accent_private_theme</color>
187 <color name="onboarding_illustration_deselected_private_theme">#99FBFBFE</color>
188 <color name="add_on_private_browsing_exterior_circle_background_private_theme">@color/accent_private_theme</color>
189 <color name="add_on_private_browsing_interior_icon_background_private_theme">@color/photonWhite</color>
190 <color name="prompt_login_edit_text_cursor_color_private_theme">@color/photonViolet50</color>
192 <color name="mozac_widget_favicon_background_private_theme">@color/photonInk50</color>
193 <color name="mozac_widget_favicon_border_private_theme">@color/photonInk50</color>
196 <color name="tab_tray_item_media_background_private_theme">@color/photonViolet50</color>
199 <color name="tab_history_item_selected_background_private_theme">@color/tab_tray_item_selected_background_dark_theme</color>
201 <!-- Normal theme colors for light mode -->
202 <color name="primary_text_normal_theme">@color/primary_text_light_theme</color>
203 <color name="secondary_text_normal_theme">@color/photonGrey50</color>
204 <color name="contrast_text_normal_theme">@color/contrast_text_light_theme</color>
205 <color name="caption_text_normal_theme">@color/photonLightGrey90</color>
206 <color name="foundation_normal_theme">@color/foundation_light_theme</color>
207 <color name="above_normal_theme">@color/photonWhite</color>
208 <color name="inset_normal_theme">@color/photonLightGrey30</color>
209 <color name="accent_normal_theme">@color/accent_light_theme</color>
210 <color name="accent_bright_normal_theme">@color/accent_bright_light_theme</color>
211 <color name="accent_high_contrast_normal_theme">@color/accent_light_theme</color>
212 <color name="tab_ring_normal_theme">@color/accent_light_theme</color>
213 <color name="neutral_normal_theme">@color/photonGrey30</color>
214 <color name="neutral_faded_normal_theme">@color/photonGrey20</color>
215 <color name="destructive_normal_theme">@color/photonRed70</color>
216 <color name="disabled_normal_theme">#6620123A</color>
217 <color name="snackbar_normal_theme">@color/accent_light_theme</color>
218 <color name="accent_on_dark_background_normal_theme">@color/accent_bright_light_theme</color>
219 <color name="toolbar_start_gradient_normal_theme">@color/foundation_light_theme</color>
220 <color name="toolbar_center_gradient_normal_theme">@color/foundation_light_theme</color>
221 <color name="toolbar_end_gradient_normal_theme">@color/foundation_light_theme</color>
222 <color name="toolbar_divider_color_normal_theme">@color/photonLightGrey50</color>
223 <color name="fill_link_from_clipboard_normal_theme">@color/accent_light_theme</color>
224 <color name="sync_disconnected_icon_fill_normal_theme">@color/photonYellow70</color>
225 <color name="sync_disconnected_background_normal_theme">#FFFDE2</color>
226 <color name="swipe_delete_background_normal_theme">@color/photonLightGrey30</color>
227 <color name="onboarding_card_background_start_gradient_normal_theme">@color/accent_bright_dark_theme</color>
228 <color name="onboarding_card_background_end_gradient_normal_theme">@color/accent_high_contrast_dark_theme</color>
229 <color name="onboarding_illustration_selected_normal_theme">@color/accent_bright_light_theme</color>
230 <color name="onboarding_illustration_deselected_normal_theme">#9915141A</color>
231 <color name="add_on_private_browsing_exterior_circle_background_normal_theme">@color/accent_bright_light_theme</color>
232 <color name="add_on_private_browsing_interior_icon_background_normal_theme">@color/photonWhite</color>
233 <color name="prompt_login_edit_text_cursor_color_normal_theme">@color/photonInk20</color>
234 <color name="search_suggestion_indicator_icon_color_normal_theme">@color/photonGreen70</color>
235 <color name="search_suggestion_indicator_icon_bookmark_color_normal_theme">@color/photonBlue50</color>
236 <color name="select_login_header_normal_theme">@color/accent_bright_light_theme</color>
237 <color name="select_credit_card_header_normal_theme">@color/accent_bright_light_theme</color>
238 <color name="mozac_widget_favicon_background_normal_theme">@color/mozac_widget_favicon_background_light_theme</color>
239 <color name="mozac_widget_favicon_border_normal_theme">@color/mozac_widget_favicon_border_light_theme</color>
240 <color name="notification_accent_color_normal_theme">@color/accent_bright_light_theme</color>
241 <color name="menu_item_button_normal_theme">@color/accent_bright_light_theme</color>
242 <color name="recently_used_share_theme">@color/photonLightGrey30</color>
245 <color name="tab_tray_item_text_normal_theme">@color/photonInk80</color>
246 <color name="tab_tray_item_url_normal_theme">@color/photonDarkGrey05</color>
247 <color name="tab_tray_item_background_normal_theme">@color/photonLightGrey10</color>
248 <color name="tab_tray_item_selected_background_normal_theme">#E5DFF4</color>
249 <color name="tab_tray_item_divider_normal_theme">@color/photonLightGrey30</color>
250 <color name="tab_tray_item_media_background_normal_theme">@color/photonInk20</color>
251 <color name="tab_tray_heading_icon_normal_theme">@color/photonInk20</color>
252 <color name="tab_tray_heading_icon_inactive_normal_theme">@color/photonInk20A48</color>
253 <color name="tab_tray_heading_icon_menu_normal_theme">@color/accent_normal_theme</color>
254 <color name="tab_tray_item_thumbnail_background_normal_theme">@color/photonLightGrey10</color>
255 <color name="tab_tray_item_thumbnail_icon_normal_theme">@color/photonLightGrey60</color>
256 <color name="tab_tray_selected_mask_normal_theme">@color/photonViolet70A12</color>
259 <color name="tab_history_item_selected_background_normal_theme">@color/tab_tray_item_selected_background_normal_theme</color>
261 <!-- Bookmark buttons -->
262 <color name="bookmark_favicon_background">#DFDFE3</color>
264 <!-- Top site colors -->
265 <color name="top_site_pager_dot">@color/photonLightGrey30</color>
266 <color name="top_site_pager_dot_selected">@color/photonLightGrey50</color>
267 <color name="top_site_pin_icon_color">@color/photonDarkGrey80</color>
268 <color name="top_sites_border_color">@color/photonLightGrey30</color>
270 <!-- Collection icons-->
271 <color name="collection_icon_color_violet">@color/photonViolet60</color>
272 <color name="collection_icon_color_blue">@color/photonBlue60</color>
273 <color name="collection_icon_color_pink">@color/photonPink60</color>
274 <color name="collection_icon_color_green">@color/photonGreen60</color>
275 <color name="collection_icon_color_yellow">@color/photonYellow60</color>
276 <array name="collection_icon_colors">
277 <item>@color/collection_icon_color_violet</item>
278 <item>@color/collection_icon_color_blue</item>
279 <item>@color/collection_icon_color_pink</item>
280 <item>@color/collection_icon_color_green</item>
281 <item>@color/collection_icon_color_yellow</item>
284 <!-- Quick action buttons-->
285 <color name="quick_action_reader_appearance_icon">#482166</color>
287 <!-- Toggle Colors -->
288 <color name="toggle_off_knob_dark_theme">@color/photonLightGrey05</color>
289 <color name="toggle_off_track_dark_theme">@color/photonLightGrey05</color>
290 <color name="toggle_off_knob_normal_theme">@color/photonGrey10</color>
291 <color name="toggle_off_track_normal_theme">@color/photonDarkGrey90</color>
293 <!-- Misc colors applied universally-->
294 <color name="suggestion_highlight_color">#5C592ACB</color>
295 <color name="white_color">@color/photonLightGrey05</color>
296 <color name="neutral_text">@color/white_color</color>
297 <color name="text_scale_example_text_color">#232749</color>
298 <color name="sync_error_background_color">#FFF36E</color>
299 <color name="sync_error_text_color">@color/photonYellow90</color>
300 <color name="bottom_bar_shadow">#1A000000</color>
301 <color name="snackbar_error_color">#B52645</color>
303 <!-- Reader View colors -->
304 <color name="mozac_feature_readerview_text_color">@color/primary_text_light_theme</color>
305 <color name="mozac_feature_readerview_selected">@color/accent_high_contrast_dark_theme</color>
308 <color name="default_share_background">#E3E2E3</color>
309 <color name="device_type_desktop_background">#F091C3</color>
310 <color name="device_type_mobile_background">#D4C1FA</color>
311 <color name="device_foreground">@color/photonInk80</color>
313 <!-- Launcher Icon colors -->
314 <color name="default_launcher_background">#FDFDFD</color>
315 <color name="nightly_launcher_background">#220033</color>
316 <color name="debug_launcher_background">@color/photonInk20</color>
317 <color name="ic_launcher_background">@color/default_launcher_background</color>
319 <!-- Button Colors -->
320 <color name="grey_button_color">@color/photonLightGrey30</color>
321 <color name="destructive_button_text_color">@color/destructive_normal_theme</color>
322 <color name="button_text_color">@color/photonInk20</color>
324 <!-- Search Widget -->
325 <color name="search_widget_background">@color/white_color</color>
326 <color name="search_widget_mic_fill_color">@color/photonBlack</color>
327 <color name="search_widget_text">@color/photonGrey50</color>
329 <!-- Private Browsing Mode Persistent Notification -->
330 <color name="pbm_notification_color">@color/photonViolet70</color>
332 <!-- Static Shortcut Background Color -->
333 <color name="static_shortcut_background">#F5F5F5</color>
335 <!-- SearchView Hint Color -->
336 <color name="search_view_hint_color">@color/photonDarkGrey05</color>
338 <!-- Tab Counter colors -->
339 <color name="mozac_ui_tabcounter_default_tint">@color/primary_text_light_theme</color>
340 <color name="mozac_ui_tabcounter_default_text">@color/primary_text_light_theme</color>
342 <!-- App Spinners colors -->
343 <color name="spinner_selected_item">#1415141A</color>
345 <!-- Toolbar menu icon colors -->
346 <color name="toolbar_menu_transparent">@android:color/transparent</color>