Skip to content

Commit

Permalink
docs: explain that Slidev adds custom UnoCSS shortcuts (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hofer-Julian committed Nov 23, 2023
1 parent 4e57682 commit e041d9f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions custom/config-unocss.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ By default, Slidev enables the following presets out-of-box:
- [@unocss/preset-web-fonts](https://unocss.dev/presets/web-fonts) - Use web fonts at ease
- [@unocss/transformer-directives](https://unocss.dev/transformers/directives) - Use `@apply` in CSS

Slidev also adds shortcuts as can be seen in its [source code](https://github.com/slidevjs/slidev/blob/main/packages/client/uno.config.ts).

You can therefore style your content the way you want. For example:

```html
Expand Down

0 comments on commit e041d9f

Please sign in to comment.