Sometimes you need to publish a CSS file for 3rd-party consumption (i.e. default styles for an embeddable JS widget). This set up lets you continue to use Tailwind, but scope all your styles to a specific selector.
Simply replace .internachi
with your own widget namespace, set up Tailwind as you please,
and run generate.sh
to build a custom version of your Tailwind styles that won't interfere
with other CSS rules (including the Tailwind reset).