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

	<style name="TransparentDialog" parent="android:Theme.Dialog">
	<item name="android:windowIsTranslucent">true</item>
	<item name="android:windowBackground">@android:color/transparent</item>
	<item name="android:windowContentOverlay">@null</item>
	<item name="android:windowNoTitle">true</item>
	<item name="android:windowIsFloating">true</item>
	<item name="android:backgroundDimEnabled">false</item>
	</style>

	<style name="Theme.Mastodon.Light" parent="Theme.AppKit.Light">
		<!-- needed to disable scrim on API 29+ -->
		<item name="android:enforceNavigationBarContrast" tools:ignore="NewApi">false</item>
		<item name="android:enforceStatusBarContrast" tools:ignore="NewApi">false</item>
		<item name="appkitBackDrawable">@drawable/ic_fluent_arrow_left_24_regular</item>
		<item name="android:splitMotionEvents">false</item>
		<item name="android:windowBackground">?colorWindowBackground</item>
		<item name="android:editTextStyle">@style/Widget.Mastodon.EditText</item>

		<item name="android:buttonStyle">@style/Widget.Mastodon.Button.Primary_DarkOnLight</item>
		<item name="secondaryButtonStyle">@style/Widget.Mastodon.Button.Secondary_DarkOnLight</item>
		<item name="primaryLargeButtonStyle">@style/Widget.Mastodon.Button.Large.Primary_DarkOnLight</item>
		<item name="secondaryLargeButtonStyle">@style/Widget.Mastodon.Button.Large.Secondary_DarkOnLight</item>
		<item name="android:colorAccent">?colorPrimary700</item>
		<item name="android:colorPrimary">?colorGray800</item>
		<item name="android:colorBackground">?colorGray100</item>
		<item name="android:textColorPrimary">?colorGray800</item>
		<item name="android:textColorSecondary">?colorGray500</item>
		<item name="colorButtonText">?colorGray50</item>
		<item name="colorSecondary">?colorGray200</item>
		<item name="colorBackgroundLight">?colorGray50</item>
		<item name="colorBackgroundLightest">?colorGray25</item>
		<item name="colorBackgroundPopup">?colorBackgroundLightest</item>
		<item name="colorDarkIcon">?colorGray900</item>
		<item name="colorWindowBackground">@color/white</item>
		<item name="android:statusBarColor">?colorGray50</item>
		<item name="android:navigationBarColor">?android:statusBarColor</item>
		<item name="android:actionBarTheme">@style/Theme.Mastodon.Toolbar</item>
		<item name="android:alertDialogTheme">@style/Theme.Mastodon.Dialog.Alert</item>
		<item name="android:datePickerDialogTheme">@style/Theme.Mastodon.Dialog.Alert</item>
		<item name="android:timePickerDialogTheme">@style/Theme.Mastodon.Dialog.Alert</item>
		<item name="colorPollMostVoted">?colorPrimary500</item>
		<item name="colorPollVoted">?colorGray300</item>
		<item name="colorAccentLight">?colorPrimary600</item>
		<item name="colorSearchField">?colorGray200</item>
		<item name="colorSearchHint">?colorGray600</item>
		<item name="colorTabInactive">?colorGray400</item>
		<item name="colorAccentLightest">?colorPrimary100</item>
		<item name="profileHeaderBackground">?colorGray500</item>
		<item name="toolbarBackground">?colorGray50</item>
		<item name="colorComposeButtonBackground">?colorGray50</item>
		<item name="colorComposeButton">?android:textColorPrimary</item>
		<item name="composeButtonStyle">@style/Widget.Mastodon.Button.Compose</item>

		<item name="buttonBackground">@drawable/bg_button_primary_dark_on_light</item>
		<item name="android:editTextBackground">@drawable/bg_edittext_light</item>

		<item name="android:windowLightStatusBar">true</item>
		<item name="android:windowLightNavigationBar" tools:ignore="NewApi">true</item>
		<item name="android:popupMenuStyle">@style/Widget.Mastodon.PopupMenu</item>
		<item name="android:actionOverflowMenuStyle">@style/Widget.Mastodon.PopupMenu</item>

		<!-- M3 colors -->
		<item name="colorM3Primary">@color/m3_sys_light_primary</item>
		<item name="colorM3OnPrimary">@color/m3_sys_light_on_primary</item>
		<item name="colorM3PrimaryContainer">@color/m3_sys_light_primary_container</item>
		<item name="colorM3OnPrimaryContainer">@color/m3_sys_light_on_primary_container</item>
		<item name="colorM3Secondary">@color/m3_sys_light_secondary</item>
		<item name="colorM3OnSecondary">@color/m3_sys_light_on_secondary</item>
		<item name="colorM3SecondaryContainer">@color/m3_sys_light_secondary_container</item>
		<item name="colorM3OnSecondaryContainer">@color/m3_sys_light_on_secondary_container</item>
		<item name="colorM3Tertiary">@color/m3_sys_light_tertiary</item>
		<item name="colorM3OnTertiary">@color/m3_sys_light_on_tertiary</item>
		<item name="colorM3TertiaryContainer">@color/m3_sys_light_tertiary_container</item>
		<item name="colorM3OnTertiaryContainer">@color/m3_sys_light_on_tertiary_container</item>
		<item name="colorM3Background">@color/m3_sys_light_background</item>
		<item name="colorM3OnBackground">@color/m3_sys_light_on_background</item>
		<item name="colorM3Surface">@color/m3_sys_light_surface</item>
		<item name="colorM3OnSurface">@color/m3_sys_light_on_surface</item>
		<item name="colorM3SurfaceVariant">@color/m3_sys_light_surface_variant</item>
		<item name="colorM3OnSurfaceVariant">@color/m3_sys_light_on_surface_variant</item>
		<item name="colorM3Outline">@color/m3_sys_light_outline</item>
		<item name="colorM3DisabledBackground">#1F1F1F1F</item>
		<item name="colorM3PressedOverlay">@color/m3_sys_light_on_primary</item>
		<item name="colorM3Error">#B3261E</item>
		<item name="colorM3OnError">#FFF</item>
		<item name="colorM3ErrorContainer">#F9DEDC</item>
		<item name="colorM3OnErrorContainer">#410E0B</item>

		<!-- colors for button_bg|text_primary|secondary_dark|light_on_light|dark.xml -->
		<item name="colorButtonBackgroundPrimaryDarkOnLight">?colorGray800</item>
		<item name="colorButtonBackgroundPrimaryDarkOnLightDisabled">?colorGray300</item>
		<item name="colorButtonTextPrimaryDarkOnLight">?colorGray50</item>
		<item name="colorButtonTextPrimaryDarkOnLightDisabled">?colorGray400</item>
		<item name="colorButtonBackgroundPrimaryLightOnDark">?colorGray100</item>
		<item name="colorButtonBackgroundPrimaryLightOnDarkDisabled">?colorGray500</item>
		<item name="colorButtonTextPrimaryLightOnDark">?colorGray800</item>
		<item name="colorButtonTextPrimaryLightOnDarkDisabled">?colorGray400</item>
		<item name="colorButtonBackgroundSecondaryDarkOnLight">?colorGray25</item>
		<item name="colorButtonBackgroundSecondaryDarkOnLightDisabled">?colorGray100</item>
		<item name="colorButtonTextSecondaryDarkOnLight">?colorGray800</item>
		<item name="colorButtonTextSecondaryDarkOnLightDisabled">?colorGray400</item>
		<item name="colorButtonBackgroundSecondaryLightOnDark">?colorGray600</item>
		<item name="colorButtonBackgroundSecondaryLightOnDarkDisabled">?colorGray300</item>
		<item name="colorButtonTextSecondaryLightOnDark">?colorGray50</item>
		<item name="colorButtonTextSecondaryLightOnDarkDisabled">?colorGray400</item>
	</style>


	<style name="Theme.Mastodon.Dark" parent="Theme.AppKit">
		<!-- needed to disable scrim on API 29+ -->
		<item name="android:enforceNavigationBarContrast" tools:ignore="NewApi">false</item>
		<item name="android:enforceStatusBarContrast" tools:ignore="NewApi">false</item>
		<item name="appkitBackDrawable">@drawable/ic_fluent_arrow_left_24_regular</item>
		<item name="android:splitMotionEvents">false</item>
		<item name="android:windowBackground">?colorWindowBackground</item>
		<item name="android:editTextStyle">@style/Widget.Mastodon.EditText</item>

		<item name="android:buttonStyle">@style/Widget.Mastodon.Button.Primary_LightOnDark</item>
		<item name="secondaryButtonStyle">@style/Widget.Mastodon.Button.Secondary_LightOnDark</item>
		<item name="primaryLargeButtonStyle">@style/Widget.Mastodon.Button.Large.Primary_LightOnDark</item>
		<item name="secondaryLargeButtonStyle">@style/Widget.Mastodon.Button.Large.Secondary_LightOnDark</item>
		<item name="android:colorAccent">?colorPrimary400</item>
		<item name="android:colorPrimary">?colorGray50</item>
		<item name="android:colorBackground">?colorGray700</item>
		<item name="android:textColorPrimary">?colorGray50</item>
		<item name="android:textColorSecondary">?colorGray400</item>
		<item name="colorButtonText">?colorGray800</item>
		<item name="colorSecondary">?colorGray200</item>
		<item name="colorBackgroundLight">?colorGray700</item>
		<item name="colorBackgroundLightest">?colorGray900</item>
		<item name="colorBackgroundPopup">?colorBackgroundLightest</item>
		<item name="colorDarkIcon">?colorGray25</item>
		<item name="colorWindowBackground">?colorGray800</item>
		<item name="android:statusBarColor">?colorGray800</item>
		<item name="android:navigationBarColor">?android:statusBarColor</item>
		<item name="android:actionBarTheme">@style/Theme.Mastodon.Toolbar.Dark</item>
		<item name="android:alertDialogTheme">@style/Theme.Mastodon.Dialog.Alert.Dark</item>
		<item name="android:datePickerDialogTheme">@style/Theme.Mastodon.Dialog.Alert.Dark</item>
		<item name="android:timePickerDialogTheme">@style/Theme.Mastodon.Dialog.Alert.Dark</item>
		<item name="colorPollMostVoted">?colorPrimary700</item>
		<item name="colorPollVoted">?colorGray600</item>
		<item name="colorAccentLight">?colorPrimary600</item>
		<item name="colorAccentLightest">?colorPrimary800</item>
		<item name="colorTabInactive">?colorGray400</item>
		<item name="profileHeaderBackground">?colorWindowBackground</item>
		<item name="colorSearchField">?colorGray700</item>
		<item name="colorSearchHint">?colorGray300</item>
		<item name="toolbarBackground">?colorGray800</item>
		<item name="colorComposeButton">?colorPrimary700</item>
		<item name="colorComposeButtonBackground">?colorGray100</item>

		<item name="composeButtonStyle">@style/Widget.Mastodon.Button.Compose</item>

		<item name="buttonBackground">@drawable/bg_button_primary_light_on_dark</item>
		<item name="android:editTextBackground">@drawable/bg_edittext_dark</item>

		<item name="android:windowLightStatusBar">false</item>
		<item name="android:windowLightNavigationBar" tools:ignore="NewApi">false</item>
		<item name="android:popupMenuStyle">@style/Widget.Mastodon.PopupMenu</item>
		<item name="android:actionOverflowMenuStyle">@style/Widget.Mastodon.PopupMenu</item>

		<!-- M3 colors -->
		<item name="colorM3Primary">@color/m3_sys_dark_primary</item>
		<item name="colorM3OnPrimary">@color/m3_sys_dark_on_primary</item>
		<item name="colorM3PrimaryContainer">@color/m3_sys_dark_primary_container</item>
		<item name="colorM3OnPrimaryContainer">@color/m3_sys_dark_on_primary_container</item>
		<item name="colorM3Secondary">@color/m3_sys_dark_secondary</item>
		<item name="colorM3OnSecondary">@color/m3_sys_dark_on_secondary</item>
		<item name="colorM3SecondaryContainer">@color/m3_sys_dark_secondary_container</item>
		<item name="colorM3OnSecondaryContainer">@color/m3_sys_dark_on_secondary_container</item>
		<item name="colorM3Tertiary">@color/m3_sys_dark_tertiary</item>
		<item name="colorM3OnTertiary">@color/m3_sys_dark_on_tertiary</item>
		<item name="colorM3TertiaryContainer">@color/m3_sys_dark_tertiary_container</item>
		<item name="colorM3OnTertiaryContainer">@color/m3_sys_dark_on_tertiary_container</item>
		<item name="colorM3Background">@color/m3_sys_dark_background</item>
		<item name="colorM3OnBackground">@color/m3_sys_dark_on_background</item>
		<item name="colorM3Surface">@color/m3_sys_dark_surface</item>
		<item name="colorM3OnSurface">@color/m3_sys_dark_on_surface</item>
		<item name="colorM3SurfaceVariant">@color/m3_sys_dark_surface_variant</item>
		<item name="colorM3OnSurfaceVariant">@color/m3_sys_dark_on_surface_variant</item>
		<item name="colorM3Outline">@color/m3_sys_dark_outline</item>
		<item name="colorM3DisabledBackground">#1FE3E3E3</item>
		<item name="colorM3PressedOverlay">@color/m3_sys_dark_primary</item>
		<item name="colorM3Error">#F2B8B5</item>
		<item name="colorM3OnError">#601410</item>
		<item name="colorM3ErrorContainer">#8C1D18</item>
		<item name="colorM3OnErrorContainer">#F9DEDC</item>

		<!-- colors for button_bg|text_primary|secondary_dark|light_on_light|dark.xml -->
		<item name="colorButtonBackgroundPrimaryDarkOnLight">?colorGray800</item>
		<item name="colorButtonBackgroundPrimaryDarkOnLightDisabled">?colorGray300</item>
		<item name="colorButtonTextPrimaryDarkOnLight">?colorGray50</item>
		<item name="colorButtonTextPrimaryDarkOnLightDisabled">?colorGray400</item>
		<item name="colorButtonBackgroundPrimaryLightOnDark">?colorGray100</item>
		<item name="colorButtonBackgroundPrimaryLightOnDarkDisabled">?colorGray500</item>
		<item name="colorButtonTextPrimaryLightOnDark">?colorGray800</item>
		<item name="colorButtonTextPrimaryLightOnDarkDisabled">?colorGray400</item>
		<item name="colorButtonBackgroundSecondaryDarkOnLight">?colorGray25</item>
		<item name="colorButtonBackgroundSecondaryDarkOnLightDisabled">?colorGray100</item>
		<item name="colorButtonTextSecondaryDarkOnLight">?colorGray800</item>
		<item name="colorButtonTextSecondaryDarkOnLightDisabled">?colorGray400</item>
		<item name="colorButtonBackgroundSecondaryLightOnDark">?colorGray600</item>
		<item name="colorButtonBackgroundSecondaryLightOnDarkDisabled">?colorGray300</item>
		<item name="colorButtonTextSecondaryLightOnDark">?colorGray50</item>
		<item name="colorButtonTextSecondaryLightOnDarkDisabled">?colorGray400</item>
	</style>

	<style name="Theme.Mastodon.Dark.TrueBlack">
		<item name="android:navigationBarColor">@color/black</item>
		<item name="android:colorBackground">@color/black</item>
		<item name="android:statusBarColor">@color/black</item>
		<item name="android:actionBarTheme">@style/Theme.Mastodon.Toolbar.Dark.TrueBlack</item>
		<item name="colorBackgroundLight">@color/black</item>
		<item name="colorButtonText">@color/black</item>
		<item name="colorPollVoted">?colorGray700</item>
		<item name="colorSearchField">?colorGray900</item>
		<item name="colorBackgroundLightest">@color/black</item>
		<item name="colorBackgroundPopup">?colorGray900</item>
		<item name="colorWindowBackground">@color/black</item>
		<item name="colorComposeButton">?android:colorAccent</item>
		<item name="colorComposeButtonBackground">?colorGray100</item>

		<item name="colorM3Background">#000</item>
		<!--		<item name="colorButtonBackgroundPrimaryLightOnDarkDisabled">?colorGray900</item>-->
	</style>

	<style name="Theme.Mastodon.AutoLightDark" parent="Theme.Mastodon.Light"/>
	<style name="Theme.Mastodon.AutoLightDark.TrueBlack" parent="Theme.Mastodon.Light"/>

	<style name="Theme.Mastodon.Toolbar" parent="android:ThemeOverlay.Material.ActionBar">
		<item name="android:colorPrimary">?toolbarBackground</item>
		<item name="android:toolbarStyle">@style/Widget.Mastodon.Toolbar</item>
		<item name="android:textColorPrimary">?colorGray800</item>
		<item name="android:textColorSecondary">?colorGray800</item>
		<item name="android:actionOverflowButtonStyle">@style/Widget.Mastodon.ActionButton.Overflow</item>
	</style>

	<style name="Widget.Mastodon.ActionButton.Overflow" parent="android:Widget.Material.ActionButton.Overflow">
		<item name="android:src">@drawable/ic_fluent_more_vertical_24_regular</item>
	</style>

	<style name="Theme.Mastodon.Toolbar.Dark" parent="android:ThemeOverlay.Material.Dark.ActionBar">
		<item name="android:colorPrimary">?toolbarBackground</item>
		<item name="android:textColorPrimary">?colorGray50</item>
		<item name="android:textColorSecondary">?colorGray50</item>
		<item name="android:toolbarStyle">@style/Widget.Mastodon.Toolbar</item>
	</style>

	<style name="Theme.Mastodon.Toolbar.Dark.TrueBlack" parent="android:ThemeOverlay.Material.Dark.ActionBar">
		<item name="android:colorPrimary">@color/black</item>
		<item name="android:toolbarStyle">@style/Widget.Mastodon.Toolbar</item>
	</style>

	<style name="Theme.Mastodon.Toolbar.Profile">
		<item name="android:textColorPrimary">?colorGray25</item>
		<item name="android:textColorSecondary">?colorGray25</item>
		<item name="android:drawableTint">?colorGray25</item>
		<item name="android:popupTheme">?android:actionBarTheme</item>
		<item name="android:titleTextAppearance">@style/m3_title_medium</item>
		<item name="android:titleTextColor">?colorGray25</item>
		<item name="android:subtitleTextAppearance">@style/m3_body_medium</item>
		<item name="android:subtitleTextColor">?colorGray25</item>
	</style>

	<style name="Widget.Mastodon.Button.Compose">
		<item name="android:layout_width">64dp</item>
		<item name="android:layout_height">64dp</item>
		<item name="android:layout_gravity">end|bottom</item>
		<item name="android:layout_marginEnd">16dp</item>
		<item name="android:layout_marginBottom">24dp</item>
		<item name="android:background">@drawable/bg_fab</item>
		<item name="android:scaleType">center</item>
		<item name="android:tint">?colorComposeButton</item>
		<item name="android:stateListAnimator">@animator/fab_shadow</item>
		<item name="android:src">@drawable/ic_fluent_edit_28_filled</item>
		<item name="android:contentDescription">@string/new_post</item>
	</style>

	<style name="Widget.Mastodon.Button" parent="android:Widget.Material.Button">
		<item name="android:textAllCaps">false</item>
		<item name="android:textAppearance">@style/m3_label_large</item>
		<item name="android:minHeight">36dp</item>
		<item name="android:minWidth">0px</item>
		<item name="android:paddingLeft">16dp</item>
		<item name="android:paddingRight">16dp</item>
	</style>

	<style name="Widget.Mastodon.Button.Large">
		<item name="android:minHeight">56dp</item>
		<item name="android:paddingLeft">32dp</item>
		<item name="android:paddingRight">32dp</item>
		<item name="android:textAppearance">@style/m3_title_medium</item>
	</style>

	<style name="Widget.Mastodon.Button.Primary_DarkOnLight">
		<item name="android:background">@drawable/bg_button_primary_dark_on_light</item>
		<item name="android:textColor">@color/button_text_primary_dark_on_light</item>
	</style>

	<style name="Widget.Mastodon.Button.Secondary_DarkOnLight">
		<item name="android:background">@drawable/bg_button_secondary_dark_on_light</item>
		<item name="android:textColor">@color/button_text_secondary_dark_on_light</item>
	</style>

	<style name="Widget.Mastodon.Button.Primary_LightOnDark">
		<item name="android:background">@drawable/bg_button_primary_light_on_dark</item>
		<item name="android:textColor">@color/button_text_primary_light_on_dark</item>
	</style>

	<style name="Widget.Mastodon.Button.Secondary_LightOnDark">
		<item name="android:background">@drawable/bg_button_secondary_light_on_dark</item>
		<item name="android:textColor">@color/button_text_secondary_light_on_dark</item>
	</style>

	<style name="Widget.Mastodon.Button.Large.Primary_DarkOnLight">
		<item name="android:background">@drawable/bg_button_primary_dark_on_light</item>
		<item name="android:textColor">@color/button_text_primary_dark_on_light</item>
	</style>

	<style name="Widget.Mastodon.Button.Large.Secondary_DarkOnLight">
		<item name="android:background">@drawable/bg_button_secondary_dark_on_light</item>
		<item name="android:textColor">@color/button_text_secondary_dark_on_light</item>
	</style>

	<style name="Widget.Mastodon.Button.Large.Primary_LightOnDark">
		<item name="android:background">@drawable/bg_button_primary_light_on_dark</item>
		<item name="android:textColor">@color/button_text_primary_light_on_dark</item>
	</style>

	<style name="Widget.Mastodon.Button.Large.Secondary_LightOnDark">
		<item name="android:background">@drawable/bg_button_secondary_light_on_dark</item>
		<item name="android:textColor">@color/button_text_secondary_light_on_dark</item>
	</style>

	<style name="Widget.Mastodon.EditText" parent="android:Widget.Material.Light.EditText">
		<item name="android:textColorHint">?android:textColorSecondary</item>
		<item name="android:elevation">2dp</item>
		<item name="android:textAppearance">@style/m3_body_large</item>
	</style>

	<style name="Theme.Mastodon.Dialog.Alert" parent="android:Theme.Material.Light.Dialog.Alert">
		<item name="android:windowTitleStyle">@style/alert_title</item>
		<item name="android:dialogPreferredPadding">24dp</item>
		<item name="android:windowBackground">@drawable/bg_alert</item>
		<item name="android:buttonBarButtonStyle">@style/Widget.Mastodon.ButtonBarButton</item>

		<!-- colors -->
		<item name="android:colorAccent">?colorPrimary700</item>
		<item name="android:colorPrimary">?colorGray800</item>
		<item name="android:colorBackground">?colorBackgroundPopup</item>
		<item name="android:textColorPrimary">?colorGray800</item>
		<item name="android:textColorSecondary">?colorGray500</item>
	</style>

	<style name="Theme.Mastodon.Dialog.Alert.Dark" parent="android:Theme.Material.Dialog.Alert">
		<item name="android:windowTitleStyle">@style/alert_title</item>
		<item name="android:dialogPreferredPadding">24dp</item>
		<item name="android:windowBackground">@drawable/bg_alert</item>
		<item name="android:buttonBarButtonStyle">@style/Widget.Mastodon.ButtonBarButton</item>
		<item name="android:datePickerStyle">@style/Widget.Mastodon.DatePicker.Dark</item>
		<item name="android:timePickerStyle">@style/Widget.Mastodon.TimePicker.Dark</item>

		<!-- colors -->
		<item name="android:colorAccent">?colorPrimary600</item>
		<item name="android:colorPrimary">?colorGray50</item>
		<item name="android:colorBackground">?colorBackgroundPopup</item>
		<item name="android:textColorPrimary">?colorGray50</item>
		<item name="android:textColorSecondary">?colorGray400</item>
	</style>

	<style name="Widget.Mastodon.DatePicker.Dark" parent="@android:style/Widget.Material.DatePicker">
		<item name="android:headerBackground">?colorGray700</item>
	</style>

	<style name="Widget.Mastodon.TimePicker.Dark" parent="@android:style/Widget.Material.TimePicker">
		<item name="android:headerBackground">?colorGray700</item>
		<item name="android:numbersBackgroundColor">?colorGray700</item>
	</style>

	<style name="Widget.Mastodon.ButtonBarButton" parent="android:Widget.Material.Button.Borderless">
		<item name="android:textAllCaps">false</item>
		<item name="android:layout_marginEnd">8dp</item>
		<item name="android:minHeight">40dp</item>
		<item name="android:minWidth">0px</item>
		<item name="android:background">@drawable/bg_alert_button</item>
		<item name="android:textAppearance">@style/m3_label_large</item>
		<item name="android:textColor">?android:textColorPrimary</item>
	</style>

	<style name="Widget.Mastodon.PopupMenu" parent="android:Widget.Material.Light.PopupMenu">
		<item name="android:popupBackground">@drawable/bg_popup</item>
	</style>

	<style name="Widget.Mastodon.M3.Button" parent="android:Widget.Material.Button">
		<item name="android:textAllCaps">false</item>
		<item name="android:textSize">14sp</item>
		<item name="android:minHeight">40dp</item>
		<item name="android:fontFamily">sans-serif-medium</item>
		<item name="android:stateListAnimator">@null</item>
	</style>

	<style name="Widget.Mastodon.M3.Button.Filled">
		<item name="android:background">@drawable/bg_button_m3_filled</item>
		<item name="android:textColor">@color/button_text_m3_filled</item>
		<item name="android:paddingLeft">24dp</item>
		<item name="android:paddingRight">24dp</item>
	</style>

	<style name="Widget.Mastodon.M3.Button.Text">
		<item name="android:background">@drawable/bg_button_m3_text</item>
		<item name="android:textColor">@color/button_text_m3_text</item>
		<item name="android:paddingLeft">24dp</item>
		<item name="android:paddingRight">24dp</item>
	</style>

	<style name="Widget.Mastodon.M3.Button.Tonal">
		<item name="android:background">@drawable/bg_button_m3_tonal</item>
		<item name="android:textColor">@color/button_text_m3_text</item>
		<item name="android:paddingLeft">24dp</item>
		<item name="android:paddingRight">24dp</item>
	</style>

	<style name="Widget.Mastodon.M3.EditText" parent="android:Widget.Material.EditText">
		<item name="android:background">@drawable/bg_m3_outlined_text_field_nopad</item>
		<item name="android:textAppearance">@style/m3_body_large</item>
		<item name="android:paddingLeft">16dp</item>
		<item name="android:paddingRight">16dp</item>
		<item name="android:paddingTop">8dp</item>
		<item name="android:paddingBottom">8dp</item>
		<item name="android:minHeight">40dp</item>
		<item name="android:textColorHint">?colorM3OnSurfaceVariant</item>
		<item name="android:textColor">?colorM3OnSurface</item>
	</style>

	<style name="alert_title">
		<item name="android:textColor">?android:textColorPrimary</item>
		<item name="android:textSize">24sp</item>
		<item name="android:minHeight">38dp</item>
		<item name="android:gravity">center_vertical</item>
	</style>

	<style name="m3_body_large">
		<item name="android:textSize">16sp</item>
		<item name="android:textColor">?android:textColorPrimary</item>
		<item name="android:lineSpacingExtra">5dp</item>
	</style>

	<style name="m3_body_medium">
		<item name="android:textSize">14sp</item>
		<item name="android:textColor">?android:textColorPrimary</item>
		<item name="android:lineSpacingExtra">4dp</item>
	</style>

	<style name="m3_body_small">
		<item name="android:textSize">12sp</item>
		<item name="android:textColor">?android:textColorSecondary</item>
		<item name="android:lineSpacingExtra">2dp</item>
	</style>

	<style name="m3_title_medium">
		<item name="android:fontFamily">sans-serif-medium</item>
		<item name="android:textSize">16sp</item>
		<item name="android:textColor">?android:textColorPrimary</item>
		<item name="android:lineSpacingExtra">5dp</item>
	</style>

	<style name="m3_title_small">
		<item name="android:fontFamily">sans-serif-medium</item>
		<item name="android:textSize">14sp</item>
		<item name="android:textColor">?android:textColorSecondary</item>
	</style>

	<style name="m3_label_medium">
		<item name="android:fontFamily">sans-serif-medium</item>
		<item name="android:textSize">12sp</item>
		<item name="android:textColor">?android:textColorPrimary</item>
		<item name="android:lineSpacingMultiplier">1.14</item>
	</style>

	<style name="m3_label_large">
		<item name="android:fontFamily">sans-serif-medium</item>
		<item name="android:textColor">?android:textColorSecondary</item>
		<item name="android:textSize">14sp</item>
	</style>

	<style name="m3_title_large">
		<item name="android:fontFamily">sans-serif-medium</item>
		<item name="android:textSize">22sp</item>
		<item name="android:textColor">?android:textColorPrimary</item>
	</style>

	<style name="app_title" parent="m3_title_large">
		<item name="android:fontFamily">sans-serif-medium</item>
		<item name="android:textAllCaps">true</item>
		<item name="android:letterSpacing">0.1</item>
	</style>

	<style name="role_label">
		<item name="android:fontFamily">sans-serif-medium</item>
		<item name="android:textSize">14sp</item>
		<item name="android:textColor">?android:textColorPrimary</item>
		<item name="android:background">@drawable/bg_pill</item>
		<item name="android:paddingStart">8dp</item>
		<item name="android:paddingEnd">8dp</item>
		<item name="android:paddingTop">6dp</item>
		<item name="android:paddingBottom">6dp</item>
		<item name="android:layout_marginEnd">8dp</item>
	</style>

	<style name="m3_headline_small">
		<item name="android:textSize">24sp</item>
		<item name="android:textColor">?android:textColorPrimary</item>
	</style>

	<style name="m3_headline_medium">
		<item name="android:textSize">28sp</item>
		<item name="android:textColor">?android:textColorPrimary</item>
		<item name="android:lineSpacingExtra">3dp</item>
	</style>

	<style name="window_fade_out">
		<item name="android:windowExitAnimation">@anim/fade_out_fast</item>
	</style>
</resources>