<?xml version="1.0" encoding="utf-8"?>
<resources>

	<style name="BriarBaseTheme" parent="Theme.AppCompat.Light.DarkActionBar">
		<item name="actionBarStyle">@style/BriarActionBar</item>
		<item name="colorPrimary">@color/briar_primary</item>
		<item name="colorPrimaryDark">@color/briar_primary_dark</item>
		<item name="colorAccent">@color/briar_accent</item>
		<item name="android:windowBackground">@color/window_background</item>
		<item name="android:textColorPrimary">@color/briar_text_primary</item>
		<item name="android:textColorPrimaryInverse">@color/briar_text_primary_inverse</item>
		<item name="android:textColorSecondary">@color/briar_text_secondary</item>
		<item name="android:textColorSecondaryInverse">@color/briar_text_secondary_inverse</item>
		<item name="android:textColorTertiary">@color/briar_text_tertiary</item>
		<item name="android:textColorTertiaryInverse">@color/briar_text_tertiary_inverse</item>
		<item name="android:textColorLink">@color/briar_text_link</item>
	</style>

	<style name="BriarThemeNoActionBar" parent="Theme.AppCompat.Light.NoActionBar">
		<item name="toolbarStyle">@style/BriarToolbar</item>
		<item name="colorPrimary">@color/briar_primary</item>
		<item name="colorPrimaryDark">@color/briar_primary_dark</item>
		<item name="colorAccent">@color/briar_primary</item>
		<item name="android:windowBackground">@color/window_background</item>
		<item name="android:textColorPrimary">@color/briar_text_primary</item>
		<item name="android:textColorPrimaryInverse">@color/briar_text_primary_inverse</item>
		<item name="android:textColorSecondary">@color/briar_text_secondary</item>
		<item name="android:textColorSecondaryInverse">@color/briar_text_secondary_inverse</item>
		<item name="android:textColorTertiary">@color/briar_text_tertiary</item>
		<item name="android:textColorTertiaryInverse">@color/briar_text_tertiary_inverse</item>
		<item name="android:textColorLink">@color/briar_text_link</item>
	</style>

	<style name="BriarThemeNoActionBar.Default"/>

	<style name="BriarTheme" parent="BriarBaseTheme">
		<item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Material</item>
		<item name="android:listSeparatorTextViewStyle">@style/BriarTheme.ListSeparatorTextView</item>
	</style>

	<style name="BriarDialogTheme" parent="Theme.AppCompat.Light.Dialog">
		<item name="colorPrimary">@color/briar_primary</item>
		<item name="colorPrimaryDark">@color/briar_primary_dark</item>
		<item name="colorAccent">@color/briar_accent</item>
		<item name="buttonBarPositiveButtonStyle">@style/BriarButtonFlat.Positive</item>
		<item name="buttonBarNegativeButtonStyle">@style/BriarButtonFlat.Negative</item>
		<item name="android:textColorPrimary">@color/briar_text_primary</item>
		<item name="android:textColorPrimaryInverse">@color/briar_text_primary_inverse</item>
		<item name="android:textColorSecondary">@color/briar_text_secondary</item>
		<item name="android:textColorSecondaryInverse">@color/briar_text_secondary_inverse</item>
		<item name="android:textColorTertiary">@color/briar_text_tertiary</item>
		<item name="android:textColorTertiaryInverse">@color/briar_text_tertiary_inverse</item>
		<item name="android:textColorLink">@color/briar_text_link</item>
		<item name="android:windowAnimationStyle">@style/DialogAnimation</item>
	</style>

	<style name="DialogAnimation" parent="@android:style/Animation.Dialog">
		<item name="android:windowEnterAnimation">@android:anim/fade_in</item>
		<item name="android:windowExitAnimation">@android:anim/fade_out</item>
	</style>

	<!-- This fixes a UI bug in the support preference library -->
	<style name="BriarTheme.ListSeparatorTextView">
		<item name="android:textSize">14sp</item>
		<item name="android:textStyle">bold</item>
		<item name="android:textColor">@color/briar_accent</item>
		<item name="android:paddingTop">16dp</item>
		<item name="android:layout_marginBottom">16dp</item>
	</style>


</resources>