Skip to content

Commit

Permalink
[Tokens] Upgraded outdated token output in textfield & appbar.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 520714140
  • Loading branch information
pekingme committed Mar 30, 2023
1 parent 4c5b917 commit d722a78
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
~ limitations under the License.
-->
<!-- AUTOGENERATED FILE. DO NOT MODIFY. -->
<!-- Version: v0.147 -->
<!-- Version: v0.162 -->

<resources>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -398,12 +398,11 @@
<item name="endIconTint">@color/m3_textfield_indicator_text_color</item>
<item name="passwordToggleDrawable">@drawable/m3_password_eye</item>

<!-- Using outlined tokens with same values. -->
<item name="counterTextAppearance">@macro/m3_comp_outlined_text_field_supporting_text_type</item>
<item name="counterOverflowTextAppearance">@macro/m3_comp_outlined_text_field_supporting_text_type</item>
<item name="errorTextAppearance">@macro/m3_comp_outlined_text_field_supporting_text_type</item>
<item name="helperTextTextAppearance">@macro/m3_comp_outlined_text_field_supporting_text_type</item>
<item name="hintTextAppearance">@macro/m3_comp_outlined_text_field_supporting_text_type</item>
<item name="counterTextAppearance">@macro/m3_comp_filled_text_field_supporting_text_type</item>
<item name="counterOverflowTextAppearance">@macro/m3_comp_filled_text_field_supporting_text_type</item>
<item name="errorTextAppearance">@macro/m3_comp_filled_text_field_supporting_text_type</item>
<item name="helperTextTextAppearance">@macro/m3_comp_filled_text_field_supporting_text_type</item>
<item name="hintTextAppearance">@macro/m3_comp_filled_text_field_supporting_text_type</item>
<!-- Using same token from input text text appearance. -->
<item name="placeholderTextAppearance">@macro/m3_comp_filled_text_field_input_text_type</item>
<item name="prefixTextAppearance">?attr/textAppearanceTitleMedium</item>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
~ limitations under the License.
-->
<!-- AUTOGENERATED FILE. DO NOT MODIFY. -->
<!-- Version: v0.126 -->
<!-- Version: v0.162 -->

<resources>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
~ limitations under the License.
-->
<!-- AUTOGENERATED FILE. DO NOT MODIFY. -->
<!-- Version: v0.126 -->
<!-- Version: v0.162 -->

<resources>

Expand All @@ -25,6 +25,8 @@
<!-- Please use the resource below in shapeAppearance
and @style/ShapeAppearanceOverlay.Material3.Corner.Top in shapeAppearanceOverlay. -->
<macro name="m3_comp_filled_text_field_container_shape">?attr/shapeAppearanceCornerExtraSmall</macro>
<!-- Enabled - Supporting text -->
<macro name="m3_comp_filled_text_field_supporting_text_type">?attr/textAppearanceBodySmall</macro>
<!-- Enabled - Input text -->
<macro name="m3_comp_filled_text_field_input_text_type">?attr/textAppearanceBodyLarge</macro>
<!-- Disabled - Active indicator -->
Expand Down

0 comments on commit d722a78

Please sign in to comment.