summaryrefslogtreecommitdiffhomepage
path: root/ui/src/main/res/values/tv_styles.xml
blob: 536ca752cc0026ccb489c33f479ab29166ded643 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?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="colorBackground">@color/tv_primary_color</item>
        <item name="colorMultiselectActiveBackground">@color/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="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>
        <item name="materialThemeOverlay">
            @style/ThemeOverlay.AppTheme.TextInputEditText.OutlinedBox
        </item>
    </style>

    <style name="TvTheme.Dialog" parent="Theme.MaterialComponents.DayNight.Dialog.Alert">
        <item name="colorPrimary">@color/secondary_color</item>
        <item name="colorSecondary">@color/secondary_color</item>
        <item name="android:windowBackground">?attr/colorBackground</item>
    </style>

    <style name="TvTheme.MaterialCardView" parent="Widget.MaterialComponents.CardView">
        <item name="cornerRadius">4dp</item>
        <item name="cardElevation">8dp</item>
        <item name="contentPadding">8dp</item>
        <item name="cardBackgroundColor">?attr/elevationOverlayColor</item>
    </style>
</resources>