0.1.5 • Published 3 months ago

@jujst/stitches v0.1.5

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

@jujst/stitches

So what's different?

  • 100% backwards compatible with @stitches/core and @stitches/react
  • PostCSS plugin to extract CSS on the server (expect some bugs)
  • Up to date with CSS spec

Installation

npm install @jujst/stitches

PostCSS Plugin

// postcss.config.cjs
module.exports = {
  plugins: {
    '@jujst/stitches/postcss': {}
  }
}
// stitches.config.ts
import { defineConfig } from '@jujst/stitches/config';

const stitches = defineConfig({
  react: /* set this to true to use @stitches/react */
  /* usual stitches config goes here... */
});

// It is important to export the variables 
// like this if you are the PostCSS plugin
export const { css, globalCss, keyframes, getCssText, theme } = stitches;
export default stitches;

Acknowledgements

License

MIT

0.1.5

3 months ago

0.1.4

3 months ago

0.1.3

3 months ago

0.1.2

3 months ago

0.1.1

3 months ago

0.1.0

3 months ago