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

	<style name="BriarToolbar" parent="Widget.AppCompat.Toolbar">
		<item name="android:background">?colorPrimary</item>
		<item name="android:textColorPrimary">@color/briar_text_primary_inverse</item>
		<item name="android:textSize">@dimen/text_size_medium</item>
		<item name="colorPrimary">@color/briar_primary</item>
		<item name="titleTextAppearance">@style/BriarToolbarTextAppearance</item>
		<item name="android:theme">@style/BriarToolbarTheme</item>
	</style>

	<style name="BriarToolbarTheme">
		<item name="colorControlNormal">@color/briar_text_primary_inverse</item>
	</style>

	<style name="BriarToolbarTextAppearance" parent="TextAppearance.Widget.AppCompat.Toolbar.Title">
		<item name="android:textColor">@color/briar_text_primary_inverse</item>
	</style>

	<style name="BriarActionBar" parent="Base.Widget.AppCompat.Light.ActionBar.Solid">
		<item name="elevation">1dp</item>
	</style>

	<style name="BriarButton.Default">
		<item name="android:textAllCaps">true</item>
	</style>

	<style name="BriarButton" parent="Widget.AppCompat.Button.Colored">
		<item name="android:layout_width">match_parent</item>
		<item name="android:layout_height">wrap_content</item>
		<item name="android:textSize">@dimen/text_size_medium</item>
		<item name="android:padding">@dimen/margin_large</item>
	</style>

	<style name="BriarButtonFlat.Negative" parent="Widget.AppCompat.Button.Borderless">
		<item name="android:textColor">@color/briar_button_negative</item>
		<item name="android:textSize">@dimen/text_size_medium</item>
		<item name="android:padding">@dimen/margin_large</item>
	</style>

	<style name="BriarButtonFlat.Positive" parent="Widget.AppCompat.Button.Borderless">
		<item name="android:textColor">@color/briar_button_positive</item>
		<item name="android:textSize">@dimen/text_size_medium</item>
		<item name="android:padding">@dimen/margin_large</item>
	</style>

	<style name="BriarTextTitle">
		<item name="android:textSize">@dimen/text_size_medium</item>
		<item name="android:textColor">@android:color/primary_text_light</item>
	</style>

	<style name="BriarTextTitleInverted" parent="BriarTextTitle">
		<item name="android:textColor">@android:color/primary_text_dark</item>
	</style>

	<style name="BriarTextBody">
		<item name="android:textSize">@dimen/text_size_small</item>
		<item name="android:textColor">@android:color/primary_text_light</item>
	</style>

	<style name="BriarTag">
		<item name="android:layout_width">wrap_content</item>
		<item name="android:layout_height">wrap_content</item>
		<item name="android:layout_marginRight">@dimen/margin_medium</item>
		<item name="android:paddingLeft">3dp</item>
		<item name="android:paddingRight">3dp</item>
		<item name="android:background">@color/briar_primary</item>
		<item name="android:textSize">@dimen/text_size_tiny</item>
		<item name="android:textColor">@color/briar_text_primary_inverse</item>
	</style>

	<style name="Divider">
		<item name="android:background">@color/divider</item>
	</style>

	<style name="Divider.Horizontal" parent="Divider">
		<item name="android:layout_width">match_parent</item>
		<item name="android:layout_height">1px</item>
	</style>

	<style name="Divider.ContactList" parent="Divider">
		<item name="android:layout_width">match_parent</item>
		<item name="android:layout_height">1dp</item>
		<item name="android:layout_marginLeft">@dimen/margin_large</item>
	</style>

	<style name="Divider.ForumList" parent="Divider">
		<item name="android:layout_width">match_parent</item>
		<item name="android:layout_height">1dp</item>
	</style>

	<style name="BriarAvatar">
		<item name="civ_border_width">@dimen/avatar_border_width</item>
		<item name="civ_border_color">@color/briar_primary</item>

		<!-- Remove when we are using 'de.hdodenhof:circleimageview:2.1.0' -->
		<item name="civ_border_overlay">true</item>
	</style>

	<style name="NavMenuButton" parent="Widget.AppCompat.Button.Borderless.Colored">
		<item name="android:textSize">@dimen/text_size_medium</item>
		<item name="android:textColor">@android:color/tertiary_text_light</item>
		<item name="android:paddingTop">@dimen/margin_large</item>
		<item name="android:paddingBottom">@dimen/margin_large</item>
		<item name="android:drawablePadding">@dimen/margin_xlarge</item>
		<item name="android:gravity">left|center_vertical</item>
		<item name="android:layout_margin">0dp</item>
		<item name="android:paddingLeft">@dimen/margin_large</item>
	</style>

	<style name="DiscussionLevelIndicator">
		<item name="android:layout_marginLeft">4dp</item>
		<item name="android:background">?android:attr/listDivider</item>
	</style>

	<style name="BriarTabLayout" parent="Widget.Design.TabLayout">
		<item name="android:background">@color/briar_primary</item>
		<item name="tabMode">scrollable</item>
		<item name="tabMaxWidth">100dp</item>
		<item name="tabIndicatorColor">@color/briar_text_primary_inverse</item>
		<item name="tabIndicatorHeight">3dp</item>
		<item name="tabSelectedTextColor">@color/briar_text_primary_inverse</item>
		<item name="tabTextColor">@color/briar_text_primary_inverse</item>
	</style>

	<!-- This fixes the missing TextAppearance.Design.Counter.Overflow style -->
	<style name="BriarTextCounter.Overflow" parent="TextAppearance.Design.Counter">
		<item name="android:textColor">@color/briar_button_negative</item>
	</style>

</resources>