]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blob - app/src/main/res/values-v23/styles.xml
Use WebView's new built-in dark theme. https://redmine.stoutner.com/issues/366
[PrivacyBrowserAndroid.git] / app / src / main / res / values-v23 / 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:statusBarColor">?android:attr/colorBackground</item>
25         <item name="android:windowLightStatusBar">true</item>
26         <item name="windowActionModeOverlay">true</item>  <!-- `windowActionModeOverlay` makes the contextual app bar cover the support app bar. -->
27
28         <!-- Colors. -->
29         <item name="android:actionModeBackground">?android:attr/colorBackground</item>
30         <item name="android:textColorHighlight">@color/blue_200</item>
31         <item name="blueTextColor">@color/blue_700</item>
32         <item name="blueTitleTextColor">@color/blue_900</item>
33         <item name="buttonBackgroundColorSelector">@color/button_background_color_selector_day</item>
34         <item name="buttonTextColorSelector">@color/button_text_color_selector_day</item>
35         <item name="colorAccent">@color/blue_700</item>
36         <item name="redTextColor">@color/red_a700</item>
37
38         <!-- Tints. -->
39         <item name="addTabIconTintColor">@color/gray_700</item>
40         <item name="domainSettingsIconTintColor">@color/blue_700</item>
41         <item name="fabIconTintColor">@color/white</item>
42         <item name="findOnPageIconTintColor">@color/blue_800</item>
43         <item name="navigationIconTintColor">@color/blue_800</item>
44         <item name="progressTintColor">@color/blue_700</item>
45
46         <!-- Drawables. -->
47         <item name="listSelectorDrawable">@drawable/list_selector_day</item>
48
49         <!-- Icons. -->
50         <item name="aboutIcon">@drawable/about_day</item>
51         <item name="closeIcon">@drawable/close_day</item>
52         <item name="copyIcon">@drawable/copy_day</item>
53         <item name="deleteIcon">@drawable/delete_day</item>
54         <item name="domainsIcon">@drawable/domains_day</item>
55         <item name="editIcon">@drawable/edit_day</item>
56         <item name="moveToFolderIcon">@drawable/move_to_folder_day</item>
57         <item name="saveIcon">@drawable/save_day</item>
58         <item name="selectAllIcon">@drawable/select_all_day</item>
59         <item name="sortIcon">@drawable/sort_day</item>
60     </style>
61
62     <style name="PrivacyBrowserSettings" parent="Theme.AppCompat.DayNight" >
63         <!-- Main Items. -->
64         <item name="android:statusBarColor">?android:attr/colorBackground</item>
65         <item name="android:windowLightStatusBar">?attr/isLightTheme</item>
66
67         <!-- Colors. -->
68         <item name="colorAccent">@color/blue_700</item>
69         <item name="colorPrimary">?android:attr/colorBackground</item>  <!-- `colorPrimary` sets the background color of the app bar. -->
70
71         <!-- Icons. -->
72         <item name="appThemeIcon">@drawable/app_theme_day</item>
73         <item name="downloadIcon">@drawable/downloads_enabled_day</item>
74         <item name="fontSizeIcon">@drawable/font_size_day</item>
75         <item name="homepageIcon">@drawable/home_enabled_day</item>
76         <item name="searchIcon">@drawable/search_enabled_day</item>
77         <item name="userAgentIcon">@drawable/user_agent_day</item>
78     </style>
79
80     <style name="PrivacyBrowserAlertDialog" parent="Theme.AppCompat.DayNight.Dialog.Alert" >
81         <item name="colorAccent">@color/blue_700</item>
82     </style>
83 </resources>