chromium/ui/android/java/res/values/semantic_colors_non_adaptive.xml

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2019 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">
    <!-- Semantic color references that don't change on night mode. -->
    <!-- Common icon colors for drawables. -->
    <!-- Same as ?attr/colorOnSurface. -->
    <color name="default_icon_color_dark">@color/baseline_neutral_10</color>
    <color name="default_icon_color_light">@color/baseline_neutral_90</color>
    <!-- Same as ?attr/colorOnSurfaceVariant. -->
    <color name="default_icon_color_secondary_dark">@color/baseline_neutral_variant_30</color>
    <color name="default_icon_color_secondary_light">@color/baseline_neutral_variant_80</color>
    <!-- Same as ?attr/colorPrimary. -->
    <color name="default_icon_color_blue_dark">@color/baseline_primary_40</color>
    <color name="default_icon_color_blue_light">@color/baseline_primary_80</color>
    <!-- Same as ?attr/colorOnSurface. -->
    <color name="default_icon_color_disabled_dark">@color/baseline_neutral_10_alpha_38</color>
    <color name="default_icon_color_disabled_light">@color/baseline_neutral_90_alpha_38</color>
    <!-- Same as ?attr/colorOnSurfaceInverse -->
    <color name="default_icon_color_inverse_light">@color/baseline_neutral_95</color>
    <color name="default_icon_color_inverse_dark">@color/baseline_neutral_20</color>
    <!-- Same as ?attr/colorOnPrimary. -->
    <color name="default_icon_color_on_accent1_light">@color/baseline_primary_100</color>
    <color name="default_icon_color_on_accent1_dark">@color/baseline_primary_20</color>
    <!-- Same as ?attr/colorOnPrimaryContainer. -->
    <color name="default_icon_color_on_accent1_container_light">@color/baseline_primary_10</color>
    <color name="default_icon_color_on_accent1_container_dark">@color/baseline_primary_90</color>

    <!-- Common text colors -->
    <!-- Same as ?attr/colorOnSurface. -->
    <color name="default_text_color_dark">@color/baseline_neutral_10</color>
    <color name="default_text_color_light">@color/baseline_neutral_90</color>
    <!-- Same as ?attr/colorOnSurfaceVariant. -->
    <color name="default_text_color_secondary_dark">@color/baseline_neutral_variant_30</color>
    <color name="default_text_color_secondary_light">@color/baseline_neutral_variant_80</color>
    <!-- Same as ?attr/colorOnSurface with alpha. -->
    <color name="default_text_color_disabled_light">@color/baseline_neutral_90_alpha_38</color>
    <color name="default_text_color_disabled_dark">@color/baseline_neutral_10_alpha_38</color>
    <!-- Same as ?attr/colorPrimary. -->
    <color name="default_text_color_blue_dark">@color/baseline_primary_40</color>
    <color name="default_text_color_blue_light">@color/baseline_primary_80</color>
    <color name="default_text_color_link_dark">@color/baseline_primary_40</color>
    <color name="default_text_color_link_light">@color/baseline_primary_80</color>
    <!-- Same as ?attr/colorError. -->
    <color name="default_text_color_error_light">@color/baseline_error_80</color>
    <color name="default_text_color_error_dark">@color/baseline_error_40</color>
    <!-- Same as ?attr/onSurface with alpha. -->
    <color name="default_text_color_link_disabled_light">@color/baseline_neutral_90_alpha_38</color>
    <color name="default_text_color_link_disabled_dark">@color/baseline_neutral_10_alpha_38</color>
    <!-- Same as ?attr/colorOnPrimary. -->
    <color name="default_text_color_on_accent1_light">@color/baseline_primary_100</color>
    <color name="default_text_color_on_accent1_dark">@color/baseline_primary_20</color>

    <!-- Same as ?attr/colorError. -->
    <color name="default_red_light">@color/baseline_error_80</color>
    <color name="default_red_dark">@color/baseline_error_40</color>

    <color name="default_green_light">@color/baseline_tertiary_80</color>
    <color name="default_green_dark">@color/baseline_tertiary_40</color>

    <!-- Common background colors. -->
    <color name="default_bg_color_light">@color/modern_white</color>
    <color name="default_bg_color_dark">@color/modern_grey_900</color>
    <color name="default_bg_color_secondary_light">@color/baseline_neutral_100_with_surface_tint_light_alpha_5</color>
    <color name="default_bg_color_secondary_dark">@color/baseline_neutral_10_with_surface_tint_dark_alpha_5</color>
    <color name="default_bg_color_light_elev_1_baseline" tools:ignore="UnusedResources">@color/baseline_neutral_100_with_surface_tint_light_alpha_5</color>
    <color name="default_bg_color_light_elev_2_baseline" tools:ignore="UnusedResources">@color/baseline_neutral_100_with_surface_tint_light_alpha_8</color>
    <color name="default_bg_color_light_elev_3_baseline" tools:ignore="UnusedResources">@color/baseline_neutral_100_with_surface_tint_light_alpha_11</color>
    <color name="default_bg_color_light_elev_4_baseline" tools:ignore="UnusedResources">@color/baseline_neutral_100_with_surface_tint_light_alpha_12</color>
    <color name="default_bg_color_light_elev_5_baseline" tools:ignore="UnusedResources">@color/baseline_neutral_100_with_surface_tint_light_alpha_14</color>
    <color name="default_bg_color_light_elev_6_baseline" tools:ignore="UnusedResources">@color/baseline_neutral_100_with_surface_tint_light_alpha_20</color>
    <color name="legacy_bg_color_light_elev_1">@color/modern_white</color>
    <color name="legacy_bg_color_light_elev_4">@color/modern_white</color>
    <color name="default_bg_color_dark_elev_1_baseline" tools:ignore="UnusedResources">@color/baseline_neutral_10_with_surface_tint_dark_alpha_5</color>
    <color name="default_bg_color_dark_elev_2_baseline" tools:ignore="UnusedResources">@color/baseline_neutral_10_with_surface_tint_dark_alpha_8</color>
    <color name="default_bg_color_dark_elev_3_baseline" tools:ignore="UnusedResources">@color/baseline_neutral_10_with_surface_tint_dark_alpha_11</color>
    <color name="default_bg_color_dark_elev_4_baseline" tools:ignore="UnusedResources">@color/baseline_neutral_10_with_surface_tint_dark_alpha_12</color>
    <color name="default_bg_color_dark_elev_5_baseline" tools:ignore="UnusedResources">@color/baseline_neutral_10_with_surface_tint_dark_alpha_14</color>
    <color name="default_bg_color_dark_elev_6_baseline" tools:ignore="UnusedResources">@color/baseline_neutral_10_with_surface_tint_dark_alpha_20</color>
    <color name="legacy_bg_color_dark_elev_1">@color/baseline_neutral_10_with_surface_tint_dark_alpha_5</color>
    <color name="legacy_bg_color_dark_elev_4">@color/baseline_neutral_10_with_surface_tint_dark_alpha_12</color>

    <!-- Same as ?attr/colorOutline. -->
    <color name="hairline_stroke_color_light">@color/baseline_neutral_variant_60</color>
    <color name="hairline_stroke_color_dark">@color/baseline_neutral_variant_50</color>
    <!-- Same as ?attr/colorSurfaceVariant. -->
    <color name="divider_line_bg_color_dark">@color/baseline_neutral_variant_90</color>
    <color name="divider_line_bg_color_light">@color/baseline_neutral_variant_30</color>
    <color name="default_bg_color_blue_dark">@color/baseline_primary_40</color>
    <color name="default_bg_color_blue_light">@color/baseline_primary_80</color>
    <color name="default_scrim_color">@color/black_alpha_65</color>
    <color name="incognito_card_bg_color">@color/default_bg_color_dark_elev_1_baseline</color>

    <!-- IPH Highlight Colors -->
    <color name="iph_highlight_blue_dark">@color/baseline_primary_40_alpha_10</color>
    <color name="iph_highlight_blue_light">@color/baseline_primary_80_alpha_50</color>

    <!-- Colors used for Widgets (checkboxes, switches, buttons, etc)-->
    <!-- Same as ?attr/colorPrimary. -->
    <color name="default_control_color_active_light" tools:ignore="UnusedResources">@color/baseline_primary_40</color>
    <color name="default_control_color_active_dark" tools:ignore="UnusedResources">@color/baseline_primary_80</color>
    <!-- Same as ?attr/colorOnSurfaceVariant. -->
    <color name="default_control_color_normal_light" tools:ignore="UnusedResources">@color/baseline_neutral_variant_30</color>
    <color name="default_control_color_normal_dark" tools:ignore="UnusedResources">@color/baseline_neutral_variant_80</color>
    <!-- TODO(https://crbug/1216642): Rework to route through
         ?attr/colorOnSurface with alpha. -->
    <color name="default_control_color_highlight_light" tools:ignore="UnusedResources">@color/baseline_neutral_10_alpha_10</color>
    <color name="default_control_color_highlight_dark" tools:ignore="UnusedResources">@color/baseline_neutral_90_alpha_10</color>

    <!--  Filled Button  -->
    <color name="filled_button_bg_color_dark">@color/baseline_primary_40</color>
    <color name="filled_button_bg_color_light">@color/baseline_primary_80</color>
    <color name="filled_button_bg_color_disabled_dark">@color/baseline_neutral_10_alpha_12</color>
    <color name="filled_button_bg_color_disabled_light">@color/baseline_neutral_90_alpha_12</color>

    <!--  Dropdown divier  -->
    <color name="dropdown_divider_color">@color/baseline_neutral_70</color>
    <color name="dropdown_dark_divider_color">@color/white_alpha_12</color>

    <!-- Ripple Colors -->
    <color name="ripple_color_blue_dark">@color/baseline_primary_40</color>
    <color name="ripple_color_blue_light">@color/baseline_primary_80</color>

    <!-- Image loading colors -->
    <color name="image_loading_color_dark">@color/baseline_neutral_70</color>
    <color name="image_loading_color_light">@color/white_alpha_12</color>

    <!-- Incognito icon colors -->
    <color name="incognito_icon_filled_bg_color_dark">@color/modern_grey_800</color>
    <color name="incognito_icon_filled_bg_color_light">@color/baseline_neutral_70</color>
    <color name="ntp_incognito_icon_color" tools:ignore="UnusedResources">@color/baseline_neutral_95</color>

    <!-- Illustration -->
    <color name="promo_illustration_bg_color_light">@color/baseline_neutral_90_alpha_38</color>
    <color name="promo_illustration_bg_color_dark">@color/modern_grey_800_alpha_38</color>

    <!-- Omnibox bg color -->
    <color name="omnibox_bg_color_light">@color/baseline_neutral_100_with_surface_tint_light_alpha_8</color>
    <color name="omnibox_bg_color_dark">@color/baseline_neutral_10_with_surface_tint_dark_alpha_11</color>
    <color name="omnibox_bg_color_incognito" tools:ignore="UnusedResources">@color/black_alpha_38</color>

    <!-- Settings -->
    <color name="preference_highlighted_bg_color_dark">@color/baseline_primary_40_alpha_12</color>
    <color name="preference_highlighted_bg_color_light">@color/white_alpha_24</color>

    <!-- Snackbar colors -->
    <color name="snackbar_background_color_baseline_dark">@color/baseline_neutral_10_with_surface_tint_dark_alpha_12</color>

    <!-- Rating star colors -->
    <color name="rating_star_yellow_dark">@color/modern_yellow_500</color>
    <color name="rating_star_yellow_light">@color/modern_yellow_300</color>

    <!-- Colors of adaptive toolbar -->
    <color name="adaptive_toolbar_preference_header_background_light">@color/modern_white</color>
    <color name="adaptive_toolbar_preference_header_background_dark">@color/baseline_neutral_10_with_surface_tint_dark_alpha_11</color>
    <color name="adaptive_toolbar_preference_header_line_light">@color/modern_grey_800</color>
    <color name="adaptive_toolbar_preference_header_line_dark">@color/modern_white</color>
    <color name="adaptive_toolbar_preference_header_blue_light">@color/baseline_primary_40</color>
    <color name="adaptive_toolbar_preference_header_blue_dark">@color/baseline_primary_80</color>
    <color name="adaptive_toolbar_preference_header_omnibox_light">@color/baseline_neutral_90</color>
    <color name="adaptive_toolbar_preference_header_omnibox_dark">@color/white_alpha_6</color>

    <!-- Price-tracking colors -->
    <color name="price_drop_annotation_bg_color_light">@color/baseline_tertiary_90</color>
    <color name="price_drop_annotation_bg_color_dark">@color/baseline_tertiary_30</color>
    <color name="price_drop_annotation_text_green_light">@color/baseline_tertiary_40</color>
    <color name="price_drop_annotation_text_green_dark">@color/baseline_tertiary_80</color>

    <!-- Price insights colors -->
    <color name="price_insights_sheet_bg_color_light">@color/baseline_surface_tint_light_alph_5</color>
    <color name="price_insights_sheet_bg_color_dark">@color/baseline_neutral_variant_80_alpha_5</color>
</resources>