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

    <color name="darkWindowBackground">#22252A</color>
    <color name="darkDivider">#10FFFFFF</color>
    <color name="dark_patch_addition_color">@color/material_green_900</color>
    <color name="dark_patch_deletion_color">@color/material_red_900</color>
    <color name="dark_patch_ref_color">@color/material_blue_grey_500</color>

    <style name="ThemeDark" parent="ThemeDark.Base"/>

    <style name="ThemeDark.Base" parent="Theme.AppCompat.NoActionBar">
        <item name="card_background">#2D3035</item>
        <item name="comment_box_style">@style/CommentBoxDark</item>
        <item name="icon_color">#eee</item>
        <item name="timeLineBackground">@style/TimeLineBackgroundDark</item>
        <item name="patch_addition">@color/dark_patch_addition_color</item>
        <item name="patch_deletion">@color/dark_patch_deletion_color</item>
        <item name="patch_ref">@color/dark_patch_ref_color</item>
        <item name="dividerColor">@color/darkDivider</item>
        <item name="android:windowBackground">@color/darkWindowBackground</item>
        <item name="colorPrimary">#2D3035</item>
        <item name="colorPrimaryDark">#26282C</item>
        <item name="colorAccent">#2196F3</item>
        <item name="colorControlNormal">?colorAccent</item>
        <item name="actionModeBackground">?colorPrimary</item>
        <item name="windowActionModeOverlay">true</item>
        <item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Material</item>
        <item name="bottomSheetDialogTheme">@style/AppBottomSheetDialogTheme</item>
        <item name="android:textColorPrimary">#eee</item>
        <item name="android:textColorSecondary">#9E9E9E</item>
        <item name="android:textColorTertiary">#ffe0e0e0</item>
        <item name="android:windowAllowEnterTransitionOverlap">true</item>
        <item name="android:windowAllowReturnTransitionOverlap">true</item>
        <item name="android:colorEdgeEffect">?colorPrimary</item>
        <item name="android:windowDrawsSystemBarBackgrounds">true</item>
        <item name="android:statusBarColor">@color/transparent</item>
        <item name="android:windowContentTransitions">true</item>
        <item name="android:dialogTheme">@style/DialogThemeDark</item>
        <item name="android:alertDialogTheme">@style/DialogThemeDark</item>
        <item name="android:toolbarStyle">@style/ToolbarStyleDark</item>
        <item name="android:windowLightStatusBar" tools:targetApi="m">false</item>
    </style>

    <style name="ThemeDark.Red" parent="ThemeDark.Base">
        <item name="colorAccent">@color/material_red_accent_700</item>
        <item name="android:alertDialogTheme">@style/DialogThemeDark.Red</item>
    </style>

    <style name="ThemeDark.Pink" parent="ThemeDark.Base">
        <item name="colorAccent">@color/material_pink_accent_700</item>
        <item name="android:alertDialogTheme">@style/DialogThemeDark.Pink</item>
    </style>

    <style name="ThemeDark.Purple" parent="ThemeDark.Base">
        <item name="colorAccent">@color/material_purple_accent_700</item>
        <item name="android:alertDialogTheme">@style/DialogThemeDark.Purple</item>
    </style>

    <style name="ThemeDark.DeepPurple" parent="ThemeDark.Base">
        <item name="colorAccent">@color/material_deep_purple_accent_700</item>
        <item name="android:alertDialogTheme">@style/DialogThemeDark.DeepPurple</item>
    </style>

    <style name="ThemeDark.Indigo" parent="ThemeDark.Base">
        <item name="colorAccent">@color/material_indigo_accent_700</item>
        <item name="android:alertDialogTheme">@style/DialogThemeDark.Indigo</item>
    </style>

    <style name="ThemeDark.LightBlue" parent="ThemeDark.Base">
        <item name="colorAccent">@color/material_light_blue_accent_700</item>
        <item name="android:alertDialogTheme">@style/DialogThemeDark.LightBlue</item>
    </style>

    <style name="ThemeDark.Cyan" parent="ThemeDark.Base">
        <item name="colorAccent">@color/material_cyan_accent_700</item>
        <item name="android:alertDialogTheme">@style/DialogThemeDark.Cyan</item>
    </style>

    <style name="ThemeDark.Teal" parent="ThemeDark.Base">
        <item name="colorAccent">@color/material_teal_accent_700</item>
        <item name="android:alertDialogTheme">@style/DialogThemeDark.Teal</item>
    </style>

    <style name="ThemeDark.Green" parent="ThemeDark.Base">
        <item name="colorAccent">@color/material_green_accent_700</item>
        <item name="android:alertDialogTheme">@style/DialogThemeDark.Green</item>
    </style>

    <style name="ThemeDark.LightGreen" parent="ThemeDark.Base">
        <item name="colorAccent">@color/material_light_green_accent_700</item>
        <item name="android:alertDialogTheme">@style/DialogThemeDark.LightGreen</item>
    </style>

    <style name="ThemeDark.Lime" parent="ThemeDark.Base">
        <item name="colorAccent">@color/material_lime_accent_700</item>
        <item name="android:alertDialogTheme">@style/DialogThemeDark.Lime</item>
    </style>

    <style name="ThemeDark.Yellow" parent="ThemeDark.Base">
        <item name="colorAccent">@color/material_yellow_accent_700</item>
        <item name="android:alertDialogTheme">@style/DialogThemeDark.Yellow</item>
    </style>

    <style name="ThemeDark.Amber" parent="ThemeDark.Base">
        <item name="colorAccent">@color/material_amber_accent_700</item>
        <item name="android:alertDialogTheme">@style/DialogThemeDark.Amber</item>
    </style>

    <style name="ThemeDark.Orange" parent="ThemeDark.Base">
        <item name="colorAccent">@color/material_orange_accent_700</item>
        <item name="android:alertDialogTheme">@style/DialogThemeDark.Orange</item>
    </style>

    <style name="ThemeDark.DeepOrange" parent="ThemeDark.Base">
        <item name="colorAccent">@color/material_deep_orange_accent_700</item>
        <item name="android:alertDialogTheme">@style/DialogThemeDark.DeepOrange</item>
    </style>

    <style name="ToolbarStyleDark">
        <item name="android:textColorPrimary">@color/white</item>
        <item name="colorControlNormal">@color/white</item>
        <item name="colorControlHighlight">#42ffffff</item>
        <item name="popupTheme">@style/PopupThemeDark</item>
    </style>

    <style name="PopupThemeDark" parent="ThemeOverlay.AppCompat">
        <item name="android:colorBackground">@color/darkWindowBackground</item>
    </style>

    <style name="TimeLineBackgroundDark">
        <item name="android:background">@drawable/ic_timeline_arrow_left</item>
        <item name="android:backgroundTint">#2D3035</item>
    </style>

    <style name="CommentBoxDark">
        <item name="android:background">@drawable/ic_edittext</item>
        <item name="android:backgroundTint">#2D3035</item>
    </style>

    <style name="DialogThemeDark" parent="Theme.AppCompat.Dialog.Alert">
        <item name="colorPrimary">#2D3035</item>
        <item name="colorPrimaryDark">#26282C</item>
        <item name="colorAccent">#2196F3</item>
        <item name="android:windowBackground">@color/darkWindowBackground</item>
    </style>

    <style name="DialogThemeDark.Red" parent="DialogThemeDark">
        <item name="colorAccent">@color/material_red_accent_700</item>
    </style>

    <style name="DialogThemeDark.Pink" parent="DialogThemeDark">
        <item name="colorAccent">@color/material_pink_accent_700</item>
    </style>

    <style name="DialogThemeDark.Purple" parent="DialogThemeDark">
        <item name="colorAccent">@color/material_purple_accent_700</item>
    </style>

    <style name="DialogThemeDark.DeepPurple" parent="DialogThemeDark">
        <item name="colorAccent">@color/material_deep_purple_accent_700</item>
    </style>

    <style name="DialogThemeDark.Indigo" parent="DialogThemeDark">
        <item name="colorAccent">@color/material_indigo_accent_700</item>
    </style>

    <style name="DialogThemeDark.LightBlue" parent="DialogThemeDark">
        <item name="colorAccent">@color/material_light_blue_accent_700</item>
    </style>

    <style name="DialogThemeDark.Cyan" parent="DialogThemeDark">
        <item name="colorAccent">@color/material_cyan_accent_700</item>
    </style>

    <style name="DialogThemeDark.Teal" parent="DialogThemeDark">
        <item name="colorAccent">@color/material_teal_accent_700</item>
    </style>

    <style name="DialogThemeDark.Green" parent="DialogThemeDark">
        <item name="colorAccent">@color/material_green_accent_700</item>
    </style>

    <style name="DialogThemeDark.LightGreen" parent="DialogThemeDark">
        <item name="colorAccent">@color/material_light_green_accent_700</item>
    </style>

    <style name="DialogThemeDark.Lime" parent="DialogThemeDark">
        <item name="colorAccent">@color/material_lime_accent_700</item>
    </style>

    <style name="DialogThemeDark.Yellow" parent="DialogThemeDark">
        <item name="colorAccent">@color/material_yellow_accent_700</item>
    </style>

    <style name="DialogThemeDark.Amber" parent="DialogThemeDark">
        <item name="colorAccent">@color/material_amber_accent_700</item>
    </style>

    <style name="DialogThemeDark.Orange" parent="DialogThemeDark">
        <item name="colorAccent">@color/material_orange_accent_700</item>
    </style>

    <style name="DialogThemeDark.DeepOrange" parent="DialogThemeDark">
        <item name="colorAccent">@color/material_deep_orange_accent_700</item>
    </style>

    <style name="AppTheme.AboutActivity.Dark" parent="ThemeDark">
        <item name="mal_popupOverlay">@style/Theme.Mal.Dark.PopupOverlay</item>
        <item name="colorPrimary">#2D3035</item>
        <item name="colorPrimaryDark">#26282C</item>
        <item name="colorAccent">#2196F3</item>
        <item name="mal_lightActionBar">false</item>
        <item name="mal_color_primary">#eee</item>
        <item name="mal_color_secondary">#ffe0e0e0</item>
    </style>

</resources>