Hedwig Tailwind config
This repo contains the Tailwind CSS configuration used for the Hedwig design system. To include this configuration in your project, do the following:
- Install and initialize Tailwind for your project
- Install the npm package of this repo:
npm install @posten/hedwig-tailwind-base --save-dev
or yarn add -D @posten/hedwig-tailwind-base
- Include the preset in your own Tailwind configuration:
module.exports = {
presets: [
require('@posten/hedwig-tailwind-base')
],
// ...
}
You should now be able to use the configuration. Example: <p className="text-signature">Hello, Posten!</p>
Posten / Bring branding
By default Posten brand will be used. To enable Bring brand colors add hw-theme-bring
className to the body element.
<body className="hw-theme-bring">
...
</body>