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

    <style name="Widget.Vector.Toolbar.Base" parent="Widget.MaterialComponents.Toolbar">
        <item name="android:background">?vctr_toolbar_background</item>
        <item name="elevation">0dp</item>

        <!-- main text -->
        <item name="titleTextAppearance">@style/TextAppearance.Vector.Widget.ActionBarTitle</item>

        <!-- sub text -->
        <item name="subtitleTextAppearance">@style/TextAppearance.Vector.Widget.ActionBarSubTitle</item>

        <item name="navigationIconTint">?vctr_content_secondary</item>

        <!-- a11y -->
        <item name="android:touchscreenBlocksFocus">false</item>
    </style>

    <!-- Default toolbar style -->
    <style name="Widget.Vector.Toolbar" parent="Widget.Vector.Toolbar.Base">
        <item name="contentInsetStartWithNavigation">0dp</item>
    </style>

    <!-- Toolbar for settings Activity (so we keep the default contentInsetStartWithNavigation here) -->
    <style name="Widget.Vector.Toolbar.Settings" parent="Widget.Vector.Toolbar.Base" />

    <!-- Toolbar text style -->
    <!-- main text -->
    <style name="TextAppearance.Vector.Widget.ActionBarTitle" parent="TextAppearance.AppCompat.Widget.ActionBar.Title">
        <item name="android:textColor">?vctr_content_primary</item>
        <item name="android:fontFamily">sans-serif-medium</item>
        <item name="fontFamily">sans-serif-medium</item>
        <item name="android:textSize">18sp</item>
    </style>

    <!-- sub text -->
    <style name="TextAppearance.Vector.Widget.ActionBarSubTitle" parent="TextAppearance.AppCompat.Widget.ActionBar.Subtitle">
        <item name="android:textColor">?vctr_content_secondary</item>
        <item name="android:fontFamily">sans-serif</item>
        <item name="fontFamily">sans-serif</item>
        <item name="android:textSize">12sp</item>
    </style>

    <!-- CollapsingToolbar -->

    <style name="Widget.Vector.CollapsingToolbar" parent="Widget.Material3.CollapsingToolbar">
        <!-- a11y -->
        <item name="android:touchscreenBlocksFocus">false</item>
    </style>

    <style name="Widget.Vector.CollapsingToolbar.Medium" parent="Widget.Material3.CollapsingToolbar.Medium">
        <item name="expandedTitleTextAppearance">@style/TextAppearance.Vector.Title.Medium</item>
        <item name="expandedTitleMarginBottom">20dp</item>
        <item name="collapsedTitleTextAppearance">@style/TextAppearance.Vector.Headline.Bold</item>
        <!-- a11y -->
        <item name="android:touchscreenBlocksFocus">false</item>
    </style>

    <style name="Widget.Vector.CollapsingToolbar.Large" parent="Widget.Material3.CollapsingToolbar.Large">
        <!-- a11y -->
        <item name="android:touchscreenBlocksFocus">false</item>
    </style>

</resources>
