chromium/components/browser_ui/styles/android/java/res/values/semantic_colors_dynamic.xml

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2021 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">
    <macro name="default_bg_color">?attr/colorSurface</macro>
    <macro name="default_bg_color_elev_0">?attr/colorSurface</macro>

    <macro name="default_control_color_active">?attr/colorPrimary</macro>
    <macro name="default_control_color_normal">?attr/colorOnSurfaceVariant</macro>

    <macro name="default_icon_color">?attr/colorOnSurface</macro>
    <macro name="default_icon_color_accent1">?attr/colorPrimary</macro>
    <macro name="default_icon_color_inverse">?attr/colorOnSurfaceInverse</macro>
    <macro name="default_icon_color_on_accent1">?attr/colorOnPrimary</macro>
    <macro name="default_icon_color_on_accent1_container" tools:ignore="UnusedResources">?attr/colorOnPrimaryContainer</macro>
    <macro name="default_icon_color_secondary">?attr/colorOnSurfaceVariant</macro>

    <macro name="default_text_color">?attr/colorOnSurface</macro>
    <macro name="default_text_color_accent1">?attr/colorPrimary</macro>
    <macro name="default_text_color_on_accent1">?attr/colorOnPrimary</macro>
    <macro name="default_text_color_on_accent1_container">?attr/colorOnPrimaryContainer</macro>
    <macro name="default_text_color_on_accent2_container">?attr/colorOnSecondaryContainer</macro>
    <macro name="default_text_color_secondary" tools:ignore="UnusedResources">?attr/colorOnSurfaceVariant</macro>
    <macro name="default_text_color_link">?attr/colorPrimary</macro>

    <macro name="hairline_stroke_color">?attr/colorOutline</macro>
    <macro name="divider_line_bg_color">?attr/colorSurfaceVariant</macro>
    <macro name="drag_handlebar_color" tools:ignore="UnusedResources">@macro/divider_line_bg_color</macro>

    <macro name="chip_bg_color">@macro/default_bg_color</macro>
    <macro name="chip_bg_selected_color">?attr/colorSecondaryContainer</macro>
    <macro name="chip_outline_color">?attr/colorOutline</macro>
    <macro name="chip_outline_focused_color">?attr/colorOnSurface</macro>
    <macro name="chip_state_layer_color">?attr/colorOnSurfaceVariant</macro>
    <macro name="chip_state_layer_selected_color">?attr/colorOnSecondaryContainer</macro>
    <macro name="history_chip_bg_color">?attr/colorSurfaceContainer</macro>

    <macro name="toolbar_background_primary" tools:ignore="UnusedResources">@macro/default_bg_color</macro>

    <macro name="custom_tabs_toast_bg_color">?attr/colorOnSurfaceInverse</macro>

    <!-- Gated by full dynamic colors param, no fallback needed. -->
    <macro name="circular_progress_icon_color_small_large">?attr/colorPrimary</macro>
    <macro name="circular_progress_outer_circle_progress_color_small">?attr/colorPrimary</macro>
</resources>