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

    <style name="ErrorDialogStyle" parent="MaterialAlertDialog.Material3">
        <item name="materialAlertDialogBodyTextStyle">@style/AlertDialogBodyText</item>
    </style>

    <style name="AlertDialogBodyText" parent="MaterialAlertDialog.Material3.Body.Text">
        <item name="android:fontFamily">monospace</item>
    </style>

    <!-- Preferences theme overlay to use new switch style, taken from Material Components Catalog example. -->
    <style name="ThemeOverlay.Findroid.Preference" parent="PreferenceThemeOverlay">
        <item name="switchPreferenceCompatStyle">@style/Preference.SwitchPreferenceCompat.Catalog</item>
    </style>

    <style name="Preference.SwitchPreferenceCompat.Catalog" parent="Preference.SwitchPreferenceCompat.Material">
        <item name="android:widgetLayout">@layout/preference_material3_switch</item>
    </style>

    <style name="MetaChip" parent="Widget.Material3.Chip.Assist">
        <item name="android:textAppearance">@style/TextAppearance.Material3.LabelLarge</item>
        <item name="android:textStyle">bold</item>
        <item name="chipBackgroundColor">?attr/colorSecondaryContainer</item>
        <item name="chipCornerRadius">6dp</item>
        <item name="chipEndPadding">0dp</item>
        <item name="chipStartPadding">0dp</item>
        <item name="chipMinTouchTargetSize">20dp</item>
        <item name="chipStrokeWidth">0dp</item>
    </style>

</resources>