Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 1.56 KB

README.md

File metadata and controls

41 lines (27 loc) · 1.56 KB

Stitches Zigzag https://www.npmjs.com/package/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