johanholmerin / style9

CSS-in-JS compiler inspired by Meta's stylex
MIT License
570 stars 27 forks source link

chore: use vendor longhand properties #87

Closed BeiyanYunyi closed 1 year ago

BeiyanYunyi commented 1 year ago

VendorShorthandProperties doesn't includes MozOsxFontSmoothing and WebkitFontSmoothing. Let's switch to VendorLonghandProperties. (I originally thought the type issue was due to the version of csstype and I open a pull request to upgrade it, I'm wrong.)

Before the change, I have to declare them myself. After the change, there's no need for declaring. (After switching the branch, pnpm i and reload vscode (to restart typescript language server) to see effect.)

This will be some kind of breaking change since it will break some project using vendor shorthand properties, but I think it is necessary. To avoid this situlation, we can use both VendorShorthandProperties and VendorLonghandProperties.

johanholmerin commented 1 year ago

Released in 0.17.0