This is a simple proof of concept that creates a Tailwind theme from the Auro design tokens. The key file to look at here is tailwind.config.js, which contains the theme itself. There's also a simple demonstration of usage in App.js.
A more polished version of this would:
- Include all of the Auro design tokens. (Most are implemented here, but not all)
- Export a theme that could be simply dropped into a tailwind.config.js
This project was bootstrapped with create-react-app. To run:
- Clone the repo
- Run
npm i
- Run
npm run start