<?xml version="1.0" encoding="utf-8"?>
<resources>
    <style
        name="AppCompatAlertDialogStyleLight"
        parent="Theme.AppCompat.Light.Dialog.Alert">
        <item name="buttonBarPositiveButtonStyle">@style/AlertDialogButton</item>
        <item name="buttonBarNegativeButtonStyle">@style/AlertDialogButton</item>
        <item name="buttonBarNeutralButtonStyle">@style/AlertDialogButton</item>
    </style>

    <style
        name="AppCompatAlertDialogStyleDark"
        parent="Theme.AppCompat.Dialog.Alert">
        <item name="buttonBarPositiveButtonStyle">@style/AlertDialogButton</item>
        <item name="buttonBarNegativeButtonStyle">@style/AlertDialogButton</item>
        <item name="buttonBarNeutralButtonStyle">@style/AlertDialogButton</item>
    </style>

    <style
        name="AlertDialogButton"
        parent="Widget.AppCompat.Button.ButtonBar.AlertDialog">
        <item name="android:textColor">@color/def_accent</item>
    </style>

    <style
        name="AppCompatDialogStyleLight"
        parent="Theme.AppCompat.Light.Dialog">
    </style>

    <style
        name="AppCompatDialogStyleDark"
        parent="Theme.AppCompat.Dialog">
    </style>

    <!-- ActionBar styles -->
    <style
        name="TextSecure.DarkActionBar"
        parent="@style/Widget.AppCompat.ActionBar">
        <item name="background">@color/gray95</item>
        <item name="elevation">4dp</item>
        <item name="popupTheme">@style/ThemeOverlay.AppCompat.Dark</item>
        <item name="titleTextStyle">@style/TextSecure.TitleTextStyle</item>
        <item name="subtitleTextStyle">@style/TextSecure.SubtitleTextStyle</item>
        <item name="android:textColorSecondary">@color/white</item>
    </style>

    <style
        name="TextSecure.LightActionBar"
        parent="@style/Widget.AppCompat.ActionBar">
        <item name="background">@color/def_primary</item>
        <item name="elevation">4dp</item>
        <item name="popupTheme">@style/ThemeOverlay.AppCompat.Light</item>
        <item name="titleTextStyle">@style/TextSecure.TitleTextStyle</item>
        <item name="subtitleTextStyle">@style/TextSecure.SubtitleTextStyle</item>
        <item name="android:textColorPrimary">@color/white</item>
        <item name="android:textColorSecondary">@color/white</item>
    </style>

    <style
        name="TextSecure.DarkActionBar.TabBar"
        parent="@style/Widget.AppCompat.ActionBar.TabBar">
        <item name="background">@color/gray95</item>
        <item name="android:background">@color/gray95</item>
        <item name="elevation">4dp</item>
    </style>

    <style
        name="TextSecure.LightActionBar.TabBar"
        parent="@style/Widget.AppCompat.ActionBar.TabBar">
        <item name="android:background">@color/def_primary</item>
        <item name="background">@color/def_primary</item>
        <item name="android:textColorPrimary">@color/white</item>
        <item name="android:textColorSecondary">#BFffffff</item>
        <item name="elevation">4dp</item>
    </style>

    <style
        name="TextSecure.TitleTextStyle"
        parent="TextAppearance.AppCompat.Widget.ActionBar.Title">
        <item name="android:textColor">@color/white</item>
        <item name="android:textColorHint">#BFffffff</item>
        <item name="android:textSize">20dp</item>
    </style>

    <style
        name="TextSecure.SubtitleTextStyle"
        parent="TextAppearance.AppCompat.Widget.ActionBar.Subtitle">
        <item name="android:textColor">#BFffffff</item>
    </style>


    <!-- For Holo Light Dialog Activity Styling Emulation -->

    <style
        name="ComposeEditText"
        parent="@style/Signal.Text.Body">
        <item name="android:padding">2dp</item>
        <item name="android:background">@null</item>
        <item name="android:maxLines">8</item>
        <item name="android:maxLength">64000</item>
        <item name="android:textColor">?conversation_item_outgoing_text_primary_color</item>
        <item name="android:capitalize">sentences</item>
        <item name="android:autoText">true</item>
        <item name="android:gravity">center_vertical</item>
        <item name="android:imeOptions">flagNoEnterAction</item>
        <item name="android:inputType">textAutoCorrect|textCapSentences|textMultiLine</item>
        <item name="android:contentDescription">@string/chat_input_placeholder</item>
    </style>

    <style name="AttachmentTypeLabel">
        <item name="android:textColor">#ff999999</item>
        <item name="android:textSize">14sp</item>
    </style>

    <style name="ButtonPrimary">
        <item name="drawableTint">@color/white</item>
        <item name="android:textColor">@color/white</item>
        <item name="android:paddingLeft">8dp</item>
        <item name="android:paddingRight">8dp</item>
        <item name="android:background">@drawable/button_bg</item>
    </style>

    <style name="ButtonSecondary">
        <item name="drawableTint">?attr/fab_color</item>
        <item name="android:drawablePadding">5dp</item>
        <item name="android:textColor">?attr/fab_color</item>
        <item name="android:paddingLeft">8dp</item>
        <item name="android:paddingRight">8dp</item>
        <item name="android:background">@drawable/button_secondary_background</item>
    </style>

    <style
        name="PreferenceThemeOverlay.Fix"
        parent="PreferenceThemeOverlay.v14.Material">
    </style>

    <style name="NoMessagesTextView">
        <item name="android:textColor">?attr/conversation_item_update_text_color</item>
        <item name="android:textSize">16sp</item>
        <item name="android:background">@drawable/conversation_item_update_background</item>
        <item name="android:layout_marginLeft">12dp</item>
        <item name="android:layout_marginRight">12dp</item>
        <item name="android:padding">12dp</item>
    </style>

    <style
        name="SwitchTheme"
        parent="Theme.AppCompat.Light">
        <item name="colorControlActivated">#ff2090ea</item>
    </style>

    <style
        name="ShapeAppearanceOverlay.App.CornerSize10Percent"
        parent="">
        <item name="cornerSize">7%</item>
    </style>




    <!-- =========================================================== -->


    <!-- PURPLE -->
    <style
        name="TextSecure.PurpleActionBar"
        parent="@style/Widget.AppCompat.ActionBar">
        <item name="background">@color/purple_primary</item>
        <item name="elevation">4dp</item>
        <item name="popupTheme">@style/ThemeOverlay.AppCompat.Light</item>
        <item name="titleTextStyle">@style/TextSecure.TitleTextStyle</item>
        <item name="subtitleTextStyle">@style/TextSecure.SubtitleTextStyle</item>
        <item name="android:textColorPrimary">@color/white</item>
        <item name="android:textColorSecondary">@color/white</item>
    </style>

    <style
        name="TextSecure.PurpleActionBar.TabBar"
        parent="@style/Widget.AppCompat.ActionBar.TabBar">
        <item name="android:background">@color/purple_primary</item>
        <item name="background">@color/purple_primary</item>
        <item name="android:textColorPrimary">@color/white</item>
        <item name="android:textColorSecondary">#BFffffff</item>
        <item name="elevation">4dp</item>
    </style>


    <!-- RED -->
    <style
        name="TextSecure.RedActionBar"
        parent="@style/Widget.AppCompat.ActionBar">
        <item name="background">@color/red_primary</item>
        <item name="elevation">4dp</item>
        <item name="popupTheme">@style/ThemeOverlay.AppCompat.Light</item>
        <item name="titleTextStyle">@style/TextSecure.TitleTextStyle</item>
        <item name="subtitleTextStyle">@style/TextSecure.SubtitleTextStyle</item>
        <item name="android:textColorPrimary">@color/white</item>
        <item name="android:textColorSecondary">@color/white</item>
    </style>

    <style
        name="TextSecure.RedActionBar.TabBar"
        parent="@style/Widget.AppCompat.ActionBar.TabBar">
        <item name="android:background">@color/red_primary</item>
        <item name="background">@color/red_primary</item>
        <item name="android:textColorPrimary">@color/white</item>
        <item name="android:textColorSecondary">#BFffffff</item>
        <item name="elevation">4dp</item>
    </style>


    <!-- GREEN -->
    <style
        name="TextSecure.GreenActionBar"
        parent="@style/Widget.AppCompat.ActionBar">
        <item name="background">@color/green_primary</item>
        <item name="elevation">4dp</item>
        <item name="popupTheme">@style/ThemeOverlay.AppCompat.Light</item>
        <item name="titleTextStyle">@style/TextSecure.TitleTextStyle</item>
        <item name="subtitleTextStyle">@style/TextSecure.SubtitleTextStyle</item>
        <item name="android:textColorPrimary">@color/white</item>
        <item name="android:textColorSecondary">@color/white</item>
    </style>

    <style
        name="TextSecure.GreenActionBar.TabBar"
        parent="@style/Widget.AppCompat.ActionBar.TabBar">
        <item name="android:background">@color/green_primary</item>
        <item name="background">@color/green_primary</item>
        <item name="android:textColorPrimary">@color/white</item>
        <item name="android:textColorSecondary">#BFffffff</item>
        <item name="elevation">4dp</item>
    </style>

    <!-- BLUE -->
    <style
        name="TextSecure.BlueActionBar"
        parent="@style/Widget.AppCompat.ActionBar">
        <item name="background">@color/blue_primary</item>
        <item name="elevation">4dp</item>
        <item name="popupTheme">@style/ThemeOverlay.AppCompat.Light</item>
        <item name="titleTextStyle">@style/TextSecure.TitleTextStyle</item>
        <item name="subtitleTextStyle">@style/TextSecure.SubtitleTextStyle</item>
        <item name="android:textColorPrimary">@color/white</item>
        <item name="android:textColorSecondary">@color/white</item>
    </style>

    <style
        name="TextSecure.BlueActionBar.TabBar"
        parent="@style/Widget.AppCompat.ActionBar.TabBar">
        <item name="android:background">@color/blue_primary</item>
        <item name="background">@color/blue_primary</item>
        <item name="android:textColorPrimary">@color/white</item>
        <item name="android:textColorSecondary">#BFffffff</item>
        <item name="elevation">4dp</item>
    </style>

    <!-- PINK -->
    <style
        name="TextSecure.PinkActionBar"
        parent="@style/Widget.AppCompat.ActionBar">
        <item name="background">@color/pink_primary</item>
        <item name="elevation">4dp</item>
        <item name="popupTheme">@style/ThemeOverlay.AppCompat.Light</item>
        <item name="titleTextStyle">@style/TextSecure.TitleTextStyle</item>
        <item name="subtitleTextStyle">@style/TextSecure.SubtitleTextStyle</item>
        <item name="android:textColorPrimary">@color/white</item>
        <item name="android:textColorSecondary">@color/white</item>
    </style>

    <style
        name="TextSecure.PinkActionBar.TabBar"
        parent="@style/Widget.AppCompat.ActionBar.TabBar">
        <item name="android:background">@color/pink_primary</item>
        <item name="background">@color/pink_primary</item>
        <item name="android:textColorPrimary">@color/white</item>
        <item name="android:textColorSecondary">#BFffffff</item>
        <item name="elevation">4dp</item>
    </style>


    <!-- GRAY -->
    <style
        name="TextSecure.GrayActionBar"
        parent="@style/Widget.AppCompat.ActionBar">
        <item name="background">@color/gray_primary</item>
        <item name="elevation">4dp</item>
        <item name="popupTheme">@style/ThemeOverlay.AppCompat.Light</item>
        <item name="titleTextStyle">@style/TextSecure.TitleTextStyle</item>
        <item name="subtitleTextStyle">@style/TextSecure.SubtitleTextStyle</item>
        <item name="android:textColorPrimary">@color/white</item>
        <item name="android:textColorSecondary">@color/white</item>
    </style>

    <style
        name="TextSecure.GrayActionBar.TabBar"
        parent="@style/Widget.AppCompat.ActionBar.TabBar">
        <item name="android:background">@color/gray_primary</item>
        <item name="background">@color/gray_primary</item>
        <item name="android:textColorPrimary">@color/white</item>
        <item name="android:textColorSecondary">#BFffffff</item>
        <item name="elevation">4dp</item>
    </style>
</resources>
