mirror of
https://github.com/catppuccin/unocss.git
synced 2026-01-09 05:21:14 +08:00
Catppuccin for UnoCSS
🌸 Soothing pastel theme preset for UnoCSS!
Warning
Since this preset is still being developed, there might be any kind of breaking changes.
Installation
npm install unocss-catppuccin -D
# or
pnpm install unocss-catppuccin -D
# or
yarn add unocss-catppuccin -D
Usage
To use Catppuccin, simply include the extendCatppuccin preset in your UnoCSS configuration.
// unocss.config.ts
import { defineConfig, presetUno } from 'unocss';
import { extendCatppuccin } from 'unocss-catppuccin';
export default defineConfig({
presets: [presetUno(), extendCatppuccin(/* options */)],
});
Options
Please refer to src/types.d.ts.
License
This project is licensed under Apache License Version 2.0
Description
Languages
Astro
48.1%
TypeScript
47.5%
JavaScript
4.4%