<resources>
    <attr name="themeName" format="string" />
    <attr name="colorRead" format="reference" />
    <attr name="colorUnread" format="reference" />
    <attr name="colorUnreadHighlight" format="reference" />
    <attr name="colorHighlight" format="reference" />
    <attr name="colorEncrypt" format="reference" />
    <attr name="colorSeparator" format="reference" />
    <attr name="colorThumb" format="reference" />
    <attr name="colorWarning" format="reference" />
    <attr name="colorDrawerScrim" format="reference" />
    <attr name="colorDrawerText" format="reference" />
    <attr name="colorDrawerBackground" format="reference" />
    <attr name="colorCardBackground" format="reference" />
    <attr name="colorActionForeground" format="reference" />
    <attr name="colorActionForegroundDisabled" format="reference" />
    <attr name="colorActionBackground" format="reference" />
    <attr name="colorFabForeground" format="reference" />
    <attr name="colorFabBackground" format="reference" />
    <attr name="colorInfoForeground" format="reference" />
    <attr name="colorInfoBackground" format="reference" />
    <attr name="activatableItemBackground" format="reference" />

    <style name="AppThemeBaseLight" parent="Base.Theme.AppCompat.Light.DarkActionBar">
        <item name="themeName">light</item>
        <item name="android:windowDisablePreview">true</item>
        <item name="android:windowAnimationStyle">@style/activityAnimationStyle</item>

        <item name="colorRead">@color/colorReadLight</item>
        <item name="colorUnread">@color/colorUnreadLight</item>

        <item name="colorHighlight">@color/colorHighlightLight</item>

        <item name="colorEncrypt">@color/colorEncryptLight</item>

        <item name="colorSeparator">@color/lightColorSeparator</item>
        <item name="colorThumb">@color/lightColorThumb</item>
        <item name="colorWarning">@color/lightColorWarning</item>

        <item name="colorDrawerScrim">@color/lightColorDrawerScrim</item>
        <item name="colorDrawerText">@color/lightColorDrawerText</item>
        <item name="colorDrawerBackground">@color/lightColorDrawerBackground</item>

        <item name="colorCardBackground">@color/lightColorCardBackground</item>

        <item name="colorActionForeground">@color/lightActionForeground</item>
        <item name="colorActionForegroundDisabled">@color/lightActionForegroundDisabled</item>
        <item name="colorActionBackground">@color/lightActionBackground</item>

        <item name="colorFabForeground">@color/white</item>

        <item name="activatableItemBackground">@drawable/activatable_item_background_light</item>

        <item name="android:checkboxStyle">@style/checkboxStyle</item>
        <item name="android:buttonStyle">@style/buttonStyle</item>
        <item name="android:buttonStyleSmall">@style/buttonStyleSmall</item>
        <item name="android:buttonStyleToggle">@style/buttonStyleToggle</item>
        <item name="android:radioButtonStyle">@style/radioButtonStyle</item>

        <item name="android:scrollbarSize">6dp</item>
        <item name="android:scrollbarThumbVertical">@drawable/scroll_thumb</item>
        <item name="android:scrollbarTrackVertical">@drawable/scroll_track</item>
    </style>

    <style name="AppThemeBaseDark" parent="Base.Theme.AppCompat">
        <item name="themeName">dark</item>
        <item name="android:windowDisablePreview">true</item>
        <item name="android:windowAnimationStyle">@style/activityAnimationStyle</item>

        <item name="android:navigationBarColor">@color/black</item>

        <item name="colorRead">@color/colorReadDark</item>
        <item name="colorUnread">@color/colorUnreadDark</item>

        <item name="colorHighlight">@color/colorHighlightDark</item>

        <item name="colorEncrypt">@color/colorEncryptDark</item>

        <item name="colorSeparator">@color/darkColorSeparator</item>
        <item name="colorThumb">@color/darkColorThumb</item>
        <item name="colorWarning">@color/darkColorWarning</item>

        <item name="colorDrawerScrim">@color/darkColorDrawerScrim</item>
        <item name="colorDrawerText">@color/darkColorDrawerText</item>
        <item name="colorDrawerBackground">@color/darkColorDrawerBackground</item>

        <item name="colorCardBackground">@color/darkColorCardBackground</item>

        <item name="colorActionForeground">@color/darkActionForeground</item>
        <item name="colorActionForegroundDisabled">@color/darkActionForegroundDisabled</item>
        <item name="colorActionBackground">@color/darkActionBackground</item>

        <item name="colorFabForeground">@color/white</item>

        <item name="activatableItemBackground">@drawable/activatable_item_background_dark</item>

        <item name="android:checkboxStyle">@style/checkboxStyle</item>
        <item name="android:buttonStyle">@style/buttonStyle</item>
        <item name="android:buttonStyleSmall">@style/buttonStyleSmall</item>
        <item name="android:buttonStyleToggle">@style/buttonStyleToggle</item>
        <item name="android:radioButtonStyle">@style/radioButtonStyle</item>

        <item name="android:scrollbarSize">6dp</item>
        <item name="android:scrollbarThumbVertical">@drawable/scroll_thumb</item>
        <item name="android:scrollbarTrackVertical">@drawable/scroll_track</item>
    </style>

    <!-- Light -->

    <style name="AppThemeBlueOrangeLight" parent="AppThemeBaseLight">
        <item name="colorPrimary">@color/lightBluePrimary</item>
        <item name="colorPrimaryDark">@color/lightBluePrimaryDark</item>
        <item name="colorAccent">@color/lightAmberAccent</item>

        <item name="colorUnreadHighlight">@color/lightAmberAccentDark</item>

        <item name="colorWarning">@color/lightAmberAccent</item>

        <item name="colorFabBackground">@color/lightAmberAccent</item>

        <item name="colorInfoForeground">@color/white</item>
        <item name="colorInfoBackground">@color/lightBluePrimary</item>

        <item name="android:textColorLink">@color/lightAmberAccentDark</item>
    </style>

    <style name="AppThemeOrangeBlueLight" parent="AppThemeBaseLight">
        <item name="colorPrimary">@color/lightAmberPrimary</item>
        <item name="colorPrimaryDark">@color/lightAmberPrimaryDark</item>
        <item name="colorAccent">@color/lightBlueAccent</item>

        <item name="colorUnreadHighlight">@color/lightBlueAccent</item>

        <item name="colorWarning">@color/lightBlueAccent</item>

        <item name="colorFabBackground">@color/lightBlueAccent</item>

        <item name="colorInfoForeground">@color/white</item>
        <item name="colorInfoBackground">@color/lightAmberPrimary</item>

        <item name="android:textColorLink">@color/lightBlueAccent</item>
    </style>

    <style name="AppThemeYellowPurpleLight" parent="AppThemeBaseLight">
        <item name="colorPrimary">@color/lightYellowPrimary</item>
        <item name="colorPrimaryDark">@color/lightYellowPrimaryDark</item>
        <item name="colorAccent">@color/lightPurpleAccent</item>

        <item name="colorUnreadHighlight">@color/lightPurpleAccent</item>

        <item name="colorFabBackground">@color/lightPurpleAccent</item>

        <item name="colorInfoForeground">@color/white</item>
        <item name="colorInfoBackground">@color/lightYellowPrimary</item>

        <item name="android:textColorLink">@color/lightPurpleAccent</item>
    </style>

    <style name="AppThemePurpleYellowLight" parent="AppThemeBaseLight">
        <item name="colorPrimary">@color/lightPurplePrimary</item>
        <item name="colorPrimaryDark">@color/lightPurplePrimaryDark</item>
        <item name="colorAccent">@color/lightYellowAccent</item>

        <item name="colorUnreadHighlight">@color/lightYellowAccent</item>

        <item name="colorFabBackground">@color/lightYellowAccent</item>

        <item name="colorInfoForeground">@color/white</item>
        <item name="colorInfoBackground">@color/lightPurplePrimary</item>

        <item name="android:textColorLink">@color/lightYellowAccent</item>
    </style>

    <style name="AppThemeRedGreenLight" parent="AppThemeBaseLight">
        <item name="colorPrimary">@color/lightRedPrimary</item>
        <item name="colorPrimaryDark">@color/lightRedPrimaryDark</item>
        <item name="colorAccent">@color/lightGreenAccent</item>

        <item name="colorUnreadHighlight">@color/lightGreenAccent</item>

        <item name="colorFabBackground">@color/lightGreenAccent</item>

        <item name="colorInfoForeground">@color/white</item>
        <item name="colorInfoBackground">@color/lightRedPrimary</item>

        <item name="android:textColorLink">@color/lightGreenAccent</item>
    </style>

    <style name="AppThemeGreenRedLight" parent="AppThemeBaseLight">
        <item name="colorPrimary">@color/lightGreenPrimary</item>
        <item name="colorPrimaryDark">@color/lightGreenPrimaryDark</item>
        <item name="colorAccent">@color/lightRedAccent</item>

        <item name="colorUnreadHighlight">@color/lightRedAccent</item>

        <item name="colorFabBackground">@color/lightRedAccent</item>

        <item name="colorInfoForeground">@color/white</item>
        <item name="colorInfoBackground">@color/lightGreenPrimary</item>

        <item name="android:textColorLink">@color/lightRedAccent</item>
    </style>

    <!-- Dark -->

    <style name="AppThemeBlueOrangeDark" parent="AppThemeBaseDark">
        <item name="colorPrimary">@color/darkBluePrimary</item>
        <item name="colorPrimaryDark">@color/darkBluePrimaryDark</item>
        <item name="colorAccent">@color/darkAmberAccent</item>

        <item name="colorUnreadHighlight">@color/darkAmberAccent</item>

        <item name="colorWarning">@color/darkAmberAccent</item>

        <item name="colorFabBackground">@color/darkAmberAccent</item>

        <item name="colorInfoForeground">@color/white</item>
        <item name="colorInfoBackground">@color/darkBluePrimary</item>
    </style>

    <style name="AppThemeOrangeBlueDark" parent="AppThemeBaseDark">
        <item name="colorPrimary">@color/darkAmberPrimary</item>
        <item name="colorPrimaryDark">@color/darkAmberPrimaryDark</item>
        <item name="colorAccent">@color/darkBlueAccent</item>

        <item name="colorUnreadHighlight">@color/darkBlueAccent</item>

        <item name="colorWarning">@color/darkBlueAccent</item>

        <item name="colorFabBackground">@color/darkBlueAccent</item>

        <item name="colorInfoForeground">@color/white</item>
        <item name="colorInfoBackground">@color/darkAmberPrimary</item>
    </style>

    <style name="AppThemeYellowPurpleDark" parent="AppThemeBaseDark">
        <item name="colorPrimary">@color/darkYellowPrimary</item>
        <item name="colorPrimaryDark">@color/darkYellowPrimaryDark</item>
        <item name="colorAccent">@color/darkPurpleAccent</item>

        <item name="colorUnreadHighlight">@color/darkPurpleAccent</item>

        <item name="colorFabBackground">@color/darkPurpleAccent</item>

        <item name="colorInfoForeground">@color/white</item>
        <item name="colorInfoBackground">@color/darkYellowPrimary</item>

        <item name="android:textColorLink">@color/darkPurpleAccent</item>
    </style>

    <style name="AppThemePurpleYellowDark" parent="AppThemeBaseDark">
        <item name="colorPrimary">@color/darkPurplePrimary</item>
        <item name="colorPrimaryDark">@color/darkPurplePrimaryDark</item>
        <item name="colorAccent">@color/darkYellowAccent</item>

        <item name="colorUnreadHighlight">@color/darkYellowAccent</item>

        <item name="colorFabBackground">@color/darkYellowAccent</item>

        <item name="colorInfoForeground">@color/white</item>
        <item name="colorInfoBackground">@color/darkPurplePrimary</item>

        <item name="android:textColorLink">@color/darkYellowAccent</item>
    </style>

    <style name="AppThemeRedGreenDark" parent="AppThemeBaseDark">
        <item name="colorPrimary">@color/darkRedPrimary</item>
        <item name="colorPrimaryDark">@color/darkRedPrimaryDark</item>
        <item name="colorAccent">@color/darkGreenAccent</item>

        <item name="colorUnreadHighlight">@color/darkGreenAccent</item>

        <item name="colorFabBackground">@color/darkGreenAccent</item>

        <item name="colorInfoForeground">@color/white</item>
        <item name="colorInfoBackground">@color/darkRedPrimary</item>

        <item name="android:textColorLink">@color/darkGreenAccent</item>
    </style>

    <style name="AppThemeGreenRedDark" parent="AppThemeBaseDark">
        <item name="colorPrimary">@color/darkGreenPrimary</item>
        <item name="colorPrimaryDark">@color/darkGreenPrimaryDark</item>
        <item name="colorAccent">@color/darkRedAccent</item>

        <item name="colorUnreadHighlight">@color/darkRedAccent</item>

        <item name="colorFabBackground">@color/darkRedAccent</item>

        <item name="colorInfoForeground">@color/white</item>
        <item name="colorInfoBackground">@color/darkGreenPrimary</item>

        <item name="android:textColorLink">@color/darkRedAccent</item>
    </style>

    <!-- Black -->

    <style name="AppThemeBlueOrangeBlack" parent="AppThemeBlueOrangeDark">
        <item name="themeName">black</item>
        <item name="android:windowBackground">@drawable/black_background</item>
        <item name="colorDrawerBackground">@color/black</item>
    </style>

    <style name="AppThemeOrangeBlueBlack" parent="AppThemeOrangeBlueDark">
        <item name="themeName">black</item>
        <item name="android:windowBackground">@drawable/black_background</item>
        <item name="colorDrawerBackground">@color/black</item>
    </style>

    <style name="AppThemeYellowPurpleBlack" parent="AppThemeYellowPurpleDark">
        <item name="themeName">black</item>
        <item name="android:windowBackground">@drawable/black_background</item>
        <item name="colorDrawerBackground">@color/black</item>
    </style>

    <style name="AppThemePurpleYellowBlack" parent="AppThemePurpleYellowDark">
        <item name="themeName">black</item>
        <item name="android:windowBackground">@drawable/black_background</item>
        <item name="colorDrawerBackground">@color/black</item>
    </style>

    <style name="AppThemeRedGreenBlack" parent="AppThemeRedGreenDark">
        <item name="themeName">black</item>
        <item name="android:windowBackground">@drawable/black_background</item>
        <item name="colorDrawerBackground">@color/black</item>
    </style>

    <style name="AppThemeGreenRedBlack" parent="AppThemeGreenRedDark">
        <item name="themeName">black</item>
        <item name="android:windowBackground">@drawable/black_background</item>
        <item name="colorDrawerBackground">@color/black</item>
    </style>

    <!-- Other -->

    <style name="AppThemeBlack" parent="AppThemeBlueOrangeDark">
        <item name="themeName">black</item>
        <item name="colorPrimary">@color/blackPrimary</item>
        <item name="colorPrimaryDark">@color/blackPrimaryDark</item>
        <item name="colorAccent">@color/blackAccent</item>

        <item name="colorInfoForeground">@color/white</item>
        <item name="colorInfoBackground">@color/blackPrimary</item>

        <item name="android:windowBackground">@drawable/black_background</item>
        <item name="colorDrawerBackground">@color/black</item>
    </style>

    <style name="AppThemeGreySteelBlueLight" parent="AppThemeBaseLight">
        <item name="colorPrimary">@color/greyPrimary</item>
        <item name="colorPrimaryDark">@color/greyPrimaryDark</item>
        <item name="colorAccent">@color/greyAccent</item>

        <item name="colorUnreadHighlight">@color/greyAccentDark</item>

        <item name="colorEncrypt">@color/colorEncryptDark</item>

        <item name="colorFabBackground">@color/greyAccent</item>

        <item name="colorInfoForeground">@color/white</item>
        <item name="colorInfoBackground">@color/greyPrimary</item>
    </style>

    <style name="AppThemeGreySteelBlueDark" parent="AppThemeBaseDark">
        <item name="themeName">black</item>
        <item name="colorPrimary">@color/greyPrimary</item>
        <item name="colorPrimaryDark">@color/greyPrimaryDark</item>
        <item name="colorAccent">@color/greyAccent</item>

        <item name="colorUnreadHighlight">@color/greyAccent</item>
        <item name="colorSeparator">@color/greyPrimary</item>

        <item name="colorActionBackground">@color/greyPrimary</item>

        <item name="colorFabBackground">@color/greyAccentDark</item>

        <item name="colorInfoForeground">@color/white</item>
        <item name="colorInfoBackground">@color/greyPrimary</item>

        <item name="android:windowBackground">@drawable/black_background</item>
        <item name="colorDrawerBackground">@color/black</item>
    </style>

    <style name="Theme.AppCompat.Translucent" parent="Theme.AppCompat.NoActionBar">
        <item name="android:background">@color/transparent</item>
        <item name="android:windowNoTitle">true</item>
        <item name="android:windowBackground">@color/transparent</item>
        <item name="android:colorBackgroundCacheHint">@null</item>
        <item name="android:windowIsTranslucent">true</item>
        <item name="android:windowAnimationStyle">@android:style/Animation</item>
    </style>

    <style name="activityAnimationStyle" parent="@android:style/Animation.Activity">
        <item name="android:activityOpenEnterAnimation">@anim/activity_open_enter</item>
        <item name="android:activityOpenExitAnimation">@anim/activity_open_exit</item>
        <item name="android:activityCloseEnterAnimation">@anim/activity_close_enter</item>
        <item name="android:activityCloseExitAnimation">@anim/activity_close_exit</item>
        <!--item name="android:fragmentOpenEnterAnimation">@anim/fragment_open_enter</item>
        <item name="android:fragmentOpenExitAnimation">@anim/fragment_open_exit</item>
        <item name="android:fragmentCloseEnterAnimation">@anim/fragment_close_enter</item>
        <item name="android:fragmentCloseExitAnimation">@anim/fragment_close_exit</item>
        <item name="android:fragmentFadeEnterAnimation">@anim/fragment_fade_enter</item>
        <item name="android:fragmentFadeExitAnimation">@anim/fragment_fade_exit</item-->
    </style>

    <style name="checkboxStyle" parent="Base.Widget.AppCompat.CompoundButton.CheckBox">
        <item name="android:textAppearance">@style/TextAppearance.AppCompat.Small</item>
        <item name="android:textColor">?android:attr/textColorSecondary</item>
    </style>

    <style name="buttonStyle" parent="Base.Widget.AppCompat.Button">
        <item name="android:textAppearance">@style/TextAppearance.AppCompat.Medium</item>
    </style>

    <style name="buttonStyleSmall" parent="Base.Widget.AppCompat.Button.Small">
        <item name="android:textAppearance">@style/TextAppearance.AppCompat.Small</item>
        <item name="android:minHeight">0dp</item>
        <item name="android:minWidth">0dp</item>
    </style>

    <style name="buttonStyleToggle" parent="Base.Widget.AppCompat.Button">
        <item name="android:textAppearance">@style/TextAppearance.AppCompat.Medium</item>
    </style>

    <style name="radioButtonStyle" parent="Base.Widget.AppCompat.CompoundButton.RadioButton">
        <item name="android:textAppearance">@style/TextAppearance.AppCompat.Small</item>
        <item name="android:textColor">?android:attr/textColorSecondary</item>
    </style>
</resources>
