stitches-zigzag
v0.1.12
Published
Tailwind inspired tools to build fast with Stitches
Downloads
1,668
Maintainers
Readme
Stitches Zigzag
Tailwind inspired tools to build fast with Stitches
Get Started
npm install stitches-zigzag
stitches.config.ts
import createCss from "@stitches/react";
import { tailwind } from "stitches-zigzag";
const stitches = createCss(tailwind);
// ...
global.ts
import { global } from "stitches.config";
import { modernNormalize } from "stitches-zigzag";
export const globalStyles = global(modernNormalize);
// ...
Exports
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
|