Skip to content

Latest commit

 

History

History
executable file
·
94 lines (68 loc) · 3.4 KB

README.md

File metadata and controls

executable file
·
94 lines (68 loc) · 3.4 KB

Logo
Catppuccin for Typst

Previews

🌻 Latte
🪴 Frappé
🌺 Macchiato
🌿 Mocha

Documentation

Two versions of the documentation are available!

Each document is styled using this package!

Installation & Usage

In your project, import the package (ensure you have the correct version number) with

#import "@preview/catppuccin:0.1.0": catppuccin, themes

To format your document with a theme, use the following syntax towards the top of your document:

#show: catppuccin.with(themes.mocha, code_block: true, code_syntax: true)

Replace mocha with the flavour of your choice! This can also be passed as a string literal "mocha". You can further adjust the arguments to catppuccin.with to customise the theme look of your document.

Usage as a Template

This package also offers a simple template to throw things together for you!

You can set up your project using this template via the following command:

typst init @preview/catppuccin:0.1.0

If you use the included fonts, be sure to compile with

typst compile --font-path fonts main.typ

💝 Thanks to

 

Copyright © 2021-present Catppuccin Org