summaryrefslogtreecommitdiffhomepage
path: root/ui/src/main/res/values/styles.xml
diff options
context:
space:
mode:
Diffstat (limited to 'ui/src/main/res/values/styles.xml')
-rw-r--r--ui/src/main/res/values/styles.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/ui/src/main/res/values/styles.xml b/ui/src/main/res/values/styles.xml
index bfde4366..067c10b3 100644
--- a/ui/src/main/res/values/styles.xml
+++ b/ui/src/main/res/values/styles.xml
@@ -21,6 +21,14 @@
<item name="materialAlertDialogTheme">@style/AppTheme.Dialog</item>
<item name="actionBarPopupTheme">@style/ThemeOverlay.MaterialComponents.ActionBar</item>
<item name="textInputStyle">@style/TextInputLayoutBase</item>
+ <item name="materialCardViewStyle">@style/AppTheme.MaterialCardView</item>
+ </style>
+
+ <style name="AppTheme.MaterialCardView" parent="Widget.MaterialComponents.CardView">
+ <item name="cornerRadius">4dp</item>
+ <item name="cardElevation">4dp</item>
+ <item name="contentPadding">8dp</item>
+ <item name="cardBackgroundColor">?attr/elevationOverlayColor</item>
</style>
<style name="AppTheme.Dialog" parent="Theme.MaterialComponents.DayNight.Dialog.Alert">