An open API service indexing awesome lists of open source software.

https://github.com/raid-guild/design-system

A Chakra-based component library with drop-in theming
https://github.com/raid-guild/design-system

Last synced: 8 months ago
JSON representation

A Chakra-based component library with drop-in theming

Awesome Lists containing this project

README

          

# Raid Guild Design System User Guide

## Usage

1. `npm -i @raidguild/design-system`
2. `import { RGThemeProvider } from @raidguild/design-system`
3. wrap `` in ` `
4. in rest of app for instance use `import { Button } from @raidguild/design-system`

We recommend using the `RGThemeProvider` which automatically provides the Raid Guild theme as well. In case you prefer finer control over the styling, `ChakraProvider` and `theme` are also available via this package.

# Contributing to the Raid Guild Design System

## Running the Storybook to see components and theme in the browser

1. fork and clone the repo
2. `yarn install`
3. `yarn build-storybook`
4. `yarn storybook`

On http://localhost:6006/ you'll see the components built in the [storybook](https://storybook.js.org/).

## Prettier

If you do not already use [Prettier](https://prettier.io/), please add Prettier to your text editor. Prettier allows us to have consistent formatting without having to think much about it.