https://github.com/catppuccin/typst
🪶 Soothing pastel theme for Typst
https://github.com/catppuccin/typst
catppuccin hacktoberfest theme typst
Last synced: 2 months ago
JSON representation
🪶 Soothing pastel theme for Typst
- Host: GitHub
- URL: https://github.com/catppuccin/typst
- Owner: catppuccin
- License: mit
- Created: 2024-08-02T10:53:03.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-19T12:07:18.000Z (8 months ago)
- Last Synced: 2025-08-03T04:41:38.162Z (6 months ago)
- Topics: catppuccin, hacktoberfest, theme, typst
- Language: Typst
- Homepage: https://typst.app/universe/package/catppuccin/
- Size: 28 MB
- Stars: 46
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

Catppuccin for Typst
## Previews
🌻 Latte

🪴 Frappé

🌺 Macchiato

🌿 Mocha

## Documentation
Two versions of the documentation are available!
- [Mocha](./manual/manual_mocha.pdf)
- [Latte](./manual/manual_latte.pdf)
Each document is styled using this package!
## Installation & Usage
### General Use
In your project, import the package (be sure to replace the version number with the correct one) with
```typst
#import "@preview/catppuccin:1.0.1": catppuccin, flavors
```
To format your document with a theme, use the following syntax towards the top of your document:
```typst
#show: catppuccin.with(flavors.mocha)
```
Replace `mocha` with the flavour of your choice! This can also be passed as a string literal `"mocha"`.
### Advanced Usage
For users who wish to further extend their documents, graphics, or packages, you can access each flavor's palette to directly use the colors in your own code.
```typst
#import "@preview/catppuccin:1.0.1": flavors, get-flavor
#let flavor = get-flavor("mocha")
// or: #let flavor = flavors.mocha
#let palette = flavor.colors
The current flavor is #flavor.name #flavor.emoji.
#let color-list = (
palette.values().map(v => v.name + " (" + text(fill: v.rgb, v.hex) + ")")
)
Colors: #list(..color-list)
```
For more information, check out the section on the **Flavor Schema** in the manual.
## 💝 Thanks to
- [TimeTravelPenguin](https://github.com/TimeTravelPenguin)
Copyright © 2021-present Catppuccin Org