summaryrefslogtreecommitdiffhomepage
path: root/ui/src/main/res/values
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2023-03-27 21:13:24 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2023-03-28 00:51:47 +0530
commit76423ce868e8e691fec8aec34f20d7d3f9689d48 (patch)
treef941178aab89c238d0652a232a4257a6ac6eeacd /ui/src/main/res/values
parentb37006ce2fea12a2346c2d0fcddb4091b58b079a (diff)
ui: use M3 styles everywhere
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'ui/src/main/res/values')
-rw-r--r--ui/src/main/res/values/styles.xml4
-rw-r--r--ui/src/main/res/values/tv_styles.xml10
2 files changed, 1 insertions, 13 deletions
diff --git a/ui/src/main/res/values/styles.xml b/ui/src/main/res/values/styles.xml
index 019cb300..acedfebb 100644
--- a/ui/src/main/res/values/styles.xml
+++ b/ui/src/main/res/values/styles.xml
@@ -37,8 +37,4 @@
<item name="android:windowEnterAnimation">@android:anim/fade_in</item>
<item name="android:windowExitAnimation">@android:anim/fade_out</item>
</style>
-
- <style name="DetailText" parent="TextAppearance.MaterialComponents.Body1" />
-
- <style name="SectionText" parent="TextAppearance.MaterialComponents.Subtitle1" />
</resources>
diff --git a/ui/src/main/res/values/tv_styles.xml b/ui/src/main/res/values/tv_styles.xml
index 0faa6184..1d06b618 100644
--- a/ui/src/main/res/values/tv_styles.xml
+++ b/ui/src/main/res/values/tv_styles.xml
@@ -17,23 +17,15 @@
<item name="android:windowBackground">@color/tv_primary_color</item>
<item name="alertDialogTheme">@style/TvTheme.Dialog</item>
<item name="materialAlertDialogTheme">@style/TvTheme.Dialog</item>
- <item name="textInputStyle">@style/TextInputLayoutBase</item>
<item name="materialCardViewStyle">@style/TvTheme.MaterialCardView</item>
</style>
- <style name="TextInputLayoutBase" parent="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox">
- <item name="boxStrokeColor">?attr/colorSecondary</item>
- <item name="hintTextColor">?attr/colorOnPrimary</item>
- </style>
-
<style name="TvTheme.Dialog" parent="Theme.MaterialComponents.DayNight.Dialog.Alert">
<item name="android:windowBackground">?attr/colorSurface</item>
</style>
- <style name="TvTheme.MaterialCardView" parent="Widget.MaterialComponents.CardView">
+ <style name="TvTheme.MaterialCardView" parent="Widget.Material3.CardView.Elevated">
<item name="cornerRadius">4dp</item>
- <item name="cardElevation">8dp</item>
<item name="contentPadding">8dp</item>
- <item name="cardBackgroundColor">?attr/elevationOverlayColor</item>
</style>
</resources>