<resources>
    <attr name="colorUnread" format="reference" />
    <attr name="colorSeparator" format="reference" />
    <attr name="colorWarning" format="reference" />
    <attr name="colorDrawerScrim" format="reference" />
    <attr name="colorDrawerText" format="reference" />
    <attr name="colorDrawerBackground" format="reference" />
    <attr name="drawableItemBackground" format="reference" />

    <style name="AppThemeLight" parent="Base.Theme.AppCompat.Light.DarkActionBar">
        <item name="android:windowDisablePreview">true</item>

        <item name="colorPrimary">@color/colorPrimary</item>
        <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
        <item name="colorAccent">@color/colorAccent</item>

        <item name="colorUnread">@color/lightColorUnread</item>
        <item name="colorSeparator">@color/lightColorSeparator</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="drawableItemBackground">@drawable/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>
    </style>

    <style name="AppThemeDark" parent="Base.Theme.AppCompat">
        <item name="android:windowDisablePreview">true</item>

        <item name="colorPrimary">@color/colorPrimary</item>
        <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
        <item name="colorAccent">@color/colorAccent</item>

        <item name="colorUnread">@color/darkColorUnread</item>
        <item name="colorSeparator">@color/darkColorSeparator</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="drawableItemBackground">@drawable/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>
    </style>

    <style name="Theme.Transparent" parent="Base.Theme.AppCompat">
        <item name="android:windowIsTranslucent">true</item>
        <item name="android:windowBackground">@android:color/transparent</item>
        <item name="android:windowContentOverlay">@null</item>
        <item name="android:windowNoTitle">true</item>
        <item name="android:windowIsFloating">true</item>
        <item name="android:backgroundDimEnabled">false</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>
    </style>

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