online twin playground #649
Replies: 2 comments
-
it also only works on chrome right now. haven't had a chance to resolve why. |
Beta Was this translation helpful? Give feedback.
-
@ben-rogerson there are two things which would be nice to implement that could make writing something like this easier.
[babelPluginMacros, {
twin: {
preset: "emotion",
// I want to be able to add the following line
tailwindConfig: {...}
},
}] There are also some small changes I would need help convincing babel-plugin-macros to implement (relevant issue) but I think with a bit of work it would be possible to make a runtime version of twin. I saw a discussion the other day about framer motion + twin integration. This could be helpful there. I'm sure there are other use cases. That being said you're already doing a ton of work on twin so totally cool if you shelf this. just wanted to document what I found while I remember. |
Beta Was this translation helpful? Give feedback.
-
i wanted to use twin in live coding examples so i made a web based twin playground.
https://twin-playground.vercel.app
pretty sure it's the first one. but please let me know if it isn't. also totally open to the code being used to make something a bit nicer.
https://github.com/lukesmurray/twin-playground
Beta Was this translation helpful? Give feedback.
All reactions