A beautiful Typst theme for creating presentations with the Catppuccin color palette.
- 🎨 Catppuccin Color Palette: Uses the popular Mocha flavor for a soothing, dark aesthetic
- 📐 16:9 Presentation Format: Optimized for modern presentation displays
- 🎯 Multiple Slide Types: Title slides, section slides, and content slides
- 🖼️ Image Support: Custom pill-shaped image frames for visual appeal
- ⚡ Easy to Use: Simple import and configuration
- Clone this repository or download the
lib.typ
file - Place
lib.typ
in your project directory - Import the library in your Typst document
#import "lib.typ": *
#show: slides.with(title: "Your Presentation Title")
Create an eye-catching title slide with optional subtitle and image:
#title-slide(
title: "Your Presentation Title",
subtitle: "An optional subtitle",
image: "path/to/your/image.jpg", // Optional
)
Organize your presentation with numbered section slides:
#section-slide("Section Title", subtitle: "Optional subtitle")
Regular content slides using standard Typst markup:
#page[
== Your Content Title
Your content goes here. You can use:
- Lists
- **Bold text**
- *Italic text*
- Code blocks
- And more!
]
The theme uses the Inter font family with carefully chosen sizes:
- Heading 1: 40pt (60pt on title slides)
- Heading 2: 30pt
- Heading 3: 25pt
- Body text: 16pt
Based on the Catppuccin Mocha flavor:
- Text: Light foreground color
- Accent: Mauve purple for highlights and section numbers
- Background: Dark, comfortable for presentations
agin-slides/
├── lib.typ # Main theme library
├── preview.typ # Example presentation
├── preview.pdf # Generated preview
├── preview.png # Preview image
└── image.jpg # Sample image
See preview.typ
for a complete example of how to use all features of the theme.
- Typst
- Catppuccin package (
@preview/catppuccin:1.0.0
) - Inter font (recommended)
Feel free to open issues or submit pull requests to improve the theme!
This project is open source. Please check the license file for more details.