Skip to content

Commit

Permalink
polish up docs a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
endigma committed Sep 17, 2023
1 parent f644a06 commit 3098258
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 1 addition & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ layout: home

hero:
name: "unocss-preset-radix"
text: "A unocss preset for Radix Colors"
tagline: My great project tagline
text: "A preset for UnoCSS to let you use Radix color palette "
actions:
- theme: brand
text: Installation & Usage
Expand Down
4 changes: 3 additions & 1 deletion docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ $ yarn add -D unocss-preset-radix

:::

## Usage
## Vite/UnoCSS configuration

```ts
// uno.config.ts (or vite.config.ts)
Expand All @@ -43,6 +43,8 @@ export default defineConfig({
});
```

## Usage in HTML

You will now have access to colors from your palette, like:

```html
Expand Down

0 comments on commit 3098258

Please sign in to comment.