Closed TravisSpomer closed 3 years ago
Tokens for stroke alignment:
BackgroundSizing="OuterBorderEdge"
background-clip: border-box
BackgroundSizing="InnerBorderEdge"
background-clip: padding-box
(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.)
border-box
Something like:
ButtonPrimary-Box-Stroke-Alignment = Outer or Inner (default)
ButtonPrimary-Box-Stroke-Alignment
Outer
Inner
This was implemented for both CSS and WinUI with this commit.
Tokens for stroke alignment:
Inner
BackgroundSizing="OuterBorderEdge"
background-clip: border-box
(default)Outer
BackgroundSizing="InnerBorderEdge"
(default)background-clip: padding-box
(default)(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
orInner
(default)