https://github.com/rose-pine/typst
Soho vibes for Typst
https://github.com/rose-pine/typst
theme
Last synced: 6 months ago
JSON representation
Soho vibes for Typst
- Host: GitHub
- URL: https://github.com/rose-pine/typst
- Owner: rose-pine
- License: mit
- Created: 2023-08-29T22:46:30.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-12T09:52:38.000Z (almost 2 years ago)
- Last Synced: 2025-03-06T03:30:21.467Z (10 months ago)
- Topics: theme
- Language: Typst
- Homepage:
- Size: 638 KB
- Stars: 7
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
Rosé Pine for Typst
All natural pine, faux fur and a bit of soho vibes for the classy minimalist
## Usage
1. Open a Typst document
2. Import this library:
```typst
#import "@preview/rose-pine:0.2.0": apply
```
3. Apply the theme to the document using `#show`:
```typst
#show: apply()
```
4. Use other colors anywhere you want:
```typst
#import "@preview/rose-pine:0.2.0": rose-pine
#text(fill: rose-pine.love)[Some red text]
```
You can also use other variants by importing them/passing their name to `apply()`. E.g.
```typst
#import "@preview/rose-pine:0.2.0": apply, rose-pine-dawn
#show: apply(variant: "rose-pine-dawn")
```
## Gallery



## Thanks to
- [oplik0](https://github.com/oplik0)
## Contributing
> Prefer using [@rose-pine/build](https://github.com/rose-pine/build) when possible
Modify `src/template.typ` using Rosé Pine variables, then build variants:
```sh
npx @rose-pine/build@0.8.2 -t src/template.typ -o src/themes -p $ -f hex
```
_Generated by [@rose-pine/build@0.8.2](https://github.com/rose-pine/build)_
To rebuild the syntax highlighting themes you similarly need to run
```sh
npx @rose-pine/build@0.8.2 -t src/rose-pine-template.tmTheme -o src/themes -p $ -f hex --help
```