Skip to content

Latest commit

 

History

History
107 lines (92 loc) · 5.42 KB

README.md

File metadata and controls

107 lines (92 loc) · 5.42 KB

twemoji-flags

url url1

Pride flags in the style of Twemojis.

Emojicons

Flag Name Filename
Agender Flag agender_flag.svg
Aromantic Flag aromantic_flag.svg
Asexual Flag asexual_flag.svg
Bisexual Flag bi_flag.svg
Ceres Flag ceres_flag.svg
Demiboy Flag demiboy_flag.svg
Demigirl Flag demigirl_flag.svg
Demisexual Flag demi_flag.svg
Femboy Flag femboy_flag.svg
Genderfluid Flag genderfluid_flag.svg
Genderqueer NB 1 Flag genderqueer_nb1_flag.svg
Genderqueer NB Flag genderqueer_nb_flag.svg
Heterosexual Flag hetero_flag.svg
Intersexual Flag intersexualtiy_flag.svg
Lesbian Flag lesbian_flag.svg
Neutrois Flag neutrois_flag.svg
NB Flag nb_flag.svg
Pansexual Flag pan_flag.svg
polyamory 1 Flag polyamory1_flag.svg
polyamory Flag polyamory_flag.svg
Polysexual polysexual_flag.svg
Progress Pride Flag progress_pride_flag.svg
Straight Ally Flag straight_ally_flag.svg
Transgender Flag trans_flag.svg
Just a template for those who wanna add more flags TEMPLATE_FLAG.svg

Usage

  1. Download the zip file form the github releases.
  2. Unzip the archive, you will finde a LICENSE, twf.css and twf.min.css.
  3. Put either or both of these CSS files (and the license file) in to your web projects resource folder.
  4. Link in your html to either of these two CSS files, like the following
    <link rel="stylesheet" href="path/to/twf.min.css">
    For production project, we recommend to use the minified version (twf.min.css).

And now you can simply use all pride flags of twemoji-flags as simple as the following examples

<div class="agender-flag"></div>
<div class="aromantic-flag"></div>
<div class="asexual-flag"></div>
<div class="bi-flag"></div>
<div class="ceres-flag"></div>
<div class="demi-flag"></div>
<div class="demiboy-flag"></div>
<div class="demigirl-flag"></div>
<div class="femboy-flag"></div>
<div class="genderfluid-flag"></div>
<div class="genderqueer-nb-flag"></div>
<div class="genderqueer-nb1-flag"></div>
<div class="hetero-flag"></div>
<div class="intersexual-flag"></div>
<div class="lesbian-flag"></div>
<div class="neutrois-flag"></div>
<div class="nb-flag"></div>
<div class="pan-flag"></div>
<div class="polyamory-flag"></div>
<div class="polyamory1-flag"></div>
<div class="polysexual-flag"></div>
<div class="progress-pride-flag"></div>
<div class="straight-ally-flag"></div>
<div class="trans-flag"></div>

You can change the size of the emoji flags by setting the css variable --pride-flag-size to any size you like, default is 24px.

Build Process

It's as simple as just running the following commands, after cloning this repository.

npm install

npm run build-dist

or

npm install

npm run build-dev

Contribution

You have a flag that isn't included yet? Feel free to make a pull request and add it OR open a Issue!

There are simple rules every pull request has to obay

  1. Only make pull requests to the develop branch.
  2. Your pull request title must be descriptive.
  3. Flags MUST be put in to flags/ as SVG file. If you use Inkscape, export the file as "Plain SVG".