@jujst/stitches
TypeScript icon, indicating that this package has built-in type declarations

0.1.5 • Public • Published

@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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.1.5
0latest

Version History

VersionDownloads (Last 7 Days)Published
0.1.5
0
0.1.4
0
0.1.3
0
0.1.2
0
0.1.1
0
0.1.00

Package Sidebar

Install

npm i @jujst/stitches

Weekly Downloads

0

Version

0.1.5

License

MIT

Unpacked Size

556 kB

Total Files

24

Last publish

Collaborators

  • kijv