]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blob - app/src/main/res/values/styles.xml
Add Night Theme dual tone blue text. https://redmine.stoutner.com/issues/878
[PrivacyBrowserAndroid.git] / app / src / main / res / values / styles.xml
1 <?xml version="1.0" encoding="utf-8"?>
2
3 <!--
4   Copyright © 2015-2022 Soren Stoutner <soren@stoutner.com>.
5
6   This file is part of Privacy Browser Android <https://www.stoutner.com/privacy-browser-android>.
7
8   Privacy Browser Android 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 Android 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 Android.  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
27         <!-- Colors. -->
28         <item name="android:actionModeBackground">?android:attr/colorBackground</item>
29         <item name="android:textColorHighlight">@color/blue_200</item>
30         <item name="buttonBackgroundColorSelector">@color/button_background_color_selector_day</item>
31         <item name="buttonTextColorSelector">@color/button_text_color_selector_day</item>
32         <item name="colorAccent">@color/blue_700</item>
33         <item name="redTextColor">@color/red_a700</item>
34
35         <!-- Tints. -->
36         <item name="fabIconTintColor">@color/white</item>
37         <item name="findOnPageIconTintColor">@color/blue_800</item>
38         <item name="navigationIconTintColor">@color/blue_800</item>
39         <item name="progressTintColor">@color/blue_700</item>
40
41         <!-- Drawables. -->
42         <item name="listSelectorDrawable">@drawable/list_selector_day</item>
43     </style>
44
45     <style name="PrivacyBrowserAppBar" parent="ThemeOverlay.AppCompat.DayNight.ActionBar" >
46         <item name="android:textColorHighlight">@color/blue_200</item>
47     </style>
48
49     <style name="PrivacyBrowserSettings" parent="Theme.AppCompat.DayNight" >
50         <!-- Main Items. -->
51         <item name="android:statusBarColor">?android:attr/colorBackground</item>
52         <item name="android:windowLightStatusBar">?attr/isLightTheme</item>
53
54         <!-- Colors. -->
55         <item name="colorAccent">@color/blue_700</item>
56         <item name="colorPrimary">?android:attr/colorBackground</item>  <!-- `colorPrimary` sets the background color of the app bar. -->
57     </style>
58
59     <style name="PrivacyBrowserAlertDialog" parent="Theme.AppCompat.DayNight.Dialog.Alert" >
60         <!-- Colors. -->
61         <item name="colorAccent">@color/blue_700</item>
62     </style>
63 </resources>