Skip to content

Commit f556f56

Browse files
SUPERCILEXsamtstern
authored andcommitted
Fix broken auto styling (#815)
1 parent 8a4bb24 commit f556f56

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

auth/src/main/res/values/colors.xml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<resources>
3-
<color name="fui_colorPrimary">#3F51B5</color>
4-
<color name="fui_colorPrimaryDark">#303F9F</color>
5-
<color name="fui_colorAccent">#FF4081</color>
2+
<resources xmlns:tools="http://schemas.android.com/tools">
3+
<!-- Eventually, we should remove these so the developer knows they have to style FirebaseUI -->
4+
<color name="colorPrimary" tools:ignore="ResourceName">#3F51B5</color>
5+
<color name="colorPrimaryDark" tools:ignore="ResourceName">#303F9F</color>
6+
<color name="colorAccent" tools:ignore="ResourceName">#FF4081</color>
67

78
<color name="fui_errorColor">#DD2C00</color>
89
<color name="fui_linkColor">#4285F4</color>

auth/src/main/res/values/styles.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
tools:ignore="ResourceName">
44

55
<style name="FirebaseUI" parent="Theme.AppCompat.DayNight.DarkActionBar">
6-
<item name="colorPrimary">@color/fui_colorPrimary</item>
7-
<item name="colorPrimaryDark">@color/fui_colorPrimaryDark</item>
8-
<item name="colorAccent">@color/fui_colorAccent</item>
6+
<item name="colorPrimary">@color/colorPrimary</item>
7+
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
8+
<item name="colorAccent">@color/colorAccent</item>
99
<item name="android:buttonStyle">@style/FirebaseUI.Button</item>
1010
</style>
1111

0 commit comments

Comments
 (0)