Skip to content

rose-pine/typst

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:
#import "@preview/rose-pine:0.2.0": apply
  1. Apply the theme to the document using #show:
#show: apply()
  1. Use other colors anywhere you want:
#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.

#import "@preview/rose-pine:0.2.0": apply, rose-pine-dawn
#show: apply(variant: "rose-pine-dawn")

Gallery

Rose Pine example Typst document

Rose Pine Moon example Typst document

Rose Pine Dawn example Typst document

Thanks to

Contributing

Prefer using @rose-pine/build when possible

Modify src/template.typ using Rosé Pine variables, then build variants:

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

To rebuild the syntax highlighting themes you similarly need to run

npx @rose-pine/build@0.8.2 -t src/rose-pine-template.tmTheme -o src/themes -p $ -f hex --help

About

No description or website provided.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages