s

stonewall

@preview

Stonewall provides beautiful pride flag colours for gradients.

v0.2.0
GPL-3.0-or-later

Package Information

Last Updated
Minimum Typst Version
0.9.0

1. Get the package

Download the package using the TPIX CLI:

tpix get @preview/stonewall:0.2.0

2. Import in your Typst file

Add this to your .typ file:

#import "@preview/stonewall:0.2.0": *

Version History

0.2.00.9.0
4d6ab86e89a0...
0.1.00.9.0
8dcbdd7c932d...

Stonewall: colourful, accurate pride flags colour palette for queer gradients

You can use the colour palette with gradients for maximum results!
For example the code in example.typ which is

#import "@preview/stonewall:0.2.0": flags

#set page(width: 200pt, height: auto, margin: 0pt)
#set text(fill: black, size: 12pt)
#set text(top-edge: "bounds", bottom-edge: "bounds")


#stack(
  spacing: 3pt,
  ..flags.map(((name, preset)) => block(
    width: 100%,
    height: 20pt,
    fill: gradient.linear(..preset),
    align(center + horizon, smallcaps(name)),
  ))
)

gives the following stack of flags as of v0.2.0

To use only one flag you only import the one you want