0.4.1 • Published 3 years ago
@rjackson/rjds v0.4.1
rjds
My own personal design system / component library / whatevs.
Very much a work in progress.
Installation
- Install the design system, and required peer dependencies: - npm i @rjackson/rjds react tailwindcss
- Install tailwindcss as per their instructions, and then update - tailwind.config.jsto:- Scan - @rjackson/rjdscomponents for class names to compile
- Manage dark-mode via classes 
 - module.exports = { content: [ './src/**/*.{js,jsx,ts,tsx,vue}', + "./node_modules/@rjackson/rjds/src/**/*.{js,ts,jsx,tsx}", ], + darkMode: 'class', theme: { extend: {}, }, plugins: [], };
Release management
Use the tool np to manage releases.
npx np