]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blob - app/src/main/res/values-v27/styles.xml
Replace DOM Storage with Bookmarks for additional app bar icons. https://redmine...
[PrivacyBrowserAndroid.git] / app / src / main / res / values-v27 / 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="android:navigationBarColor">?android:attr/colorBackground</item>
25         <item name="android:statusBarColor">?android:attr/colorBackground</item>
26         <item name="android:windowLightNavigationBar">true</item>
27         <item name="android:windowLightStatusBar">true</item>
28         <item name="windowActionModeOverlay">true</item>  <!-- `windowActionModeOverlay` makes the contextual app bar cover the support app bar. -->
29
30         <!-- Colors. -->
31         <item name="android:actionModeBackground">?android:attr/colorBackground</item>
32         <item name="android:textColorHighlight">@color/blue_200</item>
33         <item name="blueTextColor">@color/blue_700</item>
34         <item name="blueTitleTextColor">@color/blue_900</item>
35         <item name="buttonBackgroundColorSelector">@color/button_background_color_selector_day</item>
36         <item name="buttonTextColorSelector">@color/button_text_color_selector_day</item>
37         <item name="colorAccent">@color/blue_700</item>
38         <item name="redTextColor">@color/red_a700</item>
39
40         <!-- Tints. -->
41         <item name="addTabIconTintColor">@color/gray_925</item>
42         <item name="domainSettingsIconTintColor">@color/blue_800</item>
43         <item name="fabIconTintColor">@color/white</item>
44         <item name="findOnPageIconTintColor">@color/blue_800</item>
45         <item name="navigationIconTintColor">@color/blue_800</item>
46         <item name="progressTintColor">@color/blue_700</item>
47
48         <!-- Drawables. -->
49         <item name="listSelectorDrawable">@drawable/list_selector_day</item>
50
51         <!-- Main App Bar Icons. -->
52         <item name="bookmarksAppBarIcon">@drawable/bookmarks_day</item>
53
54         <!-- Options Icons. -->
55         <item name="aboutIcon">@drawable/about_day</item>
56         <item name="closeIcon">@drawable/close_day</item>
57         <item name="copyIcon">@drawable/copy_day</item>
58         <item name="deleteIcon">@drawable/delete_day</item>
59         <item name="editIcon">@drawable/edit_day</item>
60         <item name="moveToFolderIcon">@drawable/move_to_folder_day</item>
61         <item name="saveIcon">@drawable/save_day</item>
62         <item name="saveImageIcon">@drawable/images_options_day</item>
63         <item name="saveTextIcon">@drawable/save_text_day</item>
64         <item name="selectAllIcon">@drawable/select_all_day</item>
65         <item name="shareIcon">@drawable/share_day</item>
66         <item name="sortIcon">@drawable/sort_day</item>
67
68         <!-- Dialog Icons. -->
69         <item name="aboutBlueIcon">@drawable/about_blue_day</item>
70         <item name="domainsBlueIcon">@drawable/domains_day</item>
71         <item name="fontSizeBlueIcon">@drawable/font_size_day</item>
72         <item name="lockBlueIcon">@drawable/lock_day</item>
73     </style>
74
75     <style name="PrivacyBrowserAppBar" parent="ThemeOverlay.AppCompat.DayNight.ActionBar" >
76         <item name="android:textColorHighlight">@color/blue_200</item>
77     </style>
78
79     <style name="PrivacyBrowserSettings" parent="Theme.AppCompat.DayNight" >
80         <!-- Main Items. -->
81         <item name="android:navigationBarColor">?android:attr/colorBackground</item>
82         <item name="android:statusBarColor">?android:attr/colorBackground</item>
83         <item name="android:windowLightNavigationBar">?attr/isLightTheme</item>
84         <item name="android:windowLightStatusBar">?attr/isLightTheme</item>
85
86         <!-- Colors. -->
87         <item name="colorAccent">@color/blue_700</item>
88         <item name="colorPrimary">?android:attr/colorBackground</item>  <!-- `colorPrimary` sets the background color of the app bar. -->
89
90         <!-- Icons. -->
91         <item name="appThemeIcon">@drawable/app_theme_day</item>
92         <item name="downloadIcon">@drawable/downloads_enabled_day</item>
93         <item name="fontSizeIcon">@drawable/font_size_day</item>
94         <item name="homepageIcon">@drawable/home_enabled_day</item>
95         <item name="searchIcon">@drawable/search_enabled_day</item>
96         <item name="userAgentIcon">@drawable/user_agent_day</item>
97     </style>
98
99     <style name="PrivacyBrowserAlertDialog" parent="Theme.AppCompat.DayNight.Dialog.Alert" >
100         <item name="colorAccent">@color/blue_700</item>
101     </style>
102 </resources>