Install the npm package @catppuccin/unocss
npm 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
Β
Copyright © 2021-present Catppuccin Org