Tailwind inspired tools to build fast with Stitches
npm install stitches-zigzagTailwind inspired tools to build fast with Stitches
``zsh`
npm install stitches-zigzag
stitches.config.ts
`ts
import createCss from "@stitches/react";
import { tailwind } from "stitches-zigzag";
const stitches = createCss(tailwind);
// ...
`
global.ts
`ts
import { global } from "stitches.config";
import { modernNormalize } from "stitches-zigzag";
export const globalStyles = global(modernNormalize);
// ...
`
This provides three named exports:
| Name | Description |
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| screens | An object with each breakpoint |
| tailwind | Stitches configuration object based on the default TailwindCSS configuration |
| modernNormalize | Stitches global css object port of modern-normalize` |