Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add some wlw flags 😊 #17

Merged
merged 2 commits into from
Jun 3, 2024
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
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "ProudPalettes"
uuid = "61d02e3d-8de9-45ce-a87b-73174b99cb55"
authors = ["Nathan Musoke <nathan.musoke@gmail.com> and contributors"]
version = "1.0.0"
version = "1.1.0"

[deps]
Colors = "5ae59095-9a9b-59fe-a467-6f913c188581"
Expand Down
21 changes: 20 additions & 1 deletion src/ProudPalettes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,19 @@ trans = [
colorant"#5BCEFA",
]

# Sapphic three color flag with pink and off-white color codes from
# https://lgbtqia.fandom.com/wiki/Sapphic
sapphic = [colorant"#FD8CAA", colorant"#FBF2FF", colorant"#FD8CAA"]

# Sapphic five color scheme with pink and off-white color codes as above, but
# including purple to represent the simplified violet flower as in
# https://lgbtqia.fandom.com/wiki/Sapphic
sapphic5 = [colorant"#FD8CAA", colorant"#FBF2FF", colorant"#C86BC6", colorant"#FBF2FF", colorant"#FD8CAA"]

# Community lesbian pride flag with color codes from
# https://lgbtqia.fandom.com/wiki/Lesbian
lesbian = [colorant"#D42C00", colorant"#FD9855", colorant"#FFFFFF", colorant"#D161A2", colorant"#A20161"]

"""
const PROUD_PALETTES::Dict{Symbol,Vector{Colors.RGB}}

Expand All @@ -57,8 +70,9 @@ The available keys are
julia> using ProudPalettes

julia> keys(PROUD_PALETTES) |> collect |> sort
10-element Vector{Symbol}:
13-element Vector{Symbol}:
:bi
:lesbian
:nonbinary
:pan
:pride
Expand All @@ -67,6 +81,8 @@ julia> keys(PROUD_PALETTES) |> collect |> sort
:pride8
:pride_progress
:rainbow
:sapphic
:sapphic5
:trans

```
Expand All @@ -84,6 +100,9 @@ const PROUD_PALETTES = Dict{Symbol,Vector{Colors.RGB}}(
[pride6..., trans[begin:begin+3]..., colorant"brown", colorant"black"],
:rainbow => pride6,
:trans => trans,
:sapphic => sapphic,
:sapphic5 => sapphic5,
:lesbian => lesbian,
)

include("precompile.jl")
Expand Down
Loading