@pr0gramm/design-system
v0.1.103
Published
The react design system that powers pr0gramm.com
Downloads
727
Maintainers
Readme
@pr0gramm/design-system
The react design system that powers pr0gramm.com built with StyleX. Assumes react
, react-dom
and react-router
.
Links:
Installation
npm i @pr0gramm/design-system
Usage with Vite + React
Install StyleX + StyleX for Vite:
npm i -D vite-plugin-stylex @stylexjs/stylex
Use StyleX plugin in
vite.config.ts
:
import styleX from "vite-plugin-stylex";
export default defineConfig({
plugins: [
react(),
styleX({
libraries: ["@pr0gramm/design-system"],
}),
],
});
- Add this to
index.css
:@stylex stylesheet;