microsoft / fluentui-token-pipeline

The Fluent UI token pipeline generates source code for Fluent UI libraries.
https://microsoft.github.io/fluentui-token-pipeline/
Other
41 stars 18 forks source link

Stroke alignment #36

Closed TravisSpomer closed 3 years ago

TravisSpomer commented 3 years ago

Tokens for stroke alignment:

Inner

Outer

(Neither property actually affects sizing of the element, either in layout or just visually—that would be border-box in CSS, with no WinUI equivalent.)

Something like:

ButtonPrimary-Box-Stroke-Alignment = Outer or Inner (default)

TravisSpomer commented 3 years ago

This was implemented for both CSS and WinUI with this commit.