]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blob - app/src/main/res/values/styles.xml
Switch to the new Day/Night theme. https://redmine.stoutner.com/issues/522
[PrivacyBrowserAndroid.git] / app / src / main / res / values / styles.xml
1 <?xml version="1.0" encoding="utf-8"?>
2
3 <!--
4   Copyright © 2015-2020 Soren Stoutner <soren@stoutner.com>.
5
6   This file is part of Privacy Browser <https://www.stoutner.com/privacy-browser>.
7
8   Privacy Browser is free software: you can redistribute it and/or modify
9   it under the terms of the GNU General Public License as published by
10   the Free Software Foundation, either version 3 of the License, or
11   (at your option) any later version.
12
13   Privacy Browser is distributed in the hope that it will be useful,
14   but WITHOUT ANY WARRANTY; without even the implied warranty of
15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16   GNU General Public License for more details.
17
18   You should have received a copy of the GNU General Public License
19   along with Privacy Browser.  If not, see <http://www.gnu.org/licenses/>. -->
20
21 <resources>
22     <style name="PrivacyBrowser" parent="Theme.AppCompat.DayNight.NoActionBar" >
23         <!-- Main Items. -->
24         <item name="windowActionModeOverlay">true</item>  <!-- `windowActionModeOverlay` makes the contextual app bar cover the support app bar. -->
25
26         <!-- Colors. -->
27         <item name="android:actionModeBackground">?android:attr/colorBackground</item>
28         <item name="android:textColorHighlight">@color/blue_200</item>
29         <item name="blueTextColor">@color/blue_700</item>
30         <item name="blueTitleTextColor">@color/blue_900</item>
31         <item name="buttonBackgroundColorSelector">@color/button_background_color_selector_day</item>
32         <item name="buttonTextColorSelector">@color/button_text_color_selector_day</item>
33         <item name="colorAccent">@color/blue_700</item>
34         <item name="domainSettingsIconTintColor">@color/blue_800</item>
35         <item name="redText">@color/red_a700</item>
36         <item name="sslTitle">@color/blue_900</item>
37
38         <!-- Tints. -->
39         <item name="addTabIconTintColor">@color/gray_700</item>
40         <item name="findOnPageIconTintColor">@color/blue_800</item>
41         <item name="navigationIconTintColor">@color/blue_800</item>
42         <item name="progressTintColor">@color/blue_700</item>
43
44         <!-- Drawables. -->
45         <item name="listSelectorDrawable">@drawable/list_selector_day</item>
46
47         <!-- Icons. -->
48         <item name="aboutIcon">@drawable/about_day</item>
49         <item name="addIcon">@drawable/add_day</item>
50         <item name="bookmarksIcon">@drawable/bookmarks_day</item>
51         <item name="clearIcon">@drawable/clear_day</item>
52         <item name="copyIcon">@drawable/copy_day</item>
53         <item name="createBookmarkIcon">@drawable/create_bookmark_day</item>
54         <item name="createFolderIcon">@drawable/create_folder_day</item>
55         <item name="deleteIcon">@drawable/delete_day</item>
56         <item name="editIcon">@drawable/edit_day</item>
57         <item name="moveToFolderIcon">@drawable/move_to_folder_day</item>
58         <item name="saveIcon">@drawable/save_day</item>
59         <item name="selectAllIcon">@drawable/select_all_day</item>
60         <item name="sortIcon">@drawable/sort_day</item>
61     </style>
62
63     <style name="PrivacyBrowserSettings" parent="Theme.AppCompat.DayNight" >
64         <!-- Colors. -->
65         <item name="colorAccent">@color/blue_700</item>
66         <item name="colorPrimary">?android:attr/colorBackground</item>  <!-- `colorPrimary` sets the background color of the app bar. -->
67
68         <!-- Icons. -->
69         <item name="appThemeIcon">@drawable/theme_day</item>
70         <item name="downloadIcon">@drawable/downloads_enabled_day</item>
71         <item name="fontSizeIcon">@drawable/font_size_day</item>
72         <item name="homepageIcon">@drawable/home_enabled_day</item>
73         <item name="searchIcon">@drawable/search_enabled_day</item>
74         <item name="userAgentIcon">@drawable/user_agent_day</item>
75     </style>
76
77     <style name="PrivacyBrowserAlertDialog" parent="Theme.AppCompat.DayNight.Dialog.Alert" >
78         <item name="colorAccent">@color/blue_700</item>
79     </style>
80 </resources>