Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Each document is styled using this package!
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
#import "@preview/catppuccin:1.1.0": catppuccin, flavors
```

To format your document with a theme, use the following syntax towards the top of your document:
Expand All @@ -66,7 +66,7 @@ Replace `mocha` with the flavour of your choice! This can also be passed as a st
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
#import "@preview/catppuccin:1.1.0": flavors, get-flavor

#let flavor = get-flavor("mocha")
// or: #let flavor = flavors.mocha
Expand Down
Binary file modified assets/previews/frappe.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/previews/latte.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/previews/macchiato.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/previews/mocha.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/previews/preview.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions examples/code.typ
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Using catppuccin for syntax highlighting:

```typ
#import "@preview/catppuccin:1.0.1": config-code-blocks, flavors
#show: config-code-blocks.with(flavors.mocha)
#import "@preview/catppuccin:1.0.1": set-code-theme, flavors
#show: set-code-theme.with(flavors.mocha)
```

5 changes: 3 additions & 2 deletions examples/demo.typ
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,9 @@


Typst makes it very easy to customise the look of your documents. Inspiration
for this project came from Catppuccin for #LaTeX [#link("https://github.com/catppuccin/latex")[#text(fill: palette.colors.blue.rgb, "link")]]. This doument is currently
using the flavor #text(fill: palette.colors.mauve.rgb, style: "italic", flavor).
for this project came from Catppuccin for #LaTeX
[#link("https://github.com/catppuccin/latex")[#text(fill: palette.colors.blue.rgb, "link")]].
This document is currently using the flavor #text(fill: palette.colors.mauve.rgb, style: "italic", flavors.at(flavor).name).

=== Accents
#align(center, grid(columns: 7, align: left, gutter: 1em, ..color-swatches(
Expand Down
Binary file modified manual/manual_latte.pdf
Binary file not shown.
Binary file modified manual/manual_mocha.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion typst.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "catppuccin"
version = "1.0.1"
version = "1.1.0"
compiler = "0.11.0"
entrypoint = "src/lib.typ"
repository = "https://github.com/catppuccin/typst"
Expand Down