Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1410)

Unified Diff: chrome/android/java/res/values-v17/styles.xml

Issue 1097263003: Revert of Remove special theming for CardUnmaskPrompt since it's now automatic (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/android/java/res/values/colors.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/res/values-v17/styles.xml
diff --git a/chrome/android/java/res/values-v17/styles.xml b/chrome/android/java/res/values-v17/styles.xml
index ef22bc52f16e6cb9ceac5cfc22ab64776b0369c3..10ee0e917adcbf014dd6c981547e6a378bc7e46b 100644
--- a/chrome/android/java/res/values-v17/styles.xml
+++ b/chrome/android/java/res/values-v17/styles.xml
@@ -4,6 +4,24 @@
found in the LICENSE file. -->
<resources>
+ <!-- A theme for alert dialogs. The colors are copied from MainTheme, and the window
+ dimensions are copied from *.MinWidth theme variants. Sadly there is no
+ AppCompat.Light.Dialog.Alert or even AppCompat.Light.Dialog.MinWidth. -->
+ <style name="AlertDialogTheme" parent="Theme.AppCompat.Light.Dialog">
+ <item name="android:textColorHighlight">@color/text_highlight_color</item>
+ <item name="android:windowMinWidthMajor">@android:dimen/dialog_min_width_major</item>
+ <item name="android:windowMinWidthMinor">@android:dimen/dialog_min_width_minor</item>
+
+ <!-- Overriding AppCompat values -->
+ <item name="colorAccent">@color/light_active_color</item>
+ <item name="colorControlActivated">@color/light_active_color</item>
+ <item name="colorControlNormal">@color/light_normal_color</item>
+ <item name="colorPrimary">@color/light_active_color</item>
+
+ <!-- Default TintedImageButton tint -->
+ <item name="tint">@color/dark_mode_tint</item>
+ </style>
+
<!-- Preferences -->
<style name="PreferencesTheme" parent="ThemeWithActionBar">
<item name="android:textColorLink">@color/pref_accent_color</item>
« no previous file with comments | « no previous file | chrome/android/java/res/values/colors.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698