Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/soybeanjs/unocss-preset-design
- Owner: soybeanjs
- Created: 2023-11-21T14:49:20.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-14T09:10:03.000Z (about 2 months ago)
- Last Synced: 2024-11-14T10:19:36.813Z (about 2 months ago)
- Language: TypeScript
- Size: 566 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
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()],
});
```