Fix error colours in design lib

We now have themes in Design lib which apps should be using.
Since we can't break apps which are not using the themes,
we also support themes which are not descendent of Theme.Design.

BUG: 26933361

Change-Id: I8b62ef8e263ba93d5e9943360967ec8939688744
diff --git a/design/res/values/themes.xml b/design/res/values/themes.xml
index 0e3b1b1..5768692 100644
--- a/design/res/values/themes.xml
+++ b/design/res/values/themes.xml
@@ -28,4 +28,22 @@
         <item name="bottomSheetStyle">@style/Widget.Design.BottomSheet.Modal</item>
     </style>
 
+    <style name="Theme.Design" parent="Theme.AppCompat">
+        <item name="textColorError">@color/design_textinput_error_color_dark</item>
+    </style>
+
+    <style name="Theme.Design.Light" parent="Theme.AppCompat.Light">
+        <item name="textColorError">@color/design_textinput_error_color_light</item>
+    </style>
+
+    <style name="Theme.Design.NoActionBar">
+        <item name="windowActionBar">false</item>
+        <item name="windowNoTitle">true</item>
+    </style>
+
+    <style name="Theme.Design.Light.NoActionBar">
+        <item name="windowActionBar">false</item>
+        <item name="windowNoTitle">true</item>
+    </style>
+
 </resources>