Skip to content

Commit

Permalink
stonewall:0.1.0 (#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
Charlotte Thomas authored Nov 7, 2023
1 parent 6af7a0f commit 5205f08
Show file tree
Hide file tree
Showing 7 changed files with 1,012 additions and 0 deletions.
674 changes: 674 additions & 0 deletions packages/preview/stonewall/0.1.0/LICENSE

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions packages/preview/stonewall/0.1.0/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# 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/example.typ` which is
```typ
#import "@preview/stonewall:0.1.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.1.0
![](flags.png)

To use only one flag you only import the one you want
Binary file not shown.
16 changes: 16 additions & 0 deletions packages/preview/stonewall/0.1.0/example/example.typ
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#import "../stonewall.typ": 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)),
))
)
Binary file added packages/preview/stonewall/0.1.0/flags.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
286 changes: 286 additions & 0 deletions packages/preview/stonewall/0.1.0/stonewall.typ
Original file line number Diff line number Diff line change
@@ -0,0 +1,286 @@
#let trans = (
rgb("#F7A8D8"),
rgb("#55CDFC"),
rgb("#ffffff"),
rgb("#55CDFC"),
rgb("#F7A8D8"),
);
#let graysexual = (
rgb("#740194"),
rgb("#aeb1aa"),
rgb("#ffffff"),
rgb("#aeb1aa"),
rgb("#740194")
);
#let nonbinary = (
rgb("#fcf434"),
rgb("#ffffff"),
rgb("#9c59d1"),
rgb("#2c2c2c")
)
#let blacktrans = (
rgb("#F7A8D8"),
rgb("#55CDFC"),
rgb("#000000"),
rgb("#55CDFC"),
rgb("#F7A8D8"),
)
#let gay = (
rgb("#078d70"),
rgb("#26ceaa"),
rgb("#98e8c1"),
rgb("#ffffff"),
rgb("#7bade2"),
rgb("#5049cc"),
rgb("#3d1a78")
)
#let trigender = (
rgb("#ff95c5"),
rgb("#9581ff"),
rgb("#67d966"),
rgb("#9581ff"),
rgb("#ff95c5"),
)
#let genderfaun = (
rgb("#fcd689"),
rgb("#fff09b"),
rgb("#faf9cd"),
rgb("#ffffff"),
rgb("#8eded9"),
rgb("#8cacde"),
rgb("#9782ec"),
)
#let polygender = (
rgb("#000000"),
rgb("#939393"),
rgb("#ed94c5"),
rgb("#f5ed81"),
rgb("#64bbe6"),
)
#let multisexual = (
rgb("#7e55c7"),
rgb("#ffffff"),
rgb("#9bdbe8"),
rgb("#f14e98"),
)
#let biromantic = (
rgb("#d70170"),
rgb("#e55aa2"),
rgb("#734f95"),
rgb("#a48cba"),
rgb("#0038a7"),
rgb("#597dc6"),
)
#let demisexual = (
rgb("#ffffff"),
rgb("#000000"),
rgb("#6e0070"),
rgb("#d2d2d2")
)
#let demigirl = (
rgb("#7f7f7f"),
rgb("#c4c4c4"),
rgb("#fdadc8"),
rgb("#ffffff")
)
#let demiboy = (
rgb("#7f7f7f"),
rgb("#c4c4c4"),
rgb("#9dd7ea"),
rgb("#ffffff"),
)
#let genderfae = (
rgb("#97c3a5"),
rgb("#c3deae"),
rgb("#f9facd"),
rgb("#ffffff"),
rgb("#fca2c4"),
rgb("#db8ae4"),
rgb("#a97edd"),
)
#let genderflux = (
rgb("#f57694"),
rgb("#f2a3b9"),
rgb("#cfcfcf"),
rgb("#7be1f5"),
rgb("#3ecdfa"),
rgb("#fff48c"),
)
#let pangender = (
rgb("#fff798"),
rgb("#ffddcd"),
rgb("#ffebfb"),
rgb("#ffffff"),
)
#let genderfloren = (
rgb("#54c2bd"),
rgb("#aedeb2"),
rgb("#f9face"),
rgb("#ffffff"),
rgb("#f9face"),
rgb("#f3d09f"),
rgb("#fba78a"),
)
#let neptunic = (
rgb("#039bba"),
rgb("#3ad5c8"),
rgb("#74e9d4"),
rgb("#a1e6ef"),
rgb("#99b0ea"),
rgb("#9799ef"),
)
#let multigender = (
rgb("#3f47cd"),
rgb("#00a3e8"),
rgb("#fa7f27"),
rgb("#00a3e8"),
rgb("#3f47cd"),
)
#let bigender = (
rgb("#c479a2"),
rgb("#eda5cd"),
rgb("#d6c7e8"),
rgb("#ffffff"),
rgb("#d6c7e8"),
rgb("#9ac7e8"),
rgb("#6d82d1"),
)
#let boyflux = (
rgb("#d8e9f8"),
rgb("#6eacf5"),
rgb("#033570"),
rgb("#9fedac"),
rgb("#033570"),
rgb("#6eacf5"),
rgb("#d8e9f8"),
)
#let demiromantic = (
rgb("#ffffff"),
rgb("#000000"),
rgb("#339933"),
rgb("#d2d2d2"),
)
#let queerplatonic = (
rgb("#f89fc9"),
rgb("#2e2826"),
rgb("#7e7e7e"),
rgb("#ffffff"),
rgb("#7e7e7e"),
rgb("#2e2826"),
rgb("#f89fc9"),
)
#let queer = (
rgb("#ff0000"),
rgb("#ff8e00"),
rgb("#ffff00"),
rgb("#008e00"),
rgb("#00c0c0"),
rgb("#400098"),
rgb("#8e008e"),
)
#let agender = (
rgb("#000000"),
rgb("#bcc4c7"),
rgb("#ffffff"),
rgb("#b7f684"),
rgb("#ffffff"),
rgb("#bcc4c7"),
rgb("#000000"),
)
#let genderqueer = (
rgb("#b57edc"),
rgb("#ffffff"),
rgb("#4a8123"),
)
#let intersex = (
rgb("#ffd800"),
rgb("#7902aa"),
)
#let omnisexual = (
rgb("#fe9ace"),
rgb("#ff53bf"),
rgb("#200044"),
rgb("#6760fe"),
rgb("#8ea6ff"),
)
#let polysexual = (
rgb("#f714ba"),
rgb("#01d66a"),
rgb("#1594f6"),
)
#let genderfluid = (
rgb("#ff76a4"),
rgb("#ffffff"),
rgb("#c011d7"),
rgb("#000000"),
rgb("#2f3cbe"),
)
#let aromantic = (
rgb("#3da542"),
rgb("#a7d379"),
rgb("#ffffff"),
rgb("#a9a9a9"),
rgb("#000000"),
)
#let pansexual = (
rgb("#ff218c"),
rgb("#ffd800"),
rgb("#21b1ff"),
)
#let asexual = (
rgb("#000000"),
rgb("#a3a3a3"),
rgb("#ffffff"),
rgb("#800080"),
)
#let bisexual = (
rgb("#d60270"),
rgb("#9b4f96"),
rgb("#0038a8")
)
#let lesbian = (
rgb("#d52d00"),
rgb("#ef7627"),
rgb("#ff9a56"),
rgb("#ffffff"),
rgb("#d162a4"),
rgb("#b55690"),
rgb("#a30262")
)
#let flags = (
("trans",trans),
("graysexual",graysexual),
("nonbinary",nonbinary),
("blacktrans",blacktrans),
("gay",gay),
("trigender",trigender),
("genderfaun",genderfaun),
("polygender",polygender),
("multisexual",multisexual),
("biromantic",biromantic),
("demisexual",demisexual),
("demigirl",demigirl),
("demiboy",demiboy),
("genderfae",genderfae),
("genderflux",genderflux),
("pangender",pangender),
("genderfloren",genderfloren),
("neptunic",neptunic),
("multigender",multigender),
("bigender",bigender),
("boyflux",boyflux),
("demiromantic",demiromantic),
("queerplatonic",queerplatonic),
("queer",queer),
("agender",agender),
("genderqueer",genderqueer),
("intersex",intersex),
("omnisexual",omnisexual),
("polysexual",polysexual),
("genderfluid",genderfluid),
("aromantic",aromantic),
("pansexual",pansexual),
("asexual",asexual),
("bisexual",bisexual),
("lesbian",lesbian),
)
11 changes: 11 additions & 0 deletions packages/preview/stonewall/0.1.0/typst.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[package]
name = "stonewall"
version = "0.1.0"
entrypoint = "stonewall.typ"
authors = ["Charlotte Thomas"]
license = "GPL-3.0-or-later"
description = "Stonewall provides beautiful pride flag colours for gradients."
repository = "https://github.com/coco33920/stonewall"
exclude = ["example/*","flags.png"]
compiler = "0.9.0"
keywords = [ "pride", "gradient" ]

0 comments on commit 5205f08

Please sign in to comment.