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

WinUI export: acronyms #5

Closed TravisSpomer closed 3 years ago

TravisSpomer commented 4 years ago

The WinUI exporter produces ugly names for tokens with two-letter acronyms. For example, HCOutline in the original token name is converted into HcOutline in the WinUI export.

The code is getNameForWinUI in fluentui-winui.js.

TravisSpomer commented 3 years ago

Fixed by this commit.