Skip to content

Commit

Permalink
more readme updates
Browse files Browse the repository at this point in the history
  • Loading branch information
dvzrd committed Feb 2, 2024
1 parent 3f0b242 commit a4bd663
Showing 1 changed file with 32 additions and 1 deletion.
33 changes: 32 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A React UI component library bundled with Rollup.js to commonJs, ES6 Modules, St

This project is a clone of [Shared](https://github.com/behzadam/shared) and has been updated for personal use.

## Usage
## Setup

This section will cover how to use the library in your own project.

Expand Down Expand Up @@ -91,6 +91,37 @@ export default {
```

If you need more control over your stylesheets, you can access all of the stylesheets used by chad-ui:

```
@import 'chad-ui/dist/styles/themes.css';
@import 'chad-ui/dist/styles/globals.css';
@import './libs/some-lib.css'
@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
--primary: 83 100% 50%;
--primary-foreground: 54 50% 3%;
}
.dark {
--primary: 54 50% 3%;
--primary-foreground: 83 100% 50%;
}
@layer base {
header,
footer {
@apply
min-height: 25vh;
}
}
```

3. Import your tailwind styles

Inside of `src/index.tsx`, add an import to your stylesheet:
Expand Down

0 comments on commit a4bd663

Please sign in to comment.