unoplatform / Uno.Themes

This library is designed to help you use the Material, Fluent or Cupertino design system with the Uno Platform
https://platform.uno
Apache License 2.0
167 stars 28 forks source link

fix: Use BodyLarge typography for TextBox Placholder (backport #1383) #1388

Closed mergify[bot] closed 1 month ago

mergify[bot] commented 1 month ago

related https://github.com/unoplatform/Uno.Themes/issues/1379

PR Type

What kind of change does this PR introduce?

The PlaceholderText should be using the BodyLarge typography values, same as the TextBox's Content element. For now, until https://github.com/unoplatform/Uno.Themes/pull/1014 is merged, we will also keep those typorgaphy values when the PlaceholderElement is translated to serve as the "header"/"label" of the TextBox and keep it scaled down to the same size as BodySmall


This is an automatic backport of pull request #1383 done by Mergify.