Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/soybeanjs/unocss-preset-design

theme design for unocss
https://github.com/soybeanjs/unocss-preset-design

Last synced: about 1 month ago
JSON representation

theme design for unocss

Awesome Lists containing this project

README

        

# unocss-preset-design

theme design for unocss

## Usage

### install

```bash
pnpm i -D unocss-preset-design
```

### unocss config

```ts
import { defineConfig } from "@unocss/vite";
import type { Theme } from "@unocss/preset-mini";
import presetUno from "@unocss/preset-mini";
import presetDesign from "unocss-preset-design";

export default defineConfig({
content: {
pipeline: {
exclude: ["node_modules", "dist"],
},
},
presets: [presetUno({ dark: "class" }), presetDesign()],
});
```