<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:android="http://schemas.android.com/apk/res/android">

    <style name="Theme.Twidere" parent="Theme.Twidere.DayNight">
        <item name="darkThemeResource">@style/Theme.Twidere.Dark</item>
        <item name="lightThemeResource">@style/Theme.Twidere.Light</item>
    </style>

    <style name="Theme.Twidere.Dialog" parent="Theme.Twidere.Dialog.DayNight">
        <item name="darkThemeResource">@style/Theme.Twidere.Dark.Dialog</item>
        <item name="lightThemeResource">@style/Theme.Twidere.Light.Dialog</item>
    </style>

    <style name="Theme.Twidere.Content" parent="Theme.Twidere.Content.DayNight">
        <item name="darkThemeResource">@style/Theme.Twidere.Dark.Content</item>
        <item name="lightThemeResource">@style/Theme.Twidere.Light.Content</item>
    </style>

    <style name="Theme.Twidere.NoActionBar" parent="Theme.Twidere.NoActionBar.DayNight">
        <item name="darkThemeResource">@style/Theme.Twidere.Dark.NoActionBar</item>
        <item name="lightThemeResource">@style/Theme.Twidere.Light.NoActionBar</item>
    </style>

    <style name="Theme.Twidere.Compose" parent="Theme.Twidere.Compose.DayNight">
        <item name="darkThemeResource">@style/Theme.Twidere.Dark.Compose</item>
        <item name="lightThemeResource">@style/Theme.Twidere.Light.Compose</item>
    </style>

    <style name="Theme.Twidere.QuickSearchBar" parent="Theme.Twidere.QuickSearchBar.DayNight">
        <item name="darkThemeResource">@style/Theme.Twidere.Dark.QuickSearchBar</item>
        <item name="lightThemeResource">@style/Theme.Twidere.Light.QuickSearchBar</item>
    </style>

    <style name="Theme.Twidere.NoDisplay" parent="Theme.Twidere.NoDisplay.DayNight">
        <item name="darkThemeResource">@style/Theme.Twidere.Dark.NoDisplay</item>
        <item name="lightThemeResource">@style/Theme.Twidere.Light.NoDisplay</item>
    </style>

    <style name="Theme.Twidere.Viewer" parent="Theme.Twidere.Dark">

        <!-- Window attributes -->
        <item name="android:windowBackground">@android:color/transparent</item>
        <item name="android:windowIsTranslucent">true</item>
        <item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>

        <item name="windowActionBarOverlay">true</item>
        <item name="actionBarStyle">@style/Widget.Twidere.Viewer.ActionBar</item>
        <item name="actionModeShareDrawable">@drawable/ic_action_share</item>

        <item name="actionBarTheme">@null</item>
        <item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Material</item>

        <item name="colorToolbar">#80000000</item>
    </style>

    <style name="Theme.Nyan" parent="Theme.Twidere.Dark">
        <item name="android:windowBackground">@color/nyan_background</item>
        <item name="colorPrimary">@color/nyan_background</item>
    </style>

    <style name="Theme.Twidere.Launcher" parent="Theme.Twidere.Dark.NoActionBar">
        <item name="darkThemeResource">@style/Theme.Twidere.Dark.Launcher</item>
        <item name="lightThemeResource">@style/Theme.Twidere.Light.Launcher</item>
    </style>

</resources>