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

    <style name="Signal.Widget.Button.Base.Primary" parent="Widget.MaterialComponents.Button.UnelevatedButton">
        <item name="android:insetTop">0dp</item>
        <item name="android:insetBottom">0dp</item>
        <item name="android:textAllCaps">false</item>
        <item name="android:textColor">@color/signal_button_primary_text_selector</item>
        <item name="android:fontFamily">sans-serif-medium</item>
        <item name="iconGravity">textEnd</item>
        <item name="backgroundTint">@color/signal_button_primary</item>
        <item name="iconTint">@color/signal_button_primary_text_selector</item>
        <item name="rippleColor">@color/signal_button_primary_ripple</item>
    </style>

    <style name="Signal.Widget.Button.Large.Primary" parent="@style/Signal.Widget.Button.Base.Primary">
        <item name="android:minHeight">48dp</item>
    </style>

    <style name="Signal.Widget.Button.Medium.Primary" parent="@style/Signal.Widget.Button.Base.Primary">
        <item name="android:minHeight">36dp</item>
        <item name="cornerRadius">8dp</item>
    </style>

    <style name="Signal.Widget.Button.Small.Primary" parent="Widget.MaterialComponents.Button.OutlinedButton">
        <item name="android:textAllCaps">false</item>
        <item name="android:paddingTop">6dp</item>
        <item name="android:paddingBottom">7dp</item>
        <item name="android:paddingStart">14dp</item>
        <item name="android:paddingEnd">14dp</item>
        <item name="android:minHeight">0dp</item>
        <item name="android:textSize">13sp</item>
        <item name="android:fontFamily">sans-serif-medium</item>
        <item name="android:letterSpacing" tools:targetApi="21">0.01</item>
        <item name="strokeWidth">2dp</item>
        <item name="cornerRadius">18dp</item>
        <item name="android:textColor">@color/signal_button_secondary_text_selector</item>
        <item name="strokeColor">@color/signal_button_secondary_stroke</item>
        <item name="backgroundTint">@color/signal_background_primary</item>
        <item name="rippleColor">@color/signal_button_secondary</item>
    </style>

    <style name="Signal.Widget.Button.Base.Secondary" parent="Widget.MaterialComponents.Button.OutlinedButton">
        <item name="android:insetTop">0dp</item>
        <item name="android:insetBottom">0dp</item>
        <item name="android:textAllCaps">false</item>
        <item name="android:textColor">@color/signal_button_secondary_text_selector</item>
        <item name="iconGravity">textEnd</item>
        <item name="iconTint">@color/signal_button_secondary_text_selector</item>
        <item name="strokeColor">@color/signal_button_secondary_stroke</item>
        <item name="strokeWidth">2dp</item>
        <item name="rippleColor">@color/signal_button_secondary_ripple</item>
    </style>

    <style name="Signal.Widget.Button.Large.Secondary" parent="@style/Signal.Widget.Button.Base.Secondary">
        <item name="android:minHeight">48dp</item>
    </style>

    <style name="Signal.Widget.Button.Medium.Secondary" parent="@style/Signal.Widget.Button.Base.Secondary">
        <item name="android:minHeight">36dp</item>
        <item name="strokeWidth">0dp</item>
    </style>

    <style name="Signal.Widget.CompoundButton.RadioButton" parent="Widget.AppCompat.CompoundButton.RadioButton">
        <item name="colorControlNormal">@color/core_grey_50</item>
    </style>

    <style name="Signal.DayNight.Popup" parent="@style/ThemeOverlay.AppCompat.Light" />

    <style name="Signal.DayNight.Toolbar.Overflow" parent="@style/Signal.Toolbar.Overflow.Light" />

    <style name="Signal.DayNight.TitleTextStyle" parent="@style/TextSecure.TitleTextStyle" />
</resources>
