Commit 04d33a19 authored by Nate Fischer's avatar Nate Fischer Committed by Commit Bot

[AW][Dev-UI] adjust flag UI colors

No change to logic. This adjusts the following colors:

* Brighter red for warning text (dark theme only)
* More contrast for text color of flag names (darker in light theme,
  brighter in dark theme)

Fixed: 1111172
Test: Manual - verify colors in screenshot
Change-Id: Ib8d1e5a8cbd10c8b7e3483adb31c893d220389f2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2347376Reviewed-by: default avatarHazem Ashmawy <hazems@chromium.org>
Commit-Queue: Nate Fischer <ntfschr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#797027}
parent 9e2aee05
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:textIsSelectable="true" android:textIsSelectable="true"
android:textStyle="bold" android:textStyle="bold"
android:textAppearance="?android:attr/textAppearanceMedium" android:textAppearance="@style/MediumText"
android:drawablePadding="4dp" android:drawablePadding="4dp"
android:paddingTop="8dp" android:paddingTop="8dp"
android:paddingBottom="8dp"/> android:paddingBottom="8dp"/>
......
...@@ -6,5 +6,7 @@ ...@@ -6,5 +6,7 @@
--> -->
<resources> <resources>
<color name="error_red">#F28482</color>
<color name="navigation_selected">#FFFFFF</color> <color name="navigation_selected">#FFFFFF</color>
<color name="medium_text_color">#E8EAED</color>
</resources> </resources>
...@@ -11,4 +11,5 @@ ...@@ -11,4 +11,5 @@
<color name="blue">#1967D2</color> <color name="blue">#1967D2</color>
<color name="navigation_selected">#000000</color> <color name="navigation_selected">#000000</color>
<color name="navigation_unselected">#888888</color> <color name="navigation_unselected">#888888</color>
<color name="medium_text_color">#202124</color>
</resources> </resources>
...@@ -13,4 +13,7 @@ ...@@ -13,4 +13,7 @@
<style name="UnselectedNavigationButton"> <style name="UnselectedNavigationButton">
<item name="android:textColor">@color/navigation_unselected</item> <item name="android:textColor">@color/navigation_unselected</item>
</style> </style>
<style name="MediumText" parent="@android:style/TextAppearance.Medium">
<item name="android:textColor">@color/medium_text_color</item>
</style>
</resources> </resources>
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment