summaryrefslogtreecommitdiffhomepage
path: root/ui/src/main/res/values/tv_styles.xml
blob: 1d06b6183ccbc1621b30c4102f84fba2a7baf8dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:android="http://schemas.android.com/apk/res/android">

    <style name="TvTheme" parent="Theme.MaterialComponents.NoActionBar">
        <item name="colorPrimary">@color/tv_primary_color</item>
        <item name="colorOnPrimary">#fffafafa</item>
        <item name="colorPrimaryDark">@color/tv_primary_color</item>
        <item name="colorPrimaryVariant">#ff484848</item>
        <item name="colorSecondary">#ff4285f4</item>
        <item name="colorOnSecondary">#ff0059c1</item>
        <item name="colorSurface">@color/tv_primary_color</item>
        <item name="colorOnSurface">#fffafafa</item>
        <item name="colorMultiselectActiveBackground">@color/tv_list_multiselect_background</item>
        <item name="colorControlNormal">#fffafafa</item>
        <item name="elevationOverlayEnabled">false</item>
        <item name="android:statusBarColor">@color/tv_primary_color</item>
        <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="materialCardViewStyle">@style/TvTheme.MaterialCardView</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.Material3.CardView.Elevated">
        <item name="cornerRadius">4dp</item>
        <item name="contentPadding">8dp</item>
    </style>
</resources>