Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/catppuccin/tailwindcss

💨 Soothing pastel theme for Tailwind CSS
https://github.com/catppuccin/tailwindcss

catppuccin hacktoberfest tailwind tailwindcss theme

Last synced: 2 days ago
JSON representation

💨 Soothing pastel theme for Tailwind CSS

Awesome Lists containing this project

README

        


Logo


Catppuccin for TailwindCSS







## Preview

You can check out one of our deployed examples
[here](https://tailwindcss.catppuccin.com)!

## Usage

1. Install the plugin

```sh
$ npm install -D @catppuccin/tailwindcss
# --- or ---
$ yarn add -D @catppuccin/tailwindcss
```

2. Configure your `tailwind.config.js`

```js
module.exports = {
// ...other settings
plugins: [require("@catppuccin/tailwindcss")],
};
```

3. _Optional:_ customize the plugin

```js
module.exports = {
// ...other settings
plugins: [
require("@catppuccin/tailwindcss")({
// prefix to use, e.g. `text-pink` becomes `text-ctp-pink`.
// default is `false`, which means no prefix
prefix: "ctp",
// which flavour of colours to use by default, in the `:root`
defaultFlavour: "latte",
}),
],
};
```

4. Use it in your markup!

```html

Hello world!

```

You can find examples for Next.js, Svelte, and Vite in the `examples` folder.

## 💝 Thanks to

- [winston](https://github.com/nekowinston)
- [Adal Zanabria](https://github.com/AdalZanabria)

 


Copyright © 2021-present Catppuccin Org