@raidguild/design-system
v0.5.9
Published
## Usage
Downloads
107
Keywords
Readme
Raid Guild Design System User Guide
Usage
npm -i @raidguild/design-system
import { RGThemeProvider } from @raidguild/design-system
- wrap
<App />
in<RGThemeProvider> </RGThemeProvider>
- 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
- fork and clone the repo
yarn install
yarn build-storybook
yarn storybook
On http://localhost:6006/ you'll see the components built in the storybook.
Prettier
If you do not already use Prettier, please add Prettier to your text editor. Prettier allows us to have consistent formatting without having to think much about it.