@rjackson/rjds
TypeScript icon, indicating that this package has built-in type declarations

0.4.1 • Public • Published

rjds

My own personal design system / component library / whatevs.

Very much a work in progress.

Installation

  1. Install the design system, and required peer dependencies:

    npm i @rjackson/rjds react styled-components tailwindcss
  2. Install tailwindcss as per their instructions, and then update tailwind.config.js to:

    1. Scan @rjackson/rjds components for class names to compile

    2. 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: [],
    };

Readme

Keywords

none

Package Sidebar

Install

npm i @rjackson/rjds

Weekly Downloads

9

Version

0.4.1

License

MIT

Unpacked Size

63.7 kB

Total Files

40

Last publish

Collaborators

  • rjackson