mirror of
https://github.com/catppuccin/unocss.git
synced 2026-01-09 05:21:14 +08:00
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Catppuccin for UnoCSS
Previews
🌻 Latte
🪴 Frappé
🌺 Macchiato
🌿 Mocha
Usage
-
Install the npm package
@catppuccin/unocssnpm install -D @catppuccin/unocss # or pnpm add -D @catppuccin/unocss # or yarn add -D @catppuccin/unocss -
Add the preset to your UnoCSS configuration
// uno.config.ts import { presetWind4, defineConfig } from 'unocss'; import presetCatppuccin from '@catppuccin/unocss'; export default defineConfig({ presets: [ presetWind4(), presetCatppuccin({ // options }) ] }); -
Configure the preset if needed. Refer to the FAQ for documentation
🙋 FAQ
- Q: Where can I find the documentation?
A: Documentation can be found at https://unocss.catppuccin.com/docs
💝 Thanks to
Copyright © 2021-present Catppuccin Org
Description
Languages
Astro
48.1%
TypeScript
47.5%
JavaScript
4.4%