<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright 2015-2016 Soren Stoutner <soren@stoutner.com>.
+ Copyright © 2015-2020 Soren Stoutner <soren@stoutner.com>.
This file is part of Privacy Browser <https://www.stoutner.com/privacy-browser>.
along with Privacy Browser. If not, see <http://www.gnu.org/licenses/>. -->
<resources>
+ <style name="PrivacyBrowser" parent="Theme.AppCompat.DayNight.NoActionBar" >
+ <!-- Main Items. -->
+ <item name="windowActionModeOverlay">true</item> <!-- `windowActionModeOverlay` makes the contextual app bar cover the support app bar. -->
- <style name="PrivacyBrowser" parent="Theme.AppCompat.Light.NoActionBar">
- <item name="colorAccent">@color/blue</item>
- </style>
-
- <style name="PrivacyBrowser.MainWebView" />
+ <!-- Colors. -->
+ <item name="android:actionModeBackground">?android:attr/colorBackground</item>
+ <item name="android:textColorHighlight">@color/blue_200</item>
+ <item name="blueTextColor">@color/blue_700</item>
+ <item name="blueTitleTextColor">@color/blue_900</item>
+ <item name="buttonBackgroundColorSelector">@color/button_background_color_selector_day</item>
+ <item name="buttonTextColorSelector">@color/button_text_color_selector_day</item>
+ <item name="colorAccent">@color/blue_700</item>
+ <item name="redTextColor">@color/red_a700</item>
- <style name="PrivacyBrowser.SecondaryActivity" />
+ <!-- Tints. -->
+ <item name="addTabIconTintColor">@color/gray_700</item>
+ <item name="domainSettingsIconTintColor">@color/blue_800</item>
+ <item name="fabIconTintColor">@color/white</item>
+ <item name="findOnPageIconTintColor">@color/blue_800</item>
+ <item name="navigationIconTintColor">@color/blue_800</item>
+ <item name="progressTintColor">@color/blue_700</item>
- <!-- colorPrimaryDark is the color of the status bar. -->
- <style name="PrivacyBrowser.Settings" parent="Theme.AppCompat.Light.DarkActionBar">
- <item name="colorPrimary">@color/blue</item>
- <item name="colorPrimaryDark">@color/dark_blue</item>
- <item name="colorAccent">@color/blue</item>
- </style>
+ <!-- Drawables. -->
+ <item name="listSelectorDrawable">@drawable/list_selector_day</item>
- <!-- ThemeOverlay.AppCompat.Dark.ActionBar" makes the text and the icons in the AppBar white. -->
- <style name="PrivacyBrowser.DarkAppBar" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />
+ <!-- Options Icons. -->
+ <item name="aboutIcon">@drawable/about_day</item>
+ <item name="closeIcon">@drawable/close_day</item>
+ <item name="copyIcon">@drawable/copy_day</item>
+ <item name="deleteIcon">@drawable/delete_day</item>
+ <item name="editIcon">@drawable/edit_day</item>
+ <item name="moveToFolderIcon">@drawable/move_to_folder_day</item>
+ <item name="saveIcon">@drawable/save_day</item>
+ <item name="saveImageIcon">@drawable/images_options_day</item>
+ <item name="saveTextIcon">@drawable/save_text_day</item>
+ <item name="selectAllIcon">@drawable/select_all_day</item>
+ <item name="shareIcon">@drawable/share_day</item>
+ <item name="sortIcon">@drawable/sort_day</item>
- <style name="PrivacyBrowser.AppBarOverlay" parent="ThemeOverlay.AppCompat.ActionBar" />
+ <!-- Dialog Icons. -->
+ <item name="aboutBlueIcon">@drawable/about_blue_day</item>
+ <item name="domainsBlueIcon">@drawable/domains_day</item>
+ <item name="fontSizeBlueIcon">@drawable/font_size_day</item>
+ <item name="lockBlueIcon">@drawable/lock_day</item>
+ </style>
- <style name="PrivacyBrowser.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
+ <style name="PrivacyBrowserSettings" parent="Theme.AppCompat.DayNight" >
+ <!-- Colors. -->
+ <item name="colorAccent">@color/blue_700</item>
+ <item name="colorPrimary">?android:attr/colorBackground</item> <!-- `colorPrimary` sets the background color of the app bar. -->
- <style name="PrivacyBrowser.AlertDialog" parent="Theme.AppCompat.Light.Dialog.Alert">
- <item name="colorAccent">@color/blue</item>
+ <!-- Icons. -->
+ <item name="appThemeIcon">@drawable/app_theme_day</item>
+ <item name="downloadIcon">@drawable/downloads_enabled_day</item>
+ <item name="fontSizeIcon">@drawable/font_size_day</item>
+ <item name="homepageIcon">@drawable/home_enabled_day</item>
+ <item name="searchIcon">@drawable/search_enabled_day</item>
+ <item name="userAgentIcon">@drawable/user_agent_day</item>
</style>
+ <style name="PrivacyBrowserAlertDialog" parent="Theme.AppCompat.DayNight.Dialog.Alert" >
+ <item name="colorAccent">@color/blue_700</item>
+ </style>
</resources>
\ No newline at end of file