]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/res/values-night/styles.xml
Combine drawable files. https://redmine.stoutner.com/issues/794
[PrivacyBrowserAndroid.git] / app / src / main / res / values-night / styles.xml
index 51a456e83da17d5eab9b103ffd1d1d66e16ab85f..77a3d1f6e6f777bf240a8098561a88e029c22ea6 100644 (file)
@@ -1,25 +1,29 @@
 <?xml version="1.0" encoding="utf-8"?>
 
 <!--
-  Copyright © 2015-2021 Soren Stoutner <soren@stoutner.com>.
+  Copyright © 2015-2022 Soren Stoutner <soren@stoutner.com>.
 
-  This file is part of Privacy Browser <https://www.stoutner.com/privacy-browser>.
+  This file is part of Privacy Browser Android <https://www.stoutner.com/privacy-browser-android>.
 
-  Privacy Browser is free software: you can redistribute it and/or modify
+  Privacy Browser Android is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation, either version 3 of the License, or
   (at your option) any later version.
 
-  Privacy Browser is distributed in the hope that it will be useful,
+  Privacy Browser Android is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.
 
   You should have received a copy of the GNU General Public License
-  along with Privacy Browser.  If not, see <http://www.gnu.org/licenses/>. -->
+  along with Privacy Browser Android.  If not, see <http://www.gnu.org/licenses/>. -->
 
 <resources>
     <style name="PrivacyBrowser" parent="Theme.AppCompat.DayNight.NoActionBar" >
+        <!-- Main Items. -->
+        <item name="android:statusBarColor">?android:attr/colorBackground</item>
+        <item name="android:windowLightStatusBar">false</item>
+
         <!-- Colors.  -->
         <item name="android:actionModeBackground">?android:attr/colorBackground</item>
         <item name="android:textColorHighlight">@color/violet_700</item>
@@ -31,7 +35,6 @@
         <item name="redTextColor">@color/red_900</item>
 
         <!-- Tints. -->
-        <item name="addTabIconTintColor">@color/white</item>
         <item name="domainSettingsIconTintColor">@color/violet_500</item>
         <item name="fabIconTintColor">@color/gray_875</item>
         <item name="findOnPageIconTintColor">@color/violet_500</item>
 
         <!-- Drawables. -->
         <item name="listSelectorDrawable">@drawable/list_selector_night</item>
-
-        <!-- Main App Bar Icons. -->
-        <item name="bookmarksAppBarIcon">@drawable/bookmarks_night</item>
-
-        <!-- Options Icons. -->
-        <item name="aboutIcon">@drawable/about_night</item>
-        <item name="closeIcon">@drawable/close_night</item>
-        <item name="copyIcon">@drawable/copy_night</item>
-        <item name="deleteIcon">@drawable/delete_night</item>
-        <item name="editIcon">@drawable/edit_night</item>
-        <item name="moveToFolderIcon">@drawable/move_to_folder_night</item>
-        <item name="saveIcon">@drawable/save_night</item>
-        <item name="saveImageIcon">@drawable/images_options_night</item>
-        <item name="saveTextIcon">@drawable/save_text_night</item>
-        <item name="selectAllIcon">@drawable/select_all_night</item>
-        <item name="shareIcon">@drawable/share_night</item>
-        <item name="sortIcon">@drawable/sort_night</item>
     </style>
 
     <style name="PrivacyBrowserAppBar" parent="ThemeOverlay.AppCompat.DayNight.ActionBar" >
     </style>
 
     <style name="PrivacyBrowserSettings" parent="Theme.AppCompat.DayNight" >
+        <!-- Main Items. -->
+        <item name="android:statusBarColor">?android:attr/colorBackground</item>
+        <item name="android:windowLightStatusBar">?attr/isLightTheme</item>
+
         <!-- Colors. -->
         <item name="colorAccent">@color/violet_500</item>
         <item name="colorPrimary">?android:attr/colorBackground</item>  <!-- `colorPrimary` sets the background color of the app bar. -->
-
-        <!-- Icons. -->
-        <item name="appThemeIcon">@drawable/app_theme_night</item>
-        <item name="downloadIcon">@drawable/downloads_enabled_night</item>
-        <item name="fontSizeIcon">@drawable/font_size_night</item>
-        <item name="homepageIcon">@drawable/home_enabled_night</item>
-        <item name="searchIcon">@drawable/search_enabled_night</item>
-        <item name="userAgentIcon">@drawable/user_agent_night</item>
     </style>
 
     <style name="PrivacyBrowserAlertDialog" parent="Theme.AppCompat.DayNight.Dialog.Alert" >
         <!-- Colors. -->
         <item name="colorAccent">@color/violet_500</item>
-
-        <!-- Dialog Icons. -->
-        <item name="aboutBlueIcon">@drawable/about_blue_night</item>
-        <item name="blockAdsBlueIcon">@drawable/block_ads_enabled_night</item>
-        <item name="copyBlueIcon">@drawable/copy_enabled_night</item>
-        <item name="domainsBlueIcon">@drawable/domains_night</item>
-        <item name="domStorageBlueIcon">@drawable/dom_storage_cleared_night</item>
-        <item name="fontSizeBlueIcon">@drawable/font_size_night</item>
-        <item name="imagesBlueIcon">@drawable/images_enabled_night</item>
-        <item name="lockBlueIcon">@drawable/lock_night</item>
-        <item name="moveToFolderBlueIcon">@drawable/move_to_folder_blue_night</item>
-        <item name="proxyBlueIcon">@drawable/proxy_enabled_night</item>
-        <item name="saveBlueIcon">@drawable/save_dialog_night</item>
-        <item name="saveTextBlueIcon">@drawable/save_text_blue_night</item>
-        <item name="sslCertificateBlueIcon">@drawable/ssl_certificate_enabled_night</item>
     </style>
 </resources>
\ No newline at end of file