<resources>

	<!-- Base application theme. -->
	<style name="AppTheme" parent="AppTheme.Base" />

	<style name="Theme.AppCompat.DayNight" parent="Theme.Material3.Light" />

	<style name="AppTheme.Base" parent="Theme.Material3.DayNight.NoActionBar">
		<item name="colorPrimary">@color/colorPrimary</item>
		<item name="colorPrimaryDark">@color/colorPrimary</item>
		<item name="colorAccent">@color/colorPrimaryTransparent</item>
		<item name="colorOnPrimary">@color/colorWhite</item>
		<item name="colorError">@color/textColorError</item>
		<item name="android:textColorHighlight">@color/colorPrimaryTransparent</item>

		<item name="android:windowAnimationStyle">@style/CustomActivityAnimation</item>

		<item name="android:fontFamily">@font/open_sans</item>

		<item name="floatingActionButtonStyle">@style/AppTheme.FloatingActionButton</item>
		<item name="toolbarStyle">@style/AppTheme.Toolbar</item>
		<item name="snackbarStyle">@style/AppTheme.Snackbar</item>
		<item name="snackbarButtonStyle">@style/AppTheme.SnackbarButton</item>
		<item name="snackbarTextViewStyle">@style/AppTheme.SnackbarTextview</item>
		<item name="preferenceTheme">@style/PreferenceTheme</item>
		<item name="bottomSheetDialogTheme">@style/ModalBottomSheetDialog</item>

		<item name="popupMenuBackground">@color/popupMenuBackgroundColor</item>
	</style>

	<style name="AppTheme.Starting" parent="Theme.SplashScreen.IconBackground">
		<item name="windowSplashScreenBackground">@color/colorPrimary</item>
		<item name="windowSplashScreenAnimatedIcon">@drawable/ic_launcher_foreground</item>
		<item name="windowSplashScreenIconBackgroundColor">@color/colorWhite</item>
		<item name="postSplashScreenTheme">@style/AppTheme</item>
	</style>

	<style name="AppTheme.Hint">
		<item name="android:layout_width">wrap_content</item>
		<item name="android:layout_height">wrap_content</item>
		<item name="android:layout_centerVertical">true</item>
		<item name="android:layout_centerHorizontal">true</item>
		<item name="android:layout_gravity">center</item>
	</style>

	<style name="AppTheme.ProgressBar">
		<item name="android:layout_width">wrap_content</item>
		<item name="android:layout_height">wrap_content</item>
		<item name="android:layout_centerInParent">true</item>
		<item name="android:layout_gravity">center</item>
		<item name="android:visibility">visible</item>
	</style>

	<style name="AppTheme.RetryButton">
		<item name="android:layout_width">wrap_content</item>
		<item name="android:layout_height">wrap_content</item>
		<item name="android:layout_centerVertical">true</item>
		<item name="android:layout_centerHorizontal">true</item>
		<item name="android:layout_gravity">center</item>
	</style>

	<style name="AppTheme.ListItem">
		<item name="android:gravity">center_vertical</item>
		<item name="android:layout_height">48dp</item>
		<item name="android:textSize">16sp</item>
		<item name="android:layout_width">match_parent</item>
		<item name="android:layout_marginStart">16dp</item>
		<item name="android:layout_marginEnd">16dp</item>
		<item name="android:paddingBottom">16dp</item>
		<item name="android:drawablePadding">32dp</item>
		<item name="android:clickable">true</item>
		<item name="android:focusable">true</item>
	</style>

	<style name="AppTheme.ListItemDarkTextColor">
		<item name="android:textColor">@color/textColorPrimary</item>
	</style>

	<style name="AppTheme.ListItemLightTextColor">
		<item name="android:textColor">@color/textColorLight</item>
	</style>

	<style name="AppTheme.Toolbar" parent="Widget.Material3.Toolbar">
		<item name="materialThemeOverlay">@style/Toolbar</item>
		<item name="titleTextAppearance">@style/Toolbar.TitleText</item>
		<item name="subtitleTextAppearance">@style/Toolbar.SubtitleText</item>
	</style>

	<style name="Toolbar" parent="">
		<item name="colorOnSurface">@color/colorWhite</item>
		<item name="colorOnPrimary">@color/colorWhite</item>
		<item name="colorOnSurfaceVariant">@color/colorWhite</item>
		<item name="colorControlNormal">@color/colorWhite</item>
		<item name="android:editTextColor">@color/colorWhite</item>
	</style>

	<style name="Toolbar.TitleText" parent="TextAppearance.Material3.TitleLarge">
		<item name="fontFamily">@font/quicksand_medium</item>
		<item name="android:fontFamily">@font/quicksand_medium</item>
		<item name="android:textColor">@color/colorWhite</item>
	</style>

	<style name="Toolbar.SubtitleText" parent="TextAppearance.Material3.TitleMedium">
		<item name="fontFamily">@font/quicksand_medium</item>
		<item name="android:fontFamily">@font/quicksand_medium</item>
		<item name="android:textColor">@color/colorWhite</item>
	</style>

	<style name="AppTheme.Snackbar" parent="Widget.Material3.Snackbar">
		<item name="materialThemeOverlay">@style/Snackbar</item>
		<item name="backgroundTint">@color/colorWhite</item>
	</style>

	<style name="Snackbar" parent="">
		<item name="backgroundTint">@color/colorWhite</item>
	</style>

	<style name="AppTheme.SnackbarButton" parent="Widget.Material3.Button.TextButton.Snackbar">
		<item name="android:textColor">@color/colorPrimary</item>
	</style>

	<style name="AppTheme.SnackbarTextview" parent="Widget.Material3.Snackbar.TextView">
		<item name="android:textColor">@color/textColorPrimary</item>
	</style>

	<style name="AppTheme.FloatingActionButton" parent="Widget.Material3.FloatingActionButton.Primary">
		<item name="materialThemeOverlay">@style/FloatingActionButton</item>
	</style>

	<style name="FloatingActionButton" parent="">
		<item name="colorContainer">@color/colorPrimary</item>
		<item name="colorOnContainer">@color/colorWhite</item>
	</style>

	<style name="PreferenceTheme" parent="@style/BasePreferenceThemeOverlay">
		<item name="preferenceCategoryTitleTextColor">@color/colorPrimary</item>
		<item name="android:textColor">@color/textColorPrimary</item>
	</style>

	<style name="ModalBottomSheetDialog" parent="ThemeOverlay.Material3.BottomSheetDialog">
		<item name="bottomSheetStyle">@style/ModalBottomSheet</item>
	</style>

	<style name="ModalBottomSheet" parent="Widget.Material3.BottomSheet.Modal">
		<item name="backgroundColor">@color/popupMenuBackgroundColor</item>
		<item name="backgroundTint">@color/popupMenuBackgroundTintColor</item>
	</style>

	<style name="CustomActivityAnimation" parent="@android:style/Animation.Activity">
		<item name="android:activityOpenEnterAnimation">@anim/slide_in_right</item>
		<item name="android:activityOpenExitAnimation">@anim/slide_out_left</item>
		<item name="android:activityCloseEnterAnimation">@anim/slide_in_left</item>
		<item name="android:activityCloseExitAnimation">@anim/slide_out_right</item>
	</style>

	<style name="Theme.Transparent" parent="@style/Theme.Material3.DayNight.NoActionBar">
		<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
		<item name="android:windowNoTitle">true</item>
		<item name="android:windowBackground">@android:color/transparent</item>
		<item name="android:colorBackgroundCacheHint">@null</item>
		<!-- windowIsTranslucent=false due to https://issuetracker.google.com/issues/68454482 see #467 -->
		<item name="android:windowIsTranslucent">false</item>
		<item name="android:windowAnimationStyle">@null</item>
	</style>

	<!-- keep in sync with v27 style -->
	<style name="FullscreenTheme" parent="AppTheme">
		<item name="android:windowBackground">@null</item>
	</style>

	<!-- keep in sync with v27 style -->
	<style name="TransparentPopUp" parent="AppTheme">
		<item name="android:windowBackground">@android:color/transparent</item>
		<item name="android:windowIsTranslucent">true</item>
	</style>

</resources>
