diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2023-03-27 21:13:24 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2023-03-28 00:51:47 +0530 |
commit | 76423ce868e8e691fec8aec34f20d7d3f9689d48 (patch) | |
tree | f941178aab89c238d0652a232a4257a6ac6eeacd /ui/src/main/res/values | |
parent | b37006ce2fea12a2346c2d0fcddb4091b58b079a (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.xml | 4 | ||||
-rw-r--r-- | ui/src/main/res/values/tv_styles.xml | 10 |
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> |