chromium/chrome/android/java/res/values/styles.xml

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2014 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->

<resources xmlns:tools="http://schemas.android.com/tools">
    <!-- TODO(huayinz): Move themes to another xml file. -->
    <!-- Application themes -->
    <!-- On Android N, if the ChromeLauncherActivity is NoDisplay then
         intents are not always immediately sent when Chrome is docked to
         the top of the screen in multi-window mode. Use Translucent.NoTitleBar
         for the theme instead. See crbug.com/645074. -->
    <style name="LauncherTheme" parent="Theme.BrowserUI.Translucent.NoTitleBar" />

    <style name="Base.V21.Theme.Chromium" parent="Theme.BrowserUI.DayNight">
        <!-- Set android alert dialog attributes because the context menu dialog is
             OS-dependent. -->
        <item name="android:alertDialogTheme">@style/ThemeOverlay.BrowserUI.AlertDialog</item>
    </style>
    <style name="Base.Theme.Chromium" parent="Base.V21.Theme.Chromium" />

    <style name="Base.Theme.Chromium.WithWindowAnimation">
        <item name="android:windowContentOverlay">@null</item>

        <!-- Navigation Transitions, requires API level 21 -->
        <item name="android:windowAllowEnterTransitionOverlap" tools:targetApi="21">false</item>
        <item name="android:windowAllowReturnTransitionOverlap" tools:targetApi="21">true</item>
        <item name="android:windowContentTransitions" tools:targetApi="21">true</item>
        <item name="android:windowEnterTransition" tools:targetApi="21">@transition/fade</item>
        <item name="android:windowExitTransition" tools:targetApi="21">@null</item>
        <item name="android:windowSharedElementEnterTransition" tools:targetApi="21">@transition/move_image</item>
        <item name="android:windowSharedElementExitTransition" tools:targetApi="21">@transition/move_image</item>
    </style>

    <style name="Theme.Chromium" parent="Base.Theme.Chromium" />
    <style name="Theme.Chromium.WithWindowAnimation"
        parent="Base.Theme.Chromium.WithWindowAnimation" />

    <!-- Activity themes -->
    <style name="Theme.Chromium.Activity" parent="Theme.Chromium.WithWindowAnimation" />
    <!-- This is distinct from Theme.Chromium.Activity.Fullscreen.Transparent, which makes the
         payment handler window overlap the bottom nav bar. -->
    <style name="Base.Theme.Chromium.Activity.Fullscreen" parent="Theme.BrowserUI.DayNight" />
    <style name="Base.V27.Theme.Chromium.Activity.Fullscreen"
        parent="Base.Theme.Chromium.Activity.Fullscreen" />
    <style name="Theme.Chromium.Activity.Fullscreen"
        parent="Base.V27.Theme.Chromium.Activity.Fullscreen" />
    <style name="Theme.Chromium.Activity.Fullscreen.Transparent">
        <item name="android:windowBackground">@android:color/transparent</item>
        <item name="android:windowContentOverlay">@null</item>
        <item name="android:windowIsFloating">true</item>
        <item name="android:colorBackgroundCacheHint">@null</item>
        <item name="android:windowIsTranslucent">true</item>
    </style>
    <!-- A style for Activities that need translucency for technical reasons, but otherwise should
         look as usual (according to Theme.Chromium.Activity).-->
    <style name="Theme.Chromium.Activity.FakeTranslucent" parent="Theme.Chromium.Activity">
        <item name="android:windowBackground">@android:color/transparent</item>
        <item name="android:windowIsTranslucent">true</item>
        <item name="android:windowAnimationStyle">@null</item>
    </style>

    <!-- Extend base theme rather than Theme.Chromium.WithWindowAnimation to avoid values-v27
         navigation bar colors from being applied -->
    <style name="Theme.Chromium.SearchActivity" parent="Base.Theme.Chromium.WithWindowAnimation" />

    <!-- Web app themes -->
    <!-- Extend base theme rather than Theme.Chromium.WithWindowAnimation to avoid values-v27
        navigation bar colors from being applied -->
    <style name="Theme.Chromium.Webapp" parent="Base.Theme.Chromium.WithWindowAnimation">
        <item name="android:windowBackground">@null</item>
        <item name="android:windowDisablePreview">true</item>
    </style>

    <style name="Theme.Chromium.Webapp.Translucent" parent="Theme.Chromium.Webapp">
        <item name="android:windowIsTranslucent">true</item>
    </style>

    <style name="Base.Theme.Chromium.Settings" parent="Theme.Chromium">
        <item name="appBarLayoutStyle">@style/Widget.MaterialComponents.AppBarLayout.Surface</item>
        <item name="toolbarStyle">@style/SettingsToolbarStyle</item>
        <item name="preferenceTheme">@style/PreferenceTheme</item>
        <item name="alertDialogTheme">@style/ThemeOverlay.BrowserUI.AlertDialog</item>
        <item name="searchViewStyle">@style/Widget.AppCompat.SearchView.ActionBar</item>

        <!-- Text style attributes used by the preference_material.xml layout. -->
        <item name="android:textAppearanceListItem">@style/TextAppearance.TextLarge.Primary</item>
        <item name="android:textAppearanceListItemSmall">@style/TextAppearance.TextSmall.Primary</item>
        <item name="android:textAppearanceListItemSecondary">@style/TextAppearance.TextMedium.Secondary</item>
        <item name="android:textColorSecondary">@color/default_text_color_secondary_list</item>
    </style>
    <style name="Base.V27.Theme.Chromium.Settings" parent="Base.Theme.Chromium.Settings" />
    <style name="Theme.Chromium.Settings" parent="Base.V27.Theme.Chromium.Settings" />

    <style name="Theme.Chromium.Settings.ManageSpace">
        <!-- With ActionBar -->
        <item name="windowActionBar">true</item>
        <item name="windowNoTitle">false</item>
        <!-- Status bar color -->
        <!-- Action bar color. This is intentionally a dark color. See crbug.com/871193.
             The custom styling can be removed once Android N is deprecated. -->
        <item name="android:statusBarColor">@color/dark_action_bar_color</item>
        <item name="android:windowLightStatusBar">false</item>
        <item name="colorPrimaryDark">@color/dark_status_bar_color</item>
        <item name="toolbarStyle">@style/ManageSpaceToolbarStyle</item>
        <item name="actionBarStyle">@style/ManageSpaceActionBarModern</item>
        <item name="actionBarTheme">@style/ManageSpaceActionBarTheme</item>
    </style>

    <!-- Style for the semi-transparent sign-in & history sync opt-in activity.
    The background is translucent since the parent activity content should be
    visible when the bottom sheet or the non-full-screen history sync opt-in
    dialog is shown on tablet. -->
    <style name="Base.Theme.Chromium.SigninAndHistorySyncActivity"
        parent="Theme.Chromium.Activity.Fullscreen">
        <item name="android:windowBackground">@android:color/transparent</item>
        <item name="android:windowIsTranslucent">true</item>
        <item name="android:navigationBarColor">@macro/bottom_system_nav_color</item>
        <item name="android:windowAnimationStyle">@style/SigninAndHistorySyncActivityAnimation</item>
    </style>
    <style name="Theme.Chromium.SigninAndHistorySyncActivity"
        parent="Base.Theme.Chromium.SigninAndHistorySyncActivity" />

    <!-- TODO(crbug.com/345176436): This animation style is used to set the
         enter animation for the history sync dialog. This animation should be
         configured using ModalDialogProperties instead. -->
    <style name="SigninAndHistorySyncActivityAnimation" parent="@android:style/Animation.Dialog">
      <item name="android:windowExitAnimation">@null</item>
      <item name="android:windowEnterAnimation">@anim/slide_in_up</item>
    </style>

    <!-- Trusted Web Activities -->
    <style name="Theme.Chromium.ClearDataDialogActivity"
        parent="Theme.Chromium.Activity.Fullscreen.Transparent">
        <item name="android:windowBackground">@android:color/transparent</item>
        <item name="android:windowEnterAnimation">@null</item>
        <item name="android:windowExitAnimation">@null</item>
        <item name="android:windowAnimationStyle">@null</item>
    </style>

    <!-- First Run and Bookmark/recent-tabs dialogs.
        TODO(crbug.com/41374924): Remove textAppearance when all TextViews have text style
        explicitly specified. -->
    <style name="Base.V17.Theme.Chromium.DialogWhenLarge"
        parent="Theme.BrowserUI.DialogWhenLarge.DayNight">
        <item name="android:windowBackground">@drawable/bg_white_dialog</item>
        <item name="android:textAppearance">@style/TextAppearance.TextMedium.Primary</item>
        <item name="android:textColorLink">@macro/default_text_color_link</item>
        <item name="colorPrimaryDark">@android:color/black</item>
        <item name="colorAccent">@macro/default_control_color_active</item>
        <item name="colorControlHighlight">@color/control_highlight_color</item>
        <item name="spinnerStyle">@style/SpinnerStyle</item>
        <item name="textInputStyle">@style/Widget.BrowserUI.TextInputLayout</item>

        <!-- Remove ActionBar -->
        <item name="windowNoTitle">true</item>
        <item name="windowActionBar">false</item>
    </style>
    <style name="Base.Theme.Chromium.DialogWhenLarge"
        parent="Base.V17.Theme.Chromium.DialogWhenLarge" />
    <style name="Theme.Chromium.DialogWhenLarge" parent="Base.Theme.Chromium.DialogWhenLarge" />
    <style name="DimmingDialog" parent="Base.Theme.Chromium.DialogWhenLarge">
        <item name="android:windowLightNavigationBar" tools:targetApi="28">false</item>
    </style>

    <!-- Theme variation for low-end devices.

        Since ChromeActivities are not HW accelerated, they don't get fancy
        material shadows for popups. This theme sets drawable with pre-baked
        shadows to those popups to make them look better.
        '*_bg_tinted' are a 9-patchs similar to 'abc_popup_background_mtrl_mult'
        drawable from Android support library, where it's used to simulate
        material design on earlier Android versions.
    -->
    <style name="ListPopupWindow.LowEnd" parent="android:Widget.Material.Light.ListPopupWindow">
        <item name="android:popupBackground">@drawable/menu_bg_tinted</item>
    </style>
    <style name="Spinner.LowEnd" parent="android:Widget.Material.Light.Spinner">
        <item name="android:popupBackground">@drawable/dialog_bg_tinted</item>
    </style>
    <style name="AutoCompleteTextView.LowEnd" parent="android:Widget.Material.Light.AutoCompleteTextView">
        <item name="android:popupBackground">@drawable/menu_bg_tinted</item>
    </style>
    <style name="Theme.Chromium.WithWindowAnimation.LowEnd"
        parent="Theme.Chromium.WithWindowAnimation">
        <item name="android:popupWindowStyle">@style/ListPopupWindow.LowEnd</item>
        <item name="android:listPopupWindowStyle">@style/ListPopupWindow.LowEnd</item>
        <item name="android:spinnerStyle">@style/Spinner.LowEnd</item>
        <item name="android:autoCompleteTextViewStyle">@style/AutoCompleteTextView.LowEnd</item>

        <!-- Without HW acceleration the default text cursor looks weird (top
             half is way brighter than the bottom), so we use our own. -->
        <item name="android:textCursorDrawable">@drawable/text_cursor_lowend</item>
    </style>


    <!-- Settings -->
    <style name="SettingsToolbarStyle" parent="Widget.Material3.Toolbar">
        <item name="titleTextAppearance">@style/TextAppearance.Headline.Primary</item>
        <item name="titleTextColor">?attr/colorOnSurface</item>
        <item name="navigationIconTint">?attr/colorOnSurface</item>
    </style>

    <!-- Manage Space Activity styles -->
    <style name="ManageSpaceActionBarModern" parent="Widget.MaterialComponents.ActionBar.Primary">
        <item name="titleTextStyle">@style/TextAppearance.Headline.Primary.Baseline.Light</item>
        <!-- Action bar color. This is intentionally a dark color. See crbug.com/871193.
             The custom styling can be removed once Android N is deprecated. -->
        <item name="background">@color/dark_action_bar_color</item>
    </style>
    <style name="ManageSpaceActionBarTheme">
        <!-- Sets the color of the back arrow (to match the color of the title text) -->
        <item name="colorControlNormal">@color/default_icon_color_light_tint_list</item>
        <item name="colorControlHighlight">@color/ripple_material_dark</item>
    </style>
    <style name="ManageSpaceToolbarStyle" parent="SettingsToolbarStyle">
        <item name="titleTextColor">@color/default_text_color_light</item>
    </style>
    <style name="ManageSpaceActivityButton">
      <item name="android:layout_width">wrap_content</item>
      <item name="android:layout_height">wrap_content</item>
      <item name="android:layout_gravity">end</item>
      <item name="android:layout_marginTop">8dp</item>
      <item name="android:paddingStart">32dp</item>
      <item name="android:paddingEnd">32dp</item>
    </style>
    <style name="ManageSpaceActivityExplanationTextView">
      <item name="android:textAppearance">?android:attr/textAppearanceMedium</item>
      <item name="android:layout_width">match_parent</item>
      <item name="android:layout_height">wrap_content</item>
      <item name="android:paddingTop">6dp</item>
    </style>
    <style name="ManageSpaceActivitySizeTextView">
      <item name="android:textAppearance">?android:attr/textAppearanceMedium</item>
      <item name="android:layout_width">wrap_content</item>
      <item name="android:layout_height">wrap_content</item>
      <item name="android:paddingTop">6dp</item>
      <item name="android:maxLines">1</item>
    </style>

    <!-- Distilled Page styles -->
    <style name="DistilledPagePrefThemeButton">
        <item name="android:layout_width">0dp</item>
        <item name="android:layout_height">wrap_content</item>
        <item name="android:layout_weight">1</item>
        <item name="android:button">@null</item>
        <item name="android:gravity">center</item>
        <item name="android:textAppearance">
            ?android:attr/textAppearanceMedium
        </item>
        <item name="android:padding">8dp</item>
        <item name="android:background">
            @drawable/distilled_page_prefs_button_bg
        </item>
    </style>

    <!-- Button bar styles -->
    <style name="ButtonBarTopSpacerLight">
        <item name="android:layout_width">0dp</item>
        <item name="android:layout_height">0dp</item>
        <item name="android:layout_weight">1</item>
    </style>

    <!-- Generic Overlay Panel styles -->
    <style name="OverlayPanelTextViewLayout">
        <item name="android:layout_width">match_parent</item>
        <item name="android:layout_height">wrap_content</item>
        <item name="android:layout_gravity">bottom</item>
        <item name="android:background">@macro/overlay_panel_bar_background_color</item>
        <item name="android:visibility">invisible</item>
        <!-- 60dp padding minus 7dp for fading edge -->
        <item name="android:paddingStart">53dp</item>
        <!-- padding for icons that can appear on the right end of the Bar. -->
        <item name="android:paddingEnd">@dimen/overlay_panel_end_buttons_width</item>
    </style>
    <style name="OverlayPanelTextView" parent="@style/TextAppearance.TextLarge.Primary">
        <item name="android:layout_height">match_parent</item>
        <item name="android:ellipsize">end</item>
        <item name="android:includeFontPadding">false</item>
        <item name="android:singleLine">true</item>
    </style>

    <!-- Contextual Search Overlay styles -->
    <style name="ContextualSearchTextViewLayout" parent="@style/OverlayPanelTextViewLayout">
        <item name="android:paddingEnd">@dimen/contextual_search_end_padding</item>
    </style>
    <style name="ContextualSearchTextView" parent="@style/OverlayPanelTextView" />
    <style name="ContextualSearchContextTextView">
        <item name="android:layout_width">0dp</item>
        <item name="android:layout_height">match_parent</item>
        <item name="android:layout_weight">1</item>
        <item name="android:ellipsize">none</item>
        <item name="android:fadingEdge">horizontal</item>
        <item name="android:fadingEdgeLength">30dp</item>
        <item name="android:includeFontPadding">false</item>
        <item name="android:requiresFadingEdge">horizontal</item>
        <item name="android:singleLine">true</item>
        <item name="android:textAppearance">@style/TextAppearance.TextLarge.Secondary</item>
    </style>
    <style name="ContextualSearchCaptionTextView">
        <item name="android:layout_width">match_parent</item>
        <item name="android:layout_height">match_parent</item>
        <item name="android:layout_gravity">bottom</item>
        <item name="android:layout_marginStart">7dp</item>
        <item name="android:layout_marginEnd">7dp</item>
        <item name="android:background">@macro/overlay_panel_bar_background_color</item>
        <item name="android:ellipsize">end</item>
        <item name="android:includeFontPadding">false</item>
        <item name="android:singleLine">true</item>
        <item name="android:textAppearance">@style/TextAppearance.TextMedium.Secondary</item>
    </style>

    <!-- Autofill Card -->
    <style name="TextAppearance.AutofillCardErrorMessage">
        <item name="android:textColor">@color/input_underline_error_color</item>
        <item name="android:textSize">@dimen/text_size_small</item>
    </style>
    <style name="TextAppearance.AutofillCardInstructionsText">
        <item name="android:textColor">@color/explanation_text_color</item>
        <item name="android:textSize">@dimen/text_size_large</item>
    </style>
    <style name="TextAppearance.AutofillCardCheckBoxText">
        <item name="android:textColor">@color/explanation_text_color</item>
        <item name="android:textSize">@dimen/text_size_medium</item>
    </style>

    <!-- Autofill IBAN -->
    <style name="ShapeAppearance.App.MediumComponent" parent="ShapeAppearance.MaterialComponents.MediumComponent">
        <item name="cornerSize">@dimen/card_rounded_corner_radius</item>
    </style>

    <!-- Tab Layout -->
    <style name="TabLayoutStyle" parent="Widget.MaterialComponents.TabLayout">
        <item name="android:background">@android:color/transparent</item>
        <item name="tabIndicator">@drawable/tab_indicator</item>
        <item name="tabIndicatorColor">@macro/tab_layout_selected_tab_color</item>
        <item name="tabIndicatorFullWidth">false</item>
        <item name="tabIndicatorHeight">@dimen/tab_indicator_height</item>
        <item name="tabMode">fixed</item>
        <item name="tabGravity">fill</item>
        <item name="tabMaxWidth">0dp</item>
        <item name="tabTextAppearance">@style/TextAppearance.TextMediumThick</item>
        <item name="tabTextColor">@color/default_text_color_secondary_list</item>
        <item name="tabSelectedTextColor">@macro/tab_layout_selected_tab_color</item>
    </style>

    <!-- Misc styles -->
    <style name="TabBarShadow">
        <item name="android:layout_width">match_parent</item>
        <item name="android:layout_height">@dimen/action_bar_shadow_height</item>
        <item name="android:src">@drawable/modern_toolbar_shadow</item>
        <item name="android:scaleType">fitXY</item>
    </style>
    <style name="TabBarLineShadow">
        <item name="android:layout_width">match_parent</item>
        <item name="android:layout_height">1dp</item>
        <item name="android:src">@macro/divider_line_bg_color</item>
        <item name="android:scaleType">fitXY</item>
    </style>
    <style name="TextAppearance.UpdateMenuItem">
        <item name="android:textColor">@color/update_menu_item_text_color</item>
        <item name="android:textSize">@dimen/text_size_large</item>
    </style>
    <style name="SadTabBodyText">
        <item name="android:textAppearance">@style/TextAppearance.TextMedium.Secondary</item>
        <item name="android:layout_gravity">start</item>
    </style>
    <style name="SigninButtonBorderlessRegular" parent="@style/TextButton">
        <item name="android:paddingStart">0dp</item>
        <item name="android:paddingEnd">0dp</item>
    </style>

    <!-- Misc text appearance styles -->
    <style name="TextAppearance.SearchEngineRecentTitle" parent="TextAppearance.MediumStyle">
        <item name="android:textColor">@macro/default_text_color_link</item>
    </style>
    <!-- TODO(crbug.com/40691622): Replace with a standard text appearance. -->
    <style name="TextAppearance.ClearBrowsingDataText">
        <item name="android:textSize">18sp</item>
        <item name="android:textColor">?android:attr/textColorPrimary</item>
    </style>

    <!-- Use style="..." for the following search box style as textColorHint
         can not use android:textAppearance="...".  textColorHint is defined
         in a parent theme therefore can not be overridden by appearance.
    -->
    <style name="TextAppearance.SearchBoxText">
        <item name="android:textSize">@dimen/location_bar_url_text_size</item>
    </style>


    <style name="TextAppearance.FakeSearchBoxText">
        <item name="android:textSize">@dimen/ntp_fake_search_box_text_size</item>
        <item name="android:textColorHint">@macro/ntp_search_box_hint</item>
    </style>

    <!-- Launcher widgets can't use theme attributes, so this should use the baseline colors for
         android:textColorHint -->
    <style name="TextAppearance.SearchBoxText.Widget">
        <item name="android:textColorHint">@color/search_box_hint_baseline</item>
    </style>

    <!-- Bookmarks -->
    <style name="BookmarkSaveFlowContainer">
        <item name="android:paddingVertical">18dp</item>
        <item name="android:paddingStart">12dp</item>
        <item name="android:paddingEnd">8dp</item>
    </style>

    <!-- Download Home -->
    <style name="DateView">
        <item name="android:layout_width">match_parent</item>
        <item name="android:layout_height">wrap_content</item>
        <item name="android:layout_marginTop">12dp</item>
        <item name="android:layout_marginBottom">10dp</item>
        <item name="android:layout_marginStart">@dimen/list_item_default_margin</item>
        <item name="android:layout_marginEnd">@dimen/list_item_default_margin</item>
        <item name="android:textAppearance">@style/TextAppearance.TextMedium.Secondary</item>
    </style>

    <!-- Incognito New Tab Page -->
    <style name="TextAppearance.IncognitoNewTabLearnMoreLinkModern">
        <item name="android:textColor">@color/default_text_color_link_light</item>
        <item name="android:textSize">@dimen/text_size_medium</item>
    </style>

    <!-- Picker Dialog animations -->
    <style name="PickerDialogAnimation">
        <item name="android:windowEnterAnimation">@anim/design_bottom_sheet_slide_in</item>
        <item name="android:windowExitAnimation">@null</item>
    </style>

    <!-- Context menu -->
    <style name="ContextMenuItemText">
        <item name="android:background">?attr/selectableItemBackground</item>
        <item name="android:minHeight">@dimen/min_touch_target_size</item>
        <item name="android:paddingStart">@dimen/context_menu_list_lateral_padding</item>
        <item name="android:paddingEnd">@dimen/context_menu_list_lateral_padding</item>
        <item name="android:gravity">center_vertical</item>
        <item name="android:textAlignment">viewStart</item>
        <item name="android:textAppearance">@style/TextAppearance.TextLarge.Primary</item>
    </style>

    <style name="ContextMenuChip" parent="Chip">
        <item name="primaryTextAppearance">@style/TextAppearance.TextLarge.Primary</item>
        <item name="iconWidth">@dimen/context_menu_chip_icon_size</item>
        <item name="iconHeight">@dimen/context_menu_chip_icon_size</item>
        <item name="chipColor">@color/menu_item_bg_color</item>
        <item name="solidColorChip">true</item>
        <item name="allowMultipleLines">true</item>
        <item name="extendLateralPadding">true</item>
        <item name="textAlignStart">true</item>
        <item name="verticalInset">@dimen/context_menu_chip_vertical_inset</item>
        <item name="endIconWidth">@dimen/context_menu_chip_icon_size</item>
        <item name="endIconHeight">@dimen/context_menu_chip_icon_size</item>
    </style>

    <!-- Scrolling -->
    <style name="DarkModeCompatibleVerticalScrolling">
        <item name="android:scrollbarThumbVertical">@color/default_scroll_thumb</item>
    </style>
    <style name="VerticalRecyclerView" parent="android:Widget">
        <item name="android:scrollbars">vertical</item>
    </style>

    <!-- Overflow menu -->
    <style name="AppMenuItemText">
        <item name="android:textAppearance">@style/TextAppearance.TextLarge.Primary</item>
        <item name="android:singleLine">true</item>
        <item name="android:paddingEnd">9dp</item>
        <item name="android:gravity">center_vertical</item>
    </style>
    <style name="AppMenuItemTextViewWithCompoundDrawables" parent="AppMenuItemText">
        <item name="android:drawablePadding">12dp</item>
        <item name="android:tintMode">src_in</item>
        <item name="chromeDrawableTint">@color/default_icon_color_secondary_tint_list</item>
        <item name="drawableWidth">24dp</item>
        <item name="drawableHeight">24dp</item>
    </style>

    <!--  Dialog for notification blocked message.  -->
    <style name="NotificationBlockedDialogContent" parent="AlertDialogContent">
        <item name="android:paddingBottom">12dp</item>
    </style>

     <!-- Bookmark styles -->
    <style name="TextAppearance.ShoppingPriceDropText" parent="TextAppearance.TextMedium.Secondary">
        <item name="android:textColor">@color/price_drop_annotation_text_green</item>
    </style>
    <style name="TextAppearance.SpecialFolderChildCount" parent="TextAppearance.TextLarge.Primary.OnAccent1Container" tools:ignore="SpUsage">
        <!-- The same as the regular style, but using dp instead of sp. -->
        <item name="android:textSize">16dp</item>
    </style>
        <style name="TextAppearance.RegularFolderChildCount" parent="TextAppearance.TextLarge.Primary" tools:ignore="SpUsage">
        <!-- The same as the regular style, but using dp instead of sp. -->
        <item name="android:textSize">16dp</item>
    </style>

     <!-- Magic Stack styles -->
    <style name="TextAppearance.ShoppingPriceDropSmallText" parent="TextAppearance.TextSmall.Secondary">
        <item name="android:textColor">@color/price_drop_annotation_text_green</item>
    </style>

    <!--
        TODO(crbug.com/40900841): Tinting the drawable for the popup theme doesn't work in clank.
        The "colorAccent" attribute works in a standalone Android project, but it doesn't have any
        effect in clank.
    -->
    <style name="ModernToolbarPopupTheme">
        <item name="android:listChoiceIndicatorSingle">@drawable/checkmark_selection_drawable</item>
    </style>
</resources>