2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-19 09:25:34 +00:00

[fenix] For https://github.com/mozilla-mobile/fenix/issues/11880: Provide default text color for errors in a TextInputLayout

This commit is contained in:
mcarare 2020-06-24 13:28:28 +03:00 committed by Emily Kager
parent 0e63e5b22c
commit f2b6eac8ff
2 changed files with 8 additions and 2 deletions

View File

@ -2,7 +2,7 @@
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<resources>
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Normal theme colors for dark mode -->
<color name="primary_text_normal_theme">@color/primary_text_dark_theme</color>
<color name="secondary_text_normal_theme">@color/secondary_text_dark_theme</color>
@ -73,4 +73,7 @@
<!-- Reader View colors -->
<color name="mozac_feature_readerview_text_color">@color/primary_text_dark_theme</color>
<!-- TextInputLayout default Error Color -->
<color name="design_error" tools:override="true">@color/destructive_dark_theme</color>
</resources>

View File

@ -2,7 +2,7 @@
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<resources>
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Photon colors -->
<color name="dark_grey_05">#5B5B66</color>
<color name="dark_grey_10">#52525E</color>
@ -370,4 +370,7 @@
<!-- SearchView Hint Color -->
<color name="search_view_hint_color">#5B5B66</color>
<!-- TextInputLayout default Error Color -->
<color name="design_error" tools:override="true">@color/destructive_light_theme</color>
</resources>