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

<resources xmlns:tools="http://schemas.android.com/tools">

    <style name="Signal.Transparent" parent="Theme.AppCompat">
        <item name="android:forceDarkAllowed" tools:targetApi="29">false</item>
        <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>
        <item name="contactCheckboxBackground">@drawable/contact_selection_checkbox</item>
    </style>

    <!-- MOLLY: Theme.Signal.DayNight.NoActionBar now in light_themes.xml -->

    <style name="Theme.Molly.Starting.Light" parent="Theme.SplashScreen">
        <item name="windowSplashScreenBackground">@color/core_ultramarine_icon</item>
        <item name="windowSplashScreenAnimatedIcon">@drawable/ic_launcher_foreground</item>
    </style>

    <style name="Theme.Molly.Starting.Dark" parent="Theme.SplashScreen">
        <item name="windowSplashScreenBackground">@color/core_ultramarine_icon_dark</item>
        <item name="windowSplashScreenAnimatedIcon">@drawable/ic_launcher_foreground</item>
    </style>

    <style name="TextSecure.LightNoActionBar" parent="@style/TextSecure.BaseLightNoActionBar">
        <!-- leave empty to allow overriding -->
    </style>

    <style name="TextSecure.BaseLightNoActionBar" parent="@style/TextSecure.BaseLightTheme">
        <item name="windowActionBar">false</item>
        <item name="windowNoTitle">true</item>
        <item name="windowActionModeOverlay">true</item>
    </style>

    <style name="TextSecure.DarkNoActionBar" parent="@style/TextSecure.BaseDarkNoActionBar">
        <!-- leave empty to allow overriding -->
    </style>

    <style name="TextSecure.DarkNoActionBar.StoryViewer">
        <item name="android:windowBackground">?attr/colorSurface</item>
        <item name="android:windowContentTransitions">true</item>
        <item name="android:windowSharedElementEnterTransition">@transition/change_transform</item>
        <item name="android:windowSharedElementExitTransition">@transition/change_transform</item>
    </style>

    <style name="TextSecure.BaseMediaPreview" parent="@style/TextSecure.BaseDarkNoActionBar">
        <item name="android:windowBackground">@color/signal_dark_colorNeutral</item>
        <item name="android:statusBarColor">@color/signal_dark_colorNeutral</item>
        <item name="android:navigationBarColor">@color/signal_dark_colorNeutral</item>
    </style>

    <style name="TextSecure.MediaPreview" parent="@style/TextSecure.BaseMediaPreview">
        <!-- leave empty to allow overriding -->
    </style>

    <style name="Theme.Signal.WallpaperCropper" parent="@style/TextSecure.DarkNoActionBar">
        <item name="colorPrimaryDark">@color/wallpaper_preview_background</item>
        <item name="android:statusBarColor" tools:ignore="NewApi">@color/wallpaper_preview_background</item>
        <item name="android:windowLightStatusBar" tools:ignore="NewApi">false</item>
        <item name="android:navigationBarColor" tools:ignore="NewApi">@color/wallpaper_preview_background</item>
        <item name="android:windowLightNavigationBar" tools:ignore="NewApi">false</item>
        <item name="android:windowTranslucentNavigation">true</item>
    </style>

    <style name="Theme.Signal.WallpaperCropper.Light" parent="@style/TextSecure.LightNoActionBar">
        <item name="colorPrimary">@color/wallpaper_preview_background</item>
        <item name="colorPrimaryDark">@color/wallpaper_preview_background</item>
        <item name="android:textColorSecondary">@color/white</item>
        <item name="android:windowTranslucentNavigation">true</item>
        <item name="android:statusBarColor" tools:ignore="NewApi">@color/wallpaper_preview_background</item>
        <item name="android:navigationBarColor" tools:ignore="NewApi">@color/wallpaper_preview_background</item>
        <item name="android:windowLightNavigationBar" tools:ignore="NewApi">false</item>
    </style>

    <style name="TextSecure.BaseDarkNoActionBar" parent="@style/TextSecure.BaseDarkTheme">
        <item name="windowActionBar">false</item>
        <item name="windowNoTitle">true</item>
        <item name="windowActionModeOverlay">true</item>
    </style>

    <style name="TextSecure.LightIntroTheme" parent="@style/Signal.DayNight.Registration">
        <item name="windowActionBar">false</item>
        <item name="windowNoTitle">true</item>
        <item name="android:windowBackground">@color/white</item>
        <item name="android:statusBarColor">@color/core_ultramarine</item>
        <item name="android:navigationBarColor">@color/core_grey_95</item>
        <item name="android:windowLightStatusBar">false</item>
        <item name="android:windowLightNavigationBar" tools:targetApi="27">false</item>
    </style>

    <style name="TextSecure.DarkIntroTheme" parent="@style/Theme.AppCompat">
        <item name="android:forceDarkAllowed" tools:targetApi="29">false</item>
        <item name="android:windowLayoutInDisplayCutoutMode" tools:targetApi="27">default</item>
        <item name="android:statusBarColor" tools:ignore="NewApi">?attr/colorSurfaceContainer</item>
        <item name="android:navigationBarColor">?attr/colorSurfaceContainer</item>
        <item name="android:windowLightStatusBar" tools:ignore="NewApi">false</item>
        <item name="android:windowActionBar">false</item>
        <item name="android:windowNoTitle">true</item>
        <item name="windowActionBar">false</item>
        <item name="windowNoTitle">true</item>
        <item name="windowActionModeOverlay">true</item>
        <item name="colorAccent">@color/core_ultramarine_light</item>

        <item name="android:textColorHint">@color/white</item>
        <item name="android:windowBackground">@color/core_grey_95</item>
    </style>

    <style name="TextSecure.LightTheme.Popup" parent="TextSecure.LightTheme">
        <item name="android:windowIsFloating">false</item>
        <item name="android:windowSoftInputMode">stateUnchanged</item>
        <item name="android:windowContentOverlay">@null</item>
        <item name="android:windowActionModeOverlay">true</item>
        <item name="android:windowIsTranslucent">true</item>
        <item name="android:windowFrame">@null</item>
        <item name="android:windowAnimationStyle">@style/PopupAnimation</item>
        <item name="android:windowCloseOnTouchOutside">true</item>
        <item name="android:backgroundDimEnabled">false</item>
    </style>

    <style name="Theme.Molly.Material3.Light" parent="@style/Theme.Material3.Light">
        <item name="colorPrimaryInverse">@color/molly_primary_inverse_light</item>
        <item name="colorPrimary">@color/molly_primary_light</item>
        <item name="colorPrimaryDark">@color/molly_primary_light</item>
        <item name="colorOnPrimary">@color/molly_on_primary_light</item>
        <item name="colorPrimaryContainer">@color/molly_primary_container_light</item>
        <item name="colorOnPrimaryContainer">@color/molly_on_primary_container_light</item>
        <item name="colorPrimaryFixed">@color/molly_primary_fixed</item>
        <item name="colorPrimaryFixedDim">@color/molly_primary_fixed_dim</item>
        <item name="colorOnPrimaryFixed">@color/molly_on_primary_fixed</item>
        <item name="colorSecondary">@color/molly_secondary_light</item>
        <item name="colorOnSecondary">@color/molly_on_secondary_light</item>
        <item name="colorSecondaryContainer">@color/molly_secondary_container_light</item>
        <item name="colorOnSecondaryContainer">@color/molly_on_secondary_container_light</item>
        <item name="colorSecondaryFixed">@color/molly_secondary_fixed</item>
        <item name="colorSecondaryFixedDim">@color/molly_secondary_fixed_dim</item>
        <item name="colorOnSecondaryFixed">@color/molly_on_secondary_fixed</item>
        <item name="colorSurfaceInverse">@color/molly_surface_inverse_light</item>
        <item name="colorSurfaceVariant">@color/molly_surface_variant_light</item>
        <item name="colorSurface">@color/molly_surface_light</item>
        <item name="colorSurfaceDim">@color/molly_surface_dim_light</item>
        <item name="colorSurfaceContainerHighest">@color/molly_surface_container_highest_light</item>
        <item name="colorSurfaceContainerHigh">@color/molly_surface_container_high_light</item>
        <item name="colorSurfaceContainer">@color/molly_surface_container_light</item>
        <item name="colorSurfaceContainerLow">@color/molly_surface_container_low_light</item>
        <item name="colorSurfaceBright">@color/molly_surface_bright_light</item>
        <item name="colorSurfaceContainerLowest">@color/molly_surface_container_lowest_light</item>
        <item name="colorOnSurfaceInverse">@color/molly_on_surface_inverse_light</item>
        <item name="colorOnSurface">@color/molly_on_surface_light</item>
        <item name="colorOnBackground">@color/molly_on_background_light</item>
        <item name="colorOnSurfaceVariant">@color/molly_on_surface_variant_light</item>
        <item name="colorOutline">@color/molly_outline_light</item>
        <item name="colorOutlineVariant">@color/molly_outline_variant_light</item>
        <item name="colorError">@color/molly_error_light</item>
        <item name="colorOnError">@color/molly_on_error_light</item>
        <item name="colorErrorContainer">@color/molly_error_container_light</item>
        <item name="colorOnErrorContainer">@color/molly_on_error_container_light</item>
        <item name="colorTertiary">@color/molly_tertiary_light</item>
        <item name="colorOnTertiary">@color/molly_on_tertiary_light</item>
        <item name="colorTertiaryContainer">@color/molly_tertiary_container_light</item>
        <item name="colorOnTertiaryContainer">@color/molly_on_tertiary_container_light</item>
        <item name="colorTertiaryFixed">@color/molly_tertiary_fixed</item>
        <item name="colorTertiaryFixedDim">@color/molly_tertiary_fixed_dim</item>
        <item name="colorOnTertiaryFixed">@color/molly_on_tertiary_fixed</item>
        <item name="colorOnTertiaryFixedVariant">@color/molly_on_tertiary_fixed_variant</item>
        <item name="colorAccent">@color/molly_primary_light</item>
        <item name="colorControlActivated">@color/molly_primary_light</item>
    </style>

    <style name="Theme.Molly.Material3.Dark" parent="@style/Theme.Material3.Dark">
        <item name="colorPrimaryInverse">@color/molly_primary_inverse_dark</item>
        <item name="colorPrimary">@color/molly_primary_dark</item>
        <item name="colorPrimaryDark">@color/molly_primary_dark</item>
        <item name="colorOnPrimary">@color/molly_on_primary_dark</item>
        <item name="colorPrimaryContainer">@color/molly_primary_container_dark</item>
        <item name="colorOnPrimaryContainer">@color/molly_on_primary_container_dark</item>
        <item name="colorPrimaryFixed">@color/molly_primary_fixed</item>
        <item name="colorPrimaryFixedDim">@color/molly_primary_fixed_dim</item>
        <item name="colorOnPrimaryFixed">@color/molly_on_primary_fixed</item>
        <item name="colorSecondary">@color/molly_secondary_dark</item>
        <item name="colorOnSecondary">@color/molly_on_secondary_dark</item>
        <item name="colorSecondaryContainer">@color/molly_secondary_container_dark</item>
        <item name="colorOnSecondaryContainer">@color/molly_on_secondary_container_dark</item>
        <item name="colorSecondaryFixed">@color/molly_secondary_fixed</item>
        <item name="colorSecondaryFixedDim">@color/molly_secondary_fixed_dim</item>
        <item name="colorOnSecondaryFixed">@color/molly_on_secondary_fixed</item>
        <item name="colorSurfaceInverse">@color/molly_surface_inverse_dark</item>
        <item name="colorSurfaceVariant">@color/molly_surface_variant_dark</item>
        <item name="colorSurface">@color/molly_surface_dark</item>
        <item name="colorSurfaceBright">@color/molly_surface_bright_dark</item>
        <item name="colorSurfaceContainerHighest">@color/molly_surface_container_highest_dark</item>
        <item name="colorSurfaceContainerHigh">@color/molly_surface_container_high_dark</item>
        <item name="colorSurfaceContainer">@color/molly_surface_container_dark</item>
        <item name="colorSurfaceContainerLow">@color/molly_surface_container_low_dark</item>
        <item name="colorSurfaceDim">@color/molly_surface_dim_dark</item>
        <item name="colorSurfaceContainerLowest">@color/molly_surface_container_lowest_dark</item>
        <item name="colorOnSurfaceInverse">@color/molly_on_surface_inverse_dark</item>
        <item name="colorOnSurface">@color/molly_on_surface_dark</item>
        <item name="colorOnBackground">@color/molly_on_background_dark</item>
        <item name="colorOnSurfaceVariant">@color/molly_on_surface_variant_dark</item>
        <item name="colorOutline">@color/molly_outline_dark</item>
        <item name="colorOutlineVariant">@color/molly_outline_variant_dark</item>
        <item name="colorError">@color/molly_error_dark</item>
        <item name="colorOnError">@color/molly_on_error_dark</item>
        <item name="colorErrorContainer">@color/molly_error_container_dark</item>
        <item name="colorOnErrorContainer">@color/molly_on_error_container_dark</item>
        <item name="colorTertiary">@color/molly_tertiary_dark</item>
        <item name="colorOnTertiary">@color/molly_on_tertiary_dark</item>
        <item name="colorTertiaryContainer">@color/molly_tertiary_container_dark</item>
        <item name="colorOnTertiaryContainer">@color/molly_on_tertiary_container_dark</item>
        <item name="colorTertiaryFixed">@color/molly_tertiary_fixed</item>
        <item name="colorTertiaryFixedDim">@color/molly_tertiary_fixed_dim</item>
        <item name="colorOnTertiaryFixed">@color/molly_on_tertiary_fixed</item>
        <item name="colorOnTertiaryFixedVariant">@color/molly_on_tertiary_fixed_variant</item>
        <item name="colorAccent">@color/molly_primary_dark</item>
        <item name="colorControlActivated">@color/molly_primary_dark</item>
    </style>

    <style name="TextSecure.LightTheme" parent="TextSecure.BaseLightTheme">
        <!-- Allows for Overrides -->
    </style>

    <style name="TextSecure.BaseLightTheme" parent="@style/Theme.Molly.Material3.Light">
        <item name="theme_type">light</item>
        <item name="dynamic_colors">false</item>
        <item name="android:navigationBarColor">@color/molly_surface_light</item>
        <item name="android:statusBarColor">@color/molly_surface_light</item>
        <item name="android:windowLightNavigationBar">true</item>
        <item name="android:windowLightStatusBar">true</item>
        <item name="android:forceDarkAllowed" tools:targetApi="29">false</item>
        <item name="android:windowOptOutEdgeToEdgeEnforcement" tools:targetApi="35">true</item>

        <item name="colorControlHighlight">@color/transparent_black_10</item>

        <item name="textAppearanceBodyMedium">@style/Signal.Text.BodyMedium</item>
        <item name="textAppearanceBodyLarge">@style/Signal.Text.BodyLarge</item>
        <item name="textAppearanceLabelLarge">@style/Signal.Text.LabelLarge</item>

        <item name="search_view_style">@style/Signal.SearchView</item>

        <item name="circularProgressMaterialButtonStyle">@style/Signal.Widget.Button.Large.Tonal</item>
        <item name="circularProgressIndicatorStyle">@style/Widget.Signal.CircularProgressIndicator.Medium.Indeterminate.Tonal</item>

        <item name="snackbarStyle">@style/Widget.Signal.Snackbar</item>
        <item name="snackbarTextViewStyle">@style/Widget.Signal.Snackbar.TextView</item>
        <item name="snackbarButtonStyle">@style/Widget.Signal.Button.TextButton.Snackbar</item>

        <item name="bottomSheetDialogTheme">@style/Theme.Signal.Light.BottomSheetDialog</item>

        <item name="contactCheckboxBackground">@drawable/contact_selection_checkbox</item>
        <item name="mediaKeyboardBackgroundColor">?attr/colorSurfaceContainer</item>
        <item name="mediaKeyboardBottomBarBackgroundColor">?attr/colorSurfaceDim</item>

        <item name="actionBarStyle">@style/TextSecure.LightActionBar</item>
        <item name="actionBarTabBarStyle">@style/TextSecure.LightActionBar.TabBar</item>
        <item name="actionModeBackground">@color/transparent</item>
        <item name="actionModeCloseDrawable">@drawable/ic_x_tinted</item>
        <item name="actionModeStyle">@style/TextSecure.ActionModeStyle</item>
        <item name="android:textColor">@color/text_color_light_theme</item>
        <item name="android:textColorSecondary">@color/text_color_secondary_light_theme</item>
        <item name="android:windowBackground">?attr/colorSurface</item>
        <item name="android:windowContentOverlay">@null</item>
        <item name="alertDialogTheme">@style/ThemeOverlay.Signal.MaterialAlertDialog</item>
        <item name="android:alertDialogTheme">@style/ThemeOverlay.Signal.MaterialAlertDialog</item>
        <item name="homeAsUpIndicator">@drawable/symbol_arrow_start_24</item>
        <item name="android:homeAsUpIndicator">@drawable/symbol_arrow_start_24</item>

        <item name="settingsToolbarStyle">@style/TextSecure.LightActionBar.Settings</item>

        <item name="contact_filter_toolbar_icon_tint">?attr/signal_icon_tint_primary</item>

        <item name="emoji_category_recent">@drawable/ic_recent_20</item>
        <item name="emoji_category_people">@drawable/ic_emoji_people_20</item>
        <item name="emoji_category_nature">@drawable/ic_emoji_animal_20</item>
        <item name="emoji_category_foods">@drawable/ic_emoji_food_20</item>
        <item name="emoji_category_activity">@drawable/ic_emoji_activity_20</item>
        <item name="emoji_category_places">@drawable/ic_emoji_travel_20</item>
        <item name="emoji_category_objects">@drawable/ic_emoji_object_20</item>
        <item name="emoji_category_symbols">@drawable/ic_emoji_symbol_20</item>
        <item name="emoji_category_flags">@drawable/ic_emoji_flag_20</item>
        <item name="emoji_category_emoticons">@drawable/ic_emoji_emoticon_20</item>

        <item name="preferenceTheme">@style/PreferenceThemeOverlay.Fix</item>

        <item name="chipStyle">@style/Signal.Chip.Action</item>

        <item name="colorControlNormal">@color/core_grey_90</item>

        <item name="materialAlertDialogTheme">@style/ThemeOverlay.Signal.MaterialAlertDialog</item>
        <item name="materialTimePickerTheme">@style/Signal.ThemeOverlay.TimePicker</item>
        <item name="materialTimePickerStyle">@style/Signal.Widget.TimePicker</item>
        <item name="materialCalendarStyle">@style/Signal.Widget.Calendar</item>
        <item name="materialCalendarTheme">@style/Signal.ThemeOverlay.Calendar</item>
        <item name="materialCardViewOutlinedStyle">@style/Widget.Material3.CardView.Filled</item>
        <item name="collapsingToolbarLayoutStyle">@style/Signal.Widget.CollapsingToolbar</item>

        <!-- light_colors.xml -->
        <item name="conversation_toolbar_color">?attr/colorSurface</item>
        <item name="signal_accent_primary">@color/core_ultramarine</item>
        <item name="signal_background_primary">?attr/colorSurface</item>
        <item name="signal_background_secondary">?attr/colorSurfaceContainerLow</item>
        <item name="signal_background_dialog">?attr/colorSurfaceContainer</item>
        <item name="signal_background_dialog_secondary">?attr/colorSurfaceContainerLow</item>
        <item name="signal_text_primary">?attr/colorOnSurface</item>
        <item name="signal_text_secondary">?attr/colorOnSurfaceVariant</item>
        <item name="signal_text_toolbar_title">?attr/colorSurface</item>
        <item name="signal_icon_tint_primary">?attr/colorOnSurface</item>
        <item name="signal_icon_tint_secondary">?attr/colorOnSurfaceVariant</item>
        <item name="signal_icon_tint_action">@color/core_black</item>
        <item name="signal_icon_tint_tab_selected">?attr/colorOnSurface</item>
        <item name="signal_icon_tint_tab_unselected">?attr/colorOnSurfaceVariant</item>
        <item name="signal_button_primary">@color/core_ultramarine</item>
        <item name="signal_button_primary_ripple">@color/transparent_black_15</item>
        <item name="signal_button_primary_text">@color/core_white</item>
        <item name="signal_button_primary_text_disabled">@color/transparent_white_20</item>
        <item name="signal_button_secondary">@color/core_grey_05</item>
        <item name="signal_button_secondary_ripple">@color/core_grey_02</item>
        <item name="signal_button_secondary_text">@color/core_ultramarine</item>
        <item name="signal_button_secondary_text_disabled">@color/core_grey_25</item>
        <item name="signal_button_secondary_stroke">@color/core_grey_15</item>
        <item name="conversation_compose_background">?attr/colorSurfaceContainerHigh</item>
        <item name="contact_filter_edit_background">?attr/colorSurfaceContainerHighest</item>
        <item name="reactions_pill_selected_color">?attr/colorSurfaceContainer</item>
        <item name="qr_card_color">?attr/colorSurfaceContainerLow</item>
        <item name="qr_card_text_color">?attr/colorOnSurface</item>
        <item name="conversation_item_update_text_color">?attr/colorOnSurfaceVariant</item>
        <item name="conversation_item_quote_text_color">?attr/colorOnSurface</item>
        <item name="conversation_item_quote_text_color_sent">?attr/colorOnSurface</item>
        <item name="conversation_item_recv_bubble_color_normal">?attr/colorSurfaceContainerHigh</item>
        <item name="conversation_item_incoming_audio_foreground_tint_normal">?attr/colorOnSurface</item>
        <item name="conversation_typing_indicator_foreground_tint_normal">?attr/colorOnSurfaceVariant</item>
        <item name="conversation_scroll_to_bottom_foreground_color">?attr/colorOnSurfaceVariant</item>
        <item name="conversation_list_selected_color">?attr/colorSurfaceContainer</item>
        <item name="reactions_pill_text_color">?attr/colorOnSurfaceVariant</item>
        <item name="reactions_overlay_any_emoji_background">?attr/colorTertiaryContainer</item>
        <item name="reactions_overlay_any_emoji_foreground">?attr/colorOnTertiaryContainer</item>
        <item name="megaphone_body_text_color">?attr/colorOnSurfaceVariant</item>
        <item name="tooltip_default_color">?attr/colorSecondaryContainer</item>
        <item name="quote_view_background_incoming_wallpaper">@color/signal_colorTransparentInverse2</item>
        <item name="quote_view_bar_incoming_wallpaper">@color/signal_colorTransparentInverse2</item>
        <item name="quote_view_foreground_incoming_wallpaper">@color/signal_colorNeutralInverse</item>
        <item name="quote_view_background_outgoing_wallpaper">@color/signal_neutralSurface</item>
        <item name="quote_view_bar_outgoing_wallpaper">@color/signal_colorOnCustom</item>
        <item name="quote_view_foreground_outgoing_wallpaper">?attr/colorOnSurface</item>
        <item name="quote_view_background_incoming_normal">@color/signal_colorTransparent3</item>
        <item name="quote_view_bar_incoming_normal">@color/signal_colorOnCustom</item>
        <item name="quote_view_foreground_incoming_normal">?attr/colorOnSurface</item>
        <item name="quote_view_background_outgoing_normal">@color/signal_colorTransparent4</item>
        <item name="quote_view_bar_outgoing_normal">@color/signal_colorOnCustom</item>
        <item name="quote_view_foreground_outgoing_normal">?attr/colorOnSurface</item>
        <item name="react_with_any_background">?attr/colorSurfaceContainerLow</item>
        <item name="react_with_any_search_background">?attr/conversation_compose_background</item>
        <item name="react_with_any_search_hint">?attr/colorOnSurfaceVariant</item>
        <item name="react_with_any_customize_background">?attr/colorSurfaceVariant</item>
        <item name="voice_note_player_view_background">?attr/colorSurfaceContainerLow</item>
        <item name="message_request_bar_container_background_normal">?attr/colorSurface</item>
        <item name="message_request_bar_background_normal">?attr/colorSurfaceContainerHigh</item>
        <item name="message_request_bar_denyForeground_normal">?attr/colorError</item>
        <item name="message_request_bar_acceptForeground_normal">?attr/colorSurfaceInverse</item>
        <item name="message_request_bar_container_background_wallpaper">@color/wallpaper_bubble_color</item> -->
        <item name="message_request_bar_background_wallpaper">@color/signal_colorNeutralVariant</item> -->
        <item name="message_request_bar_denyForeground_wallpaper">?attr/colorError</item>
        <item name="message_request_bar_acceptForeground_wallpaper">@color/signal_colorNeutralInverse</item> -->
        <item name="safety_tip_background">@color/core_white</item>
        <item name="safety_tip_image_background">#99F3F0FF</item>

        <!-- signal_styles.xml -->
        <item name="switchThemeOverlay">@style/ThemeOverlay.MaterialSwitch.DayNight</item>
        <item name="extended_action_button_container_color">@color/molly_tertiary_container_light</item>
        <item name="extended_action_button_icon_color">@color/molly_on_tertiary_container_light</item>

        <!-- contact_selection_*_item.xml -->
        <item name="filled_tonal_icon_button_container_color">@color/molly_surface_container_highest_light</item>
        <item name="filled_tonal_icon_button_icon_color">@color/molly_on_surface_light</item>

        <!-- signal_context_menu_background.xml -->
        <item name="context_menu_container_color">@color/molly_surface_container_light</item>

        <!-- MainNavigation.kt -->
        <item name="navbar_active_indicator_color">@color/molly_secondary_container_light</item>
        <item name="navbar_container_color">@color/molly_surface_container_light</item>
    </style>

    <style name="TextSecure.DarkTheme" parent="@style/TextSecure.BaseDarkTheme">
        <!-- leave empty to allow overriding -->
    </style>

    <style name="TextSecure.BaseDarkTheme" parent="@style/Theme.Molly.Material3.Dark">
        <item name="theme_type">dark</item>
        <item name="dynamic_colors">false</item>
        <item name="android:navigationBarColor">@color/molly_surface_dark</item>
        <item name="android:statusBarColor">@color/molly_surface_dark</item>
        <item name="android:windowLightNavigationBar">false</item>
        <item name="android:windowLightStatusBar">false</item>
        <item name="android:forceDarkAllowed" tools:targetApi="29">false</item>
        <item name="android:windowOptOutEdgeToEdgeEnforcement" tools:targetApi="35">true</item>

        <item name="colorControlHighlight">@color/transparent_white_10</item>

        <item name="textAppearanceBodyMedium">@style/Signal.Text.BodyMedium</item>
        <item name="textAppearanceBodyLarge">@style/Signal.Text.BodyLarge</item>
        <item name="textAppearanceLabelLarge">@style/Signal.Text.LabelLarge</item>

        <item name="circularProgressMaterialButtonStyle">@style/Signal.Widget.Button.Large.Tonal</item>
        <item name="circularProgressIndicatorStyle">@style/Widget.Signal.CircularProgressIndicator.Medium.Indeterminate.Tonal</item>

        <item name="search_view_style">@style/Signal.SearchView</item>

        <item name="snackbarStyle">@style/Widget.Signal.Snackbar</item>
        <item name="snackbarTextViewStyle">@style/Widget.Signal.Snackbar.TextView</item>
        <item name="snackbarButtonStyle">@style/Widget.Signal.Button.TextButton.Snackbar</item>

        <item name="bottomSheetDialogTheme">@style/Theme.Signal.BottomSheetDialog</item>

        <item name="actionBarStyle">@style/TextSecure.DarkActionBar</item>
        <item name="actionBarTabBarStyle">@style/TextSecure.DarkActionBar.TabBar</item>
        <item name="actionBarPopupTheme">@style/ThemeOverlay.Material3.Dark</item>
        <item name="actionModeBackground">@color/transparent</item>
        <item name="actionModeCloseDrawable">@drawable/ic_x_tinted</item>
        <item name="actionModeStyle">@style/TextSecure.ActionModeStyle</item>
        <item name="android:textColor">@color/text_color_dark_theme</item>
        <item name="android:textColorSecondary">@color/text_color_secondary_dark_theme</item>
        <item name="android:colorControlHighlight" tools:ignore="NewApi">@color/transparent_white_10</item>
        <item name="android:windowBackground">?attr/colorSurface</item>
        <item name="android:windowContentOverlay">@null</item>
        <item name="alertDialogTheme">@style/ThemeOverlay.Signal.MaterialAlertDialog</item>
        <item name="android:alertDialogTheme">@style/ThemeOverlay.Signal.MaterialAlertDialog</item>
        <item name="homeAsUpIndicator">@drawable/symbol_arrow_start_24</item>
        <item name="android:homeAsUpIndicator">@drawable/symbol_arrow_start_24</item>

        <item name="settingsToolbarStyle">@style/TextSecure.DarkActionBar.Settings</item>

        <item name="contactCheckboxBackground">@drawable/contact_selection_checkbox</item>
        <item name="mediaKeyboardBackgroundColor">?attr/colorSurfaceContainer</item>
        <item name="mediaKeyboardBottomBarBackgroundColor">?attr/colorSurfaceBright</item>

        <item name="contact_filter_toolbar_icon_tint">?attr/signal_icon_tint_primary</item>

        <item name="emoji_category_recent">@drawable/ic_recent_20</item>
        <item name="emoji_category_people">@drawable/ic_emoji_people_20</item>
        <item name="emoji_category_nature">@drawable/ic_emoji_animal_20</item>
        <item name="emoji_category_foods">@drawable/ic_emoji_food_20</item>
        <item name="emoji_category_activity">@drawable/ic_emoji_activity_20</item>
        <item name="emoji_category_places">@drawable/ic_emoji_travel_20</item>
        <item name="emoji_category_objects">@drawable/ic_emoji_object_20</item>
        <item name="emoji_category_symbols">@drawable/ic_emoji_symbol_20</item>
        <item name="emoji_category_flags">@drawable/ic_emoji_flag_20</item>
        <item name="emoji_category_emoticons">@drawable/ic_emoji_emoticon_20</item>

        <item name="preferenceTheme">@style/PreferenceThemeOverlay.Fix</item>

        <item name="chipStyle">@style/Signal.Chip.Action</item>

        <item name="colorControlNormal">@color/core_white</item>

        <item name="materialAlertDialogTheme">@style/ThemeOverlay.Signal.MaterialAlertDialog</item>
        <item name="materialTimePickerTheme">@style/Signal.ThemeOverlay.TimePicker</item>
        <item name="materialTimePickerStyle">@style/Signal.Widget.TimePicker</item>
        <item name="materialCalendarStyle">@style/Signal.Widget.Calendar</item>
        <item name="materialCalendarTheme">@style/Signal.ThemeOverlay.Calendar</item>
        <item name="materialCardViewOutlinedStyle">@style/Widget.Material3.CardView.Filled</item>
        <item name="collapsingToolbarLayoutStyle">@style/Signal.Widget.CollapsingToolbar</item>

        <!-- dark_colors.xml -->
        <item name="conversation_toolbar_color">?attr/colorSurface</item>
        <item name="signal_accent_primary">@color/core_ultramarine_light</item>
        <item name="signal_background_primary">?attr/colorSurface</item>
        <item name="signal_background_secondary">?attr/colorSurfaceContainerLow</item>
        <item name="signal_background_dialog">@color/core_grey_75</item>
        <item name="signal_background_dialog_secondary">@color/core_grey_65</item>
        <item name="signal_text_primary">?attr/colorOnSurface</item>
        <item name="signal_text_secondary">?attr/colorOnSurfaceVariant</item>
        <item name="signal_text_toolbar_title">@color/transparent_white_90</item>
        <item name="signal_icon_tint_primary">?attr/colorOnSurface</item>
        <item name="signal_icon_tint_secondary">@color/core_grey_25</item>
        <item name="signal_icon_tint_action">?attr/signal_icon_tint_primary</item>
        <item name="signal_icon_tint_tab_selected">?attr/colorOnSurface</item>
        <item name="signal_icon_tint_tab_unselected">?attr/colorOnSurfaceVariant</item>
        <item name="signal_button_primary">@color/core_ultramarine_light</item>
        <item name="signal_button_primary_ripple">@color/transparent_black_15</item>
        <item name="signal_button_primary_text">@color/core_white</item>
        <item name="signal_button_primary_text_disabled">@color/transparent_white_20</item>
        <item name="signal_button_secondary">@color/core_grey_75</item>
        <item name="signal_button_secondary_ripple">@color/core_grey_80</item>
        <item name="signal_button_secondary_text">@color/core_ultramarine_light</item>
        <item name="signal_button_secondary_text_disabled">@color/core_grey_45</item>
        <item name="signal_button_secondary_stroke">@color/core_grey_45</item>
        <item name="conversation_compose_background">?attr/colorSurfaceContainerHigh</item>
        <item name="contact_filter_edit_background">?attr/colorSurfaceContainerHighest</item>
        <item name="reactions_pill_selected_color">?attr/colorSurfaceContainer</item>
        <item name="qr_card_color">@color/molly_on_primary_light</item>
        <item name="qr_card_text_color">?attr/colorOnSurfaceVariant</item>
        <item name="conversation_item_update_text_color">?attr/colorOnSurfaceVariant</item>
        <item name="conversation_item_quote_text_color">@color/core_grey_05</item>
        <item name="conversation_item_quote_text_color_sent">?attr/colorOnSurface</item>
        <item name="conversation_item_recv_bubble_color_normal">?attr/colorSurfaceContainerHigh</item>
        <item name="conversation_item_incoming_audio_foreground_tint_normal">?attr/colorOnSurface</item>
        <item name="conversation_typing_indicator_foreground_tint_normal">?attr/colorOnSurfaceVariant</item>
        <item name="conversation_scroll_to_bottom_foreground_color">?attr/colorOnSurfaceVariant</item>
        <item name="conversation_list_selected_color">?attr/colorSurfaceContainer</item>
        <item name="reactions_pill_text_color">?attr/colorOnSurfaceVariant</item>
        <item name="reactions_overlay_any_emoji_background">?attr/colorTertiaryContainer</item>
        <item name="reactions_overlay_any_emoji_foreground">?attr/colorOnTertiaryContainer</item>
        <item name="megaphone_body_text_color">?attr/colorOnSurfaceVariant</item>
        <item name="tooltip_default_color">?attr/colorSecondaryContainer</item>
        <item name="quote_view_background_incoming_wallpaper">@color/signal_colorTransparent2</item>
        <item name="quote_view_bar_incoming_wallpaper">@color/signal_colorNeutralInverse</item>
        <item name="quote_view_foreground_incoming_wallpaper">@color/signal_colorNeutralInverse</item>
        <item name="quote_view_background_outgoing_wallpaper">@color/signal_colorTransparent4</item>
        <item name="quote_view_bar_outgoing_wallpaper">@color/signal_colorNeutralInverse</item>
        <item name="quote_view_foreground_outgoing_wallpaper">@color/signal_colorNeutral</item>
        <item name="quote_view_background_incoming_normal">@color/signal_colorTransparent3</item>
        <item name="quote_view_bar_incoming_normal">@color/signal_colorOnCustom</item>
        <item name="quote_view_foreground_incoming_normal">?attr/colorOnSurface</item>
        <item name="quote_view_background_outgoing_normal">@color/signal_colorTransparent4</item>
        <item name="quote_view_bar_outgoing_normal">@color/signal_colorOnCustom</item>
        <item name="quote_view_foreground_outgoing_normal">?attr/colorOnSurfaceInverse</item>
        <item name="react_with_any_background">?attr/colorSurfaceContainerLow</item>
        <item name="react_with_any_search_background">?attr/conversation_compose_background</item>
        <item name="react_with_any_search_hint">?attr/colorOnSurfaceVariant</item>
        <item name="react_with_any_customize_background">?attr/colorSurfaceVariant</item>
        <item name="voice_note_player_view_background">?attr/colorSurfaceContainerLow</item>
        <item name="message_request_bar_container_background_normal">?attr/colorSurface</item>
        <item name="message_request_bar_background_normal">?attr/colorSurfaceContainerHigh</item>
        <item name="message_request_bar_denyForeground_normal">?attr/colorError</item>
        <item name="message_request_bar_acceptForeground_normal">?attr/colorSurfaceInverse</item>
        <item name="message_request_bar_container_background_wallpaper">@color/wallpaper_bubble_color</item>
        <item name="message_request_bar_background_wallpaper">@color/signal_light_colorTransparent2</item>
        <item name="message_request_bar_denyForeground_wallpaper">?attr/colorError</item>
        <item name="message_request_bar_acceptForeground_wallpaper">@color/signal_colorNeutralInverse</item>
        <item name="safety_tip_background">?attr/colorSecondaryContainer</item>
        <item name="safety_tip_image_background">?attr/colorSecondary</item>

        <!-- signal_styles.xml -->
        <item name="switchThemeOverlay">@style/ThemeOverlay.MaterialSwitch.DayNight</item>
        <item name="extended_action_button_container_color">@color/molly_tertiary_container_dark</item>
        <item name="extended_action_button_icon_color">@color/molly_on_tertiary_container_dark</item>

        <!-- contact_selection_*_item.xml -->
        <item name="filled_tonal_icon_button_container_color">@color/molly_surface_container_highest_dark</item>
        <item name="filled_tonal_icon_button_icon_color">@color/molly_on_surface_dark</item>

        <!-- signal_context_menu_background.xml -->
        <item name="context_menu_container_color">@color/molly_surface_container_high_dark</item>

        <!-- MainNavigation.kt -->
        <item name="navbar_active_indicator_color">@color/molly_surface_bright_dark</item>
        <item name="navbar_container_color">@color/molly_surface_container_dark</item>
    </style>

    <style name="Theme.Signal.AlertDialog.Light.Cornered" parent="MaterialAlertDialog.Material3">
        <item name="android:windowBackground">@drawable/dialog_corners</item>
    </style>

    <style name="Theme.Signal.AlertDialog.Dark.Cornered" parent="MaterialAlertDialog.Material3">
        <item name="android:windowBackground">@drawable/dialog_corners</item>
    </style>

    <style name="TextSecure.LightRegistrationTheme" parent="TextSecure.LightNoActionBar">
        <item name="android:windowLightNavigationBar">false</item>
        <item name="android:windowLightStatusBar">true</item>
    </style>

    <style name="TextSecure.DarkRegistrationTheme" parent="TextSecure.DarkNoActionBar">
        <item name="android:windowLightNavigationBar">false</item>
        <item name="android:windowLightStatusBar">false</item>
    </style>

    <style name="TextSecure.LightNoActionBar.ConversationSettings" parent="TextSecure.LightNoActionBar">
        <item name="android:windowIsTranslucent">true</item>
        <item name="android:windowBackground">@color/transparent_black_20</item>
        <item name="android:windowContentOverlay">@null</item>
        <item name="android:windowNoTitle">true</item>
        <item name="android:windowSharedElementEnterTransition">@transition/transparent_window_wipe_transition</item>
    </style>

    <style name="TextSecure.DarkNoActionBar.ConversationSettings" parent="TextSecure.DarkNoActionBar">
        <item name="android:windowIsTranslucent">true</item>
        <item name="android:windowBackground">@color/transparent_black_20</item>
        <item name="android:windowContentOverlay">@null</item>
        <item name="android:windowNoTitle">true</item>
        <item name="android:windowSharedElementEnterTransition">@transition/transparent_window_wipe_transition</item>
    </style>

    <style name="TextSecure.FullScreenMedia" parent="TextSecure.DarkNoActionBar">
        <item name="android:windowFullscreen">true</item>
    </style>

    <!-- MOLLY: Deprecated themes -->

    <style name="TextSecure.DarkTheme.WebRTCCall">
        <item name="android:forceDarkAllowed" tools:targetApi="29">false</item>
        <item name="android:statusBarColor" tools:ignore="NewApi">@color/core_ultramarine</item>
        <item name="android:windowActionBar">false</item>
        <item name="android:windowTranslucentStatus">true</item>
        <item name="android:windowLightStatusBar" tools:ignore="NewApi">false</item>
        <item name="android:windowTranslucentNavigation">true</item>
        <item name="android:windowLightNavigationBar" tools:ignore="NewApi">false</item>
        <item name="windowActionBar">false</item>
        <item name="windowNoTitle">true</item>
    </style>

    <style name="Theme.Signal.Light.BottomSheetDialog" parent="Theme.Material3.Light.BottomSheetDialog">
        <item name="android:navigationBarColor">?attr/colorSurfaceContainerLow</item>
    </style>

    <style name="Theme.Signal.BottomSheetDialog" parent="Theme.Material3.Dark.BottomSheetDialog">
        <item name="android:navigationBarColor">?attr/colorSurfaceContainerLow</item>
    </style>

    <style name="Theme.Signal.BottomSheetDialog.Fixed" parent="Theme.Design.BottomSheetDialog">
        <item name="android:windowIsFloating">false</item>
        <item name="android:statusBarColor">@color/transparent</item>
        <item name="android:navigationBarColor">?attr/colorSurface</item>
        <item name="android:windowLightStatusBar">false</item>
        <item name="android:windowLightNavigationBar">false</item>
    </style>

    <style name="Theme.Signal.BottomSheetDialog.Fixed.ReactWithAny">
        <item name="bottomSheetStyle">@style/Widget.Signal.BottomSheet.ReactWithAny</item>
        <item name="android:backgroundDimEnabled">true</item>
    </style>

    <!-- MOLLY: Signal.DayNight.Dialog.Animated.Bottom moved to signal_styles.xml -->

    <style name="Widget.Signal.BottomSheet.ReactWithAny" parent="Widget.Material3.BottomSheet">
        <item name="backgroundTint">?attr/colorSurfaceContainerLow</item>
        <item name="behavior_peekHeight">@dimen/react_with_any_emoji_bottom_sheet_dialog_fragment_min_height</item>
        <item name="shapeAppearanceOverlay">@style/ShapeAppearanceOverlay.Signal.BottomSheet.Rounded</item>
    </style>

    <style name="Widget.Signal.ReactWithAny" parent="Widget.Signal.FixedRoundedCorners">
        <item name="bottomSheetStyle">@style/Widget.Signal.ReactWithAny.BottomSheet</item>
    </style>

    <style name="Widget.Signal.ReactWithAny.BottomSheet" parent="Widget.Material3.BottomSheet">
        <item name="shapeAppearanceOverlay">@style/ShapeAppearanceOverlay.Signal.BottomSheet.Rounded</item>
        <item name="backgroundTint">?attr/react_with_any_background</item>
    </style>

    <style name="Widget.Signal.FixedRoundedCorners" parent="ThemeOverlay.Material3.BottomSheetDialog">
        <item name="android:windowIsFloating">false</item>
        <item name="android:windowSoftInputMode">adjustResize</item>
        <item name="bottomSheetStyle">@style/Widget.Signal.FixedRoundedCorners.BottomSheet</item>
        <item name="contactCheckboxBackground">@drawable/contact_selection_checkbox_dialog</item>
        <item name="android:windowEnterAnimation">@anim/slide_from_bottom</item>
        <item name="android:windowExitAnimation">@anim/slide_to_bottom</item>
        <item name="android:navigationBarColor" tools:targetApi="lollipop">?attr/colorSurfaceContainerLow</item>
    </style>

    <style name="Widget.Signal.FixedRoundedCorners.BottomSheet" parent="Widget.Material3.BottomSheet.Modal">
        <item name="shapeAppearanceOverlay">@style/ShapeAppearanceOverlay.Signal.BottomSheet.Rounded</item>
        <item name="backgroundTint">?attr/colorSurfaceContainerLow</item>
        <item name="android:elevation" tools:ignore="NewApi">0dp</item>
    </style>

    <style name="Widget.Signal.FixedRoundedCorners.Messages" parent="Widget.Signal.FixedRoundedCorners">
        <item name="bottomSheetStyle">@style/Widget.Signal.FixedRoundedCorners.Messages.BottomSheet</item>
        <item name="android:navigationBarColor" tools:targetApi="lollipop">?attr/colorSurfaceContainer</item>
    </style>

    <style name="Widget.Signal.FixedRoundedCorners.Messages.BottomSheet" parent="Widget.Material3.BottomSheet">
        <item name="shapeAppearanceOverlay">@style/ShapeAppearanceOverlay.Signal.BottomSheet.Rounded</item>
        <item name="backgroundTint">?attr/colorSurfaceContainer</item>
        <item name="android:elevation" tools:ignore="NewApi">0dp</item>
    </style>

    <style name="Widget.Signal.FixedRoundedCorners.Stories">
        <item name="bottomSheetStyle">@style/Widget.Signal.FixedRoundedCorners.BottomSheet.Stories</item>
        <item name="android:navigationBarColor" tools:targetApi="lollipop">?attr/colorSurfaceContainer</item>
    </style>

    <style name="Widget.Signal.FixedRoundedCorners.BottomSheet.Stories">
        <item name="backgroundTint">?attr/colorSurfaceContainer</item>
        <item name="android:elevation" tools:ignore="NewApi">0dp</item>
    </style>

    <style name="ShapeAppearanceOverlay.Signal.BottomSheet.Rounded" parent="">
        <item name="cornerFamily">rounded</item>
        <item name="cornerSizeTopRight">@dimen/bottom_sheet_corner_size</item>
        <item name="cornerSizeTopLeft">@dimen/bottom_sheet_corner_size</item>
        <item name="cornerSizeBottomLeft">0dp</item>
        <item name="cornerSizeBottomRight">0dp</item>
    </style>

    <style name="ShapeAppearanceOverlay.Signal.Story.Preview" parent="">
        <item name="cornerFamily">rounded</item>
        <item name="cornerSizeTopRight">10dp</item>
        <item name="cornerSizeTopLeft">10dp</item>
        <item name="cornerSizeBottomLeft">10dp</item>
        <item name="cornerSizeBottomRight">10dp</item>
    </style>

    <style name="ShapeAppearanceOverlay.Signal.WallpaperPreview" parent="">
        <item name="cornerFamily">rounded</item>
        <item name="cornerSizeTopRight">12dp</item>
        <item name="cornerSizeTopLeft">12dp</item>
        <item name="cornerSizeBottomLeft">12dp</item>
        <item name="cornerSizeBottomRight">12dp</item>
    </style>

    <style name="ShapeAppearanceOverlay.Signal.WallpaperPreview.ChatContainer" parent="">
        <item name="cornerFamily">rounded</item>
        <item name="cornerSizeTopRight">8dp</item>
        <item name="cornerSizeTopLeft">8dp</item>
        <item name="cornerSizeBottomLeft">8dp</item>
        <item name="cornerSizeBottomRight">8dp</item>
    </style>

    <style name="ShapeAppearanceOverlay.Signal.MediaSelection" parent="">
        <item name="cornerFamily">rounded</item>
        <item name="cornerSizeTopRight">10dp</item>
        <item name="cornerSizeTopLeft">10dp</item>
        <item name="cornerSizeBottomLeft">10dp</item>
        <item name="cornerSizeBottomRight">10dp</item>
    </style>

    <style name="ShapeAppearanceOverlay.Signal.MediaSelection.Selected" parent="">
        <item name="cornerFamily">rounded</item>
        <item name="cornerSize">8dp</item>
    </style>

    <style name="ShapeAppearanceOverlay.Signal.DonationTogglePill.Start" parent="">
        <item name="cornerFamily">rounded</item>
        <item name="cornerSizeTopLeft">12dp</item>
        <item name="cornerSizeBottomLeft">12dp</item>
        <item name="cornerSizeTopRight">0dp</item>
        <item name="cornerSizeBottomRight">0dp</item>
    </style>

    <style name="ShapeAppearanceOverlay.Signal.DonationTogglePill.End" parent="">
        <item name="cornerFamily">rounded</item>
        <item name="cornerSizeTopLeft">0dp</item>
        <item name="cornerSizeBottomLeft">0dp</item>
        <item name="cornerSizeTopRight">12dp</item>
        <item name="cornerSizeBottomRight">12dp</item>
    </style>

    <style name="ShapeAppearanceOverlay.Signal.Circle" parent="">
        <item name="cornerFamily">rounded</item>
        <item name="cornerSize">50%</item>
    </style>

    <style name="ShapeAppearanceOverlay.Signal.MediaOverviewItem" parent="">
        <item name="cornerFamily">rounded</item>
        <item name="cornerSize">18dp</item>
    </style>

    <style name="ShapeAppearanceOverlay.Signal.EditMessageMediaThumbnail" parent="">
        <item name="cornerFamily">rounded</item>
        <item name="cornerSize">4dp</item>
    </style>

    <style name="Widget.Signal.BottomSheet.Rounded" parent="Widget.Material3.BottomSheet">
        <item name="shapeAppearanceOverlay">@style/ShapeAppearanceOverlay.Signal.BottomSheet.Rounded</item>
        <item name="backgroundTint">?attr/colorSurfaceContainerLow</item>
    </style>

    <style name="Widget.Signal.BottomSheet.MaterialButtonStyle" parent="Widget.Material3.Button.TextButton.Dialog.Flush">
        <item name="android:lines">@null</item>
        <item name="android:singleLine">false</item>
    </style>

    <style name="Theme.Signal.RoundedBottomSheet.Light">
        <item name="bottomSheetStyle">@style/Widget.Signal.BottomSheet.Rounded</item>

        <item name="android:textColorPrimary">?attr/colorOnSurface</item>

        <item name="colorAccent">@color/core_ultramarine</item>

        <item name="android:navigationBarColor" tools:ignore="NewApi">?attr/colorSurfaceContainerLow</item>
        <item name="android:windowLightNavigationBar" tools:ignore="NewApi">true</item>

        <item name="android:colorForeground">@color/black</item>
        <item name="colorSwitchThumbNormal">@color/switch_thumb_material_light</item>
    </style>

    <style name="Theme.Signal.RoundedBottomSheet" parent="ThemeOverlay.Material3.BottomSheetDialog">
        <item name="android:windowIsFloating">false</item>
        <item name="bottomSheetStyle">@style/Widget.Signal.BottomSheet.Rounded</item>

        <item name="android:textColorPrimary">?attr/colorOnSurface</item>

        <item name="colorAccent">@color/core_ultramarine_light</item>

        <item name="android:navigationBarColor" tools:ignore="NewApi">?attr/colorSurfaceContainerLow</item>
        <item name="android:windowLightNavigationBar" tools:ignore="NewApi">false</item>
        <item name="android:statusBarColor" tools:ignore="NewApi">@color/transparent</item>
        <item name="materialButtonStyle">@style/Widget.Signal.BottomSheet.MaterialButtonStyle</item>
    </style>

    <style name="Theme.Signal.RoundedBottomSheet.Stories">
        <item name="android:windowIsFloating">false</item>
        <item name="bottomSheetStyle">@style/Widget.Signal.FixedRoundedCorners.BottomSheet.Stories</item>
        <item name="mediaKeyboardBackgroundColor">?attr/colorSurfaceContainer</item>
        <item name="mediaKeyboardBottomBarBackgroundColor">?attr/colorSurfaceContainerHighest</item>

        <item name="android:textColorPrimary">?attr/colorOnSurface</item>

        <item name="colorAccent">?attr/colorPrimary</item>

        <item name="android:navigationBarColor" tools:ignore="NewApi">?attr/colorSurfaceContainer</item>
        <item name="android:windowLightNavigationBar" tools:ignore="NewApi">false</item>
        <item name="android:statusBarColor" tools:ignore="NewApi">@color/transparent</item>
    </style>

    <style name="Signal.Chip.Action" parent="Widget.MaterialComponents.Chip.Action">
        <item name="chipIconSize">24dp</item>
        <item name="chipStartPadding">0dp</item>
        <item name="closeIconEndPadding">8dp</item>
        <item name="closeIcon">@drawable/ic_x_24</item>
        <item name="closeIconSize">18dp</item>
        <item name="textEndPadding">8dp</item>
        <!-- Negative padding gives us 4dp between icon and text, while allowing 10dp for when no icon -->
        <item name="iconEndPadding">0dp</item>
        <item name="iconStartPadding">4dp</item>
        <item name="textStartPadding">8dp</item>
        <item name="android:textColor">?attr/colorOnSurface</item>
        <item name="chipBackgroundColor">?attr/colorSurfaceVariant</item>
        <item name="closeIconTint">?attr/colorOnSurface</item>
        <item name="chipCornerRadius">8dp</item>
        <item name="android:textAppearance">@style/Signal.Text.LabelLarge</item>
    </style>

    <style name="ThemeOverlay.Signal.EditProfileInput" parent="ThemeOverlay.MaterialComponents">
        <item name="colorAccent">?attr/signal_accent_primary</item>
        <item name="colorControlNormal">?attr/signal_accent_primary</item>
        <item name="colorControlHighlight">?attr/signal_accent_primary</item>
        <item name="colorControlActivated">?attr/signal_accent_primary</item>
    </style>
</resources>
