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

Add polyamorous pride flags #17

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ Colorize your terminal output with pride!

--transgender,--trans
Transgender pride flag designed by Monica Helms in 1999

--polyamorous,--poly
Polyamory pride flag designed by Jim Evans

--polyamorous-light,--poly-light
Alternative polyamory pride flag, increased readability for dark backgrounds
```

## Additional options
Expand Down
14 changes: 14 additions & 0 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,18 @@ std::map<std::string, flag_t const> allFlags = {
{ 0xB57EDC, 0xB57EDC, 0xFFFFFF, 0xFFFFFF, 0x4A8123, 0x4A8123 },
"Genderqueer pride flag designed by Marilyn Roxie in 2011"
} },

{ "polyamorous", {
// info/colors: https://en.wikipedia.org/wiki/File:Polyamory_Pride_Flag.svg
{ 0x0000ff, 0x0000ff, 0xff0000, 0xff0000, 0x000000, 0x000000},
"Polyamory pride flag designed by Jim Evans"
} },

{ "polyamorous-light", {
// info/colors: https://commons.wikimedia.org/wiki/File:Polyamory_flag_traditional_reworked_03.png
{ 0x00cdff, 0x00cdff, 0xff3535, 0xff3535, 0x4e4f4b, 0x4e4f4b},
"Alternative polyamory pride flag, increased readability for dark backgrounds"
} },
};

std::map<std::string, std::string> aliases = {
Expand All @@ -119,6 +131,8 @@ std::map<std::string, std::string> aliases = {
{ "nb", "nonbinary" },
{ "enby", "nonbinary" },
{ "pink-lesbian", "lipstick-lesbian" },
{ "poly", "polyamorous"},
{ "poly-light", "polyamorous-light"}
};

std::vector<color_t> g_colorQueue;
Expand Down