🦹♂️ Twin blends the magic of Tailwind with the flexibility of css-in-js (emotion, styled-components, solid-styled-components, stitches and goober) at build time.
This PR sets up Jest for standard (non-snapshot) tests using Babel.
I've fixed a few arbitrary value/property/variant issues to do with matching more complex strings within the brackets.
Twin gained another feature too, we can now pass a tailwind config object into the twin config option. Previously the config option only accepted a string path to the tailwind config.
This PR sets up Jest for standard (non-snapshot) tests using Babel.
I've fixed a few arbitrary value/property/variant issues to do with matching more complex strings within the brackets.
Twin gained another feature too, we can now pass a tailwind config object into the twin
config
option. Previously theconfig
option only accepted a string path to the tailwind config.