aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/values/styles.xml
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2021-02-07 12:49:00 +0530
committerGitHub <noreply@github.com>2021-02-07 12:49:00 +0530
commitea24056554f307f4f8f84b0ab6a808730d6acfa4 (patch)
tree46f043115a2e0631d2502d7450f0a806bddab3e4 /app/src/main/res/values/styles.xml
parent4b892c328da438024d0dea7e78d33cf48dc52561 (diff)
Redo authentication modes UI with Chips (#1297)
Diffstat (limited to 'app/src/main/res/values/styles.xml')
-rw-r--r--app/src/main/res/values/styles.xml44
1 files changed, 16 insertions, 28 deletions
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index 8b42d91e..293bdb9b 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -5,34 +5,6 @@
<resources>
- <!-- Base application theme. -->
- <style name="APSTheme" parent="Theme.MaterialComponents.DayNight">
- <item name="colorPrimary">@color/primary_color</item>
- <item name="colorOnPrimary">@color/color_control_normal</item>
- <item name="colorPrimaryDark">@color/primary_color</item>
- <item name="colorPrimaryVariant">@color/primary_light_color</item>
- <item name="colorSecondary">@color/secondary_color</item>
- <item name="colorSecondaryVariant">@color/secondary_dark_color</item>
- <item name="colorOnSecondary">@color/white</item>
- <item name="colorSurface">@color/primary_color</item>
- <item name="colorOnSurface">@color/color_control_normal</item>
- <item name="colorControlNormal">@color/color_control_normal</item>
- <item name="android:textColor">@color/primary_text_color</item>
- <item name="android:colorBackgroundFloating">@color/primary_color</item>
- <item name="android:statusBarColor">@color/status_bar_color</item>
- <item name="android:navigationBarColor">@color/navigation_bar_color</item>
- <item name="android:windowLightStatusBar">@bool/light_status_bar</item>
- <item name="actionModeStyle">@style/ActionMode</item>
- <item name="alertDialogTheme">@style/AppTheme.Dialog</item>
- <item name="materialAlertDialogTheme">@style/AppTheme.Dialog</item>
- <item name="materialButtonStyle">@style/AppTheme.MaterialButton</item>
- <item name="materialButtonOutlinedStyle">@style/AppTheme.OutlinedButton</item>
- <item name="bottomSheetDialogTheme">@style/BottomSheetDialogTheme</item>
- <item name="textInputStyle">@style/AppTheme.TextInputLayout</item>
- </style>
-
- <style name="AppTheme" parent="APSTheme" />
-
<style name="AppTheme.TextInputLayout" parent="Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense">
<item name="boxStrokeColor">@color/outlined_box_selector</item>
<item name="hintTextColor">?attr/colorSecondary</item>
@@ -63,6 +35,22 @@
<item name="colorSecondary">@color/secondary_color</item>
</style>
+ <style name="AppTheme.Chip.Choice" parent="Widget.MaterialComponents.Chip.Choice">
+ <item name="chipSurfaceColor">@color/chip_surface_color</item>
+ <item name="android:textColor">@color/chip_text_color</item>
+ <item name="shapeAppearanceOverlay">@style/ShapeAppearance.AppTheme.SmallComponent</item>
+ <item name="textAppearanceBody2">@style/TextAppearance.AppTheme.Body2</item>
+ </style>
+
+ <style name="TextAppearance.AppTheme.Body2" parent="TextAppearance.MaterialComponents.Body2">
+ <item name="android:textStyle">bold</item>
+ </style>
+
+ <style name="ShapeAppearance.AppTheme.SmallComponent" parent="ShapeAppearance.MaterialComponents.SmallComponent">
+ <item name="cornerFamily">rounded</item>
+ <item name="cornerSize">8dp</item>
+ </style>
+
<style name="ActionMode" parent="@style/Widget.AppCompat.ActionMode">
<item name="background">@color/primary_color</item>
</style>