Pedro Duarte
Pedro Duarte
Hi Sean, thanks for the video. That was super helpful 🙏 We'd need to look into this. Also, we'd need to experiment with different approaches and ensure it doesn't affect...
Thanks Sean. Will have a think. We're currently working on the TypeScript layer so will likely wait for it to finish before looking into this.
You need to tell Stitches about the mapping of CSS Properties to Theme Scale: https://stitches.dev/docs/api#defaultthememap Updated sandbox: https://codesandbox.io/s/morning-http-vb3wz?file=/src/stitches.js:131-195
From a DX point of view, forcing users to do `.className` is a no go. The most consistent way is what we currently have, as expressions can be called as...
We haven't had a chance to focus on this yet, but we did take a look. It's related to the fact we only check the first type in the array:...
Noted. Thank you all 🙏 We'll look into this soon.
hey, based on the screenshots it looks okay. but yeah a repro would be good, as lex mentioned. cheers!
It has been removed, yes. You can still have a strict-er way to use tokens via the theme object though https://stitches.dev/docs/typescript#stricter-experience
There's a chance, yes. This API is what I had drafted too :D
This is a good point. Thanks for raising. We had reached some TS limitations when we built this initially. We'll have to give it another go.