mirror of
https://github.com/b3yc0d3/twemoji-flags.git
synced 2025-09-18 12:10:41 +02:00
Pride Flags in Twemoji Flag style
|
|
||
|---|---|---|
| .github | ||
| assets | ||
| .gitignore | ||
| DEMO.html | ||
| LICENSE | ||
| LICENSE-GRAPHICS | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
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
- Download the zip file form the github releases.
- Unzip the archive, you will finde a LICENSE, twf.css and twf.min.css.
- Put either or both of these CSS files (and the license file) in to your web projects resource folder.
- Link in your html to either of these two CSS files, like the following
For production project, we recommend to use the minified version (twf.min.css).<link rel="stylesheet" href="path/to/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
- Only make pull requests to the
developbranch. - Your pull request title must be descriptive.
- Flags MUST be put in to
flags/as SVG file. If you use Inkscape, export the file as "Plain SVG".