afroicons 0.0.0-stage → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +25 -2
- package/icons.json +2912 -0
- package/index.d.ts +174 -0
- package/index.js +25 -0
- package/package.json +19 -4
- package/sprite.svg +164 -0
- package/svg/acacia.svg +1 -0
- package/svg/adinkrahene.svg +1 -0
- package/svg/afrique.svg +1 -0
- package/svg/agama.svg +1 -0
- package/svg/alloco.svg +1 -0
- package/svg/ananas.svg +1 -0
- package/svg/ananastranche.svg +1 -0
- package/svg/ankh.svg +1 -0
- package/svg/arachide.svg +1 -0
- package/svg/arachidedecortiquee.svg +1 -0
- package/svg/ardoise.svg +1 -0
- package/svg/autruche.svg +1 -0
- package/svg/avocat.svg +1 -0
- package/svg/avocatcoupe.svg +1 -0
- package/svg/awale.svg +1 -0
- package/svg/balafon.svg +1 -0
- package/svg/ballon.svg +1 -0
- package/svg/bamileke.svg +1 -0
- package/svg/baobab.svg +1 -0
- package/svg/beignets.svg +1 -0
- package/svg/bissap.svg +1 -0
- package/svg/bogolan.svg +1 -0
- package/svg/boubou.svg +1 -0
- package/svg/boutique.svg +1 -0
- package/svg/brochettes.svg +1 -0
- package/svg/cacao.svg +1 -0
- package/svg/cacaoouvert.svg +1 -0
- package/svg/calao.svg +1 -0
- package/svg/calebasse.svg +1 -0
- package/svg/calebassepleine.svg +1 -0
- package/svg/cameleon.svg +1 -0
- package/svg/cascade.svg +1 -0
- package/svg/case.svg +1 -0
- package/svg/cauri.svg +1 -0
- package/svg/chevre.svg +1 -0
- package/svg/coco.svg +1 -0
- package/svg/cocoouverte.svg +1 -0
- package/svg/collierperles.svg +1 -0
- package/svg/couturier.svg +1 -0
- package/svg/crocodile.svg +1 -0
- package/svg/croixagadez.svg +1 -0
- package/svg/djembe.svg +1 -0
- package/svg/djenne.svg +1 -0
- package/svg/dromadaire.svg +1 -0
- package/svg/dunes.svg +1 -0
- package/svg/dwennimmen.svg +1 -0
- package/svg/eban.svg +1 -0
- package/svg/elephant.svg +1 -0
- package/svg/epimil.svg +1 -0
- package/svg/etal.svg +1 -0
- package/svg/euphorbe.svg +1 -0
- package/svg/eventail.svg +1 -0
- package/svg/fercharbon.svg +1 -0
- package/svg/feuillebananier.svg +1 -0
- package/svg/filet.svg +1 -0
- package/svg/fill/acacia.svg +1 -0
- package/svg/fill/adinkrahene.svg +1 -0
- package/svg/fill/afrique.svg +1 -0
- package/svg/fill/agama.svg +1 -0
- package/svg/fill/alloco.svg +1 -0
- package/svg/fill/ananas.svg +1 -0
- package/svg/fill/ananastranche.svg +1 -0
- package/svg/fill/ankh.svg +1 -0
- package/svg/fill/arachide.svg +1 -0
- package/svg/fill/arachidedecortiquee.svg +1 -0
- package/svg/fill/ardoise.svg +1 -0
- package/svg/fill/autruche.svg +1 -0
- package/svg/fill/avocat.svg +1 -0
- package/svg/fill/avocatcoupe.svg +1 -0
- package/svg/fill/awale.svg +1 -0
- package/svg/fill/balafon.svg +1 -0
- package/svg/fill/ballon.svg +1 -0
- package/svg/fill/bamileke.svg +1 -0
- package/svg/fill/baobab.svg +1 -0
- package/svg/fill/beignets.svg +1 -0
- package/svg/fill/bissap.svg +1 -0
- package/svg/fill/bogolan.svg +1 -0
- package/svg/fill/boubou.svg +1 -0
- package/svg/fill/boutique.svg +1 -0
- package/svg/fill/brochettes.svg +1 -0
- package/svg/fill/cacao.svg +1 -0
- package/svg/fill/cacaoouvert.svg +1 -0
- package/svg/fill/calao.svg +1 -0
- package/svg/fill/calebasse.svg +1 -0
- package/svg/fill/calebassepleine.svg +1 -0
- package/svg/fill/cameleon.svg +1 -0
- package/svg/fill/cascade.svg +1 -0
- package/svg/fill/case.svg +1 -0
- package/svg/fill/cauri.svg +1 -0
- package/svg/fill/chevre.svg +1 -0
- package/svg/fill/coco.svg +1 -0
- package/svg/fill/cocoouverte.svg +1 -0
- package/svg/fill/collierperles.svg +1 -0
- package/svg/fill/couturier.svg +1 -0
- package/svg/fill/crocodile.svg +1 -0
- package/svg/fill/croixagadez.svg +1 -0
- package/svg/fill/djembe.svg +1 -0
- package/svg/fill/djenne.svg +1 -0
- package/svg/fill/dromadaire.svg +1 -0
- package/svg/fill/dunes.svg +1 -0
- package/svg/fill/dwennimmen.svg +1 -0
- package/svg/fill/eban.svg +1 -0
- package/svg/fill/elephant.svg +1 -0
- package/svg/fill/epimil.svg +1 -0
- package/svg/fill/etal.svg +1 -0
- package/svg/fill/euphorbe.svg +1 -0
- package/svg/fill/eventail.svg +1 -0
- package/svg/fill/fercharbon.svg +1 -0
- package/svg/fill/feuillebananier.svg +1 -0
- package/svg/fill/filet.svg +1 -0
- package/svg/fill/fleuve.svg +1 -0
- package/svg/fill/flute.svg +1 -0
- package/svg/fill/foufou.svg +1 -0
- package/svg/fill/gazelle.svg +1 -0
- package/svg/fill/gele.svg +1 -0
- package/svg/fill/ghanamustgo.svg +1 -0
- package/svg/fill/girafe.svg +1 -0
- package/svg/fill/gombo.svg +1 -0
- package/svg/fill/gorille.svg +1 -0
- package/svg/fill/grenier.svg +1 -0
- package/svg/fill/grill.svg +1 -0
- package/svg/fill/guitare.svg +1 -0
- package/svg/fill/harmattan.svg +1 -0
- package/svg/fill/hippopotame.svg +1 -0
- package/svg/fill/houe.svg +1 -0
- package/svg/fill/igname.svg +1 -0
- package/svg/fill/ignamecoupee.svg +1 -0
- package/svg/fill/jebena.svg +1 -0
- package/svg/fill/jerrycan.svg +1 -0
- package/svg/fill/kanaga.svg +1 -0
- package/svg/fill/keke.svg +1 -0
- package/svg/fill/kente.svg +1 -0
- package/svg/fill/khamsa.svg +1 -0
- package/svg/fill/kilimandjaro.svg +1 -0
- package/svg/fill/kola.svg +1 -0
- package/svg/fill/kolaouverte.svg +1 -0
- package/svg/fill/kora.svg +1 -0
- package/svg/fill/ksar.svg +1 -0
- package/svg/fill/lalibela.svg +1 -0
- package/svg/fill/lampe.svg +1 -0
- package/svg/fill/lion.svg +1 -0
- package/svg/fill/luneetoiles.svg +1 -0
- package/svg/fill/machette.svg +1 -0
- package/svg/fill/mangue.svg +1 -0
- package/svg/fill/mangueherisson.svg +1 -0
- package/svg/fill/manioc.svg +1 -0
- package/svg/fill/marmite.svg +1 -0
- package/svg/fill/marmitecouverte.svg +1 -0
- package/svg/fill/masque.svg +1 -0
- package/svg/fill/minaret.svg +1 -0
- package/svg/fill/mobilemoney.svg +1 -0
- package/svg/fill/mototaxi.svg +1 -0
- package/svg/fill/moustiquaire.svg +1 -0
- package/svg/fill/moustique.svg +1 -0
- package/svg/fill/mpatapo.svg +1 -0
- package/svg/fill/musgum.svg +1 -0
- package/svg/fill/natte.svg +1 -0
- package/svg/fill/ndebele.svg +1 -0
- package/svg/fill/ngongi.svg +1 -0
- package/svg/fill/ngoni.svg +1 -0
- package/svg/fill/nkyinkyim.svg +1 -0
- package/svg/fill/noixpalme.svg +1 -0
- package/svg/fill/nsoromma.svg +1 -0
- package/svg/fill/oasis.svg +1 -0
- package/svg/fill/okapi.svg +1 -0
- package/svg/fill/palmier.svg +1 -0
- package/svg/fill/pangolin.svg +1 -0
- package/svg/fill/panier.svg +1 -0
- package/svg/fill/panneausolaire.svg +1 -0
- package/svg/fill/peigneafro.svg +1 -0
- package/svg/fill/perroquet.svg +1 -0
- package/svg/fill/pilon.svg +1 -0
- package/svg/fill/piment.svg +1 -0
- package/svg/fill/pirogue.svg +1 -0
- package/svg/fill/plantain.svg +1 -0
- package/svg/fill/plantainepluche.svg +1 -0
- package/svg/fill/pluie.svg +1 -0
- package/svg/fill/poisson.svg +1 -0
- package/svg/fill/portebebe.svg +1 -0
- package/svg/fill/porteuse.svg +1 -0
- package/svg/fill/poterie.svg +1 -0
- package/svg/fill/poulet.svg +1 -0
- package/svg/fill/poussepousse.svg +1 -0
- package/svg/fill/puits.svg +1 -0
- package/svg/fill/pyramides.svg +1 -0
- package/svg/fill/radio.svg +1 -0
- package/svg/fill/rhinoceros.svg +1 -0
- package/svg/fill/riad.svg +1 -0
- package/svg/fill/safou.svg +1 -0
- package/svg/fill/sandales.svg +1 -0
- package/svg/fill/sankofa.svg +1 -0
- package/svg/fill/sanza.svg +1 -0
- package/svg/fill/savane.svg +1 -0
- package/svg/fill/scarabee.svg +1 -0
- package/svg/fill/sechecheveux.svg +1 -0
- package/svg/fill/shekere.svg +1 -0
- package/svg/fill/statuette.svg +1 -0
- package/svg/fill/tabouret.svg +1 -0
- package/svg/fill/tajine.svg +1 -0
- package/svg/fill/tamaparleur.svg +1 -0
- package/svg/fill/tatasomba.svg +1 -0
- package/svg/fill/taxibrousse.svg +1 -0
- package/svg/fill/termitiere.svg +1 -0
- package/svg/fill/theiere.svg +1 -0
- package/svg/fill/toghu.svg +1 -0
- package/svg/fill/tondeuse.svg +1 -0
- package/svg/fill/tontine.svg +1 -0
- package/svg/fill/tortue.svg +1 -0
- package/svg/fill/tresses.svg +1 -0
- package/svg/fill/ville.svg +1 -0
- package/svg/fill/vindepalme.svg +1 -0
- package/svg/fill/volcan.svg +1 -0
- package/svg/fill/vuvuzela.svg +1 -0
- package/svg/fill/wax.svg +1 -0
- package/svg/fill/zebre.svg +1 -0
- package/svg/fill/zebu.svg +1 -0
- package/svg/fill/zimbabwe.svg +1 -0
- package/svg/fleuve.svg +1 -0
- package/svg/flute.svg +1 -0
- package/svg/foufou.svg +1 -0
- package/svg/gazelle.svg +1 -0
- package/svg/gele.svg +1 -0
- package/svg/ghanamustgo.svg +1 -0
- package/svg/girafe.svg +1 -0
- package/svg/gombo.svg +1 -0
- package/svg/gorille.svg +1 -0
- package/svg/grenier.svg +1 -0
- package/svg/grill.svg +1 -0
- package/svg/guitare.svg +1 -0
- package/svg/harmattan.svg +1 -0
- package/svg/hippopotame.svg +1 -0
- package/svg/houe.svg +1 -0
- package/svg/igname.svg +1 -0
- package/svg/ignamecoupee.svg +1 -0
- package/svg/jebena.svg +1 -0
- package/svg/jerrycan.svg +1 -0
- package/svg/kanaga.svg +1 -0
- package/svg/keke.svg +1 -0
- package/svg/kente.svg +1 -0
- package/svg/khamsa.svg +1 -0
- package/svg/kilimandjaro.svg +1 -0
- package/svg/kola.svg +1 -0
- package/svg/kolaouverte.svg +1 -0
- package/svg/kora.svg +1 -0
- package/svg/ksar.svg +1 -0
- package/svg/lalibela.svg +1 -0
- package/svg/lampe.svg +1 -0
- package/svg/lion.svg +1 -0
- package/svg/luneetoiles.svg +1 -0
- package/svg/machette.svg +1 -0
- package/svg/mangue.svg +1 -0
- package/svg/mangueherisson.svg +1 -0
- package/svg/manioc.svg +1 -0
- package/svg/marmite.svg +1 -0
- package/svg/marmitecouverte.svg +1 -0
- package/svg/masque.svg +1 -0
- package/svg/minaret.svg +1 -0
- package/svg/mobilemoney.svg +1 -0
- package/svg/mototaxi.svg +1 -0
- package/svg/moustiquaire.svg +1 -0
- package/svg/moustique.svg +1 -0
- package/svg/mpatapo.svg +1 -0
- package/svg/musgum.svg +1 -0
- package/svg/natte.svg +1 -0
- package/svg/ndebele.svg +1 -0
- package/svg/ngongi.svg +1 -0
- package/svg/ngoni.svg +1 -0
- package/svg/nkyinkyim.svg +1 -0
- package/svg/noixpalme.svg +1 -0
- package/svg/nsoromma.svg +1 -0
- package/svg/oasis.svg +1 -0
- package/svg/okapi.svg +1 -0
- package/svg/palmier.svg +1 -0
- package/svg/pangolin.svg +1 -0
- package/svg/panier.svg +1 -0
- package/svg/panneausolaire.svg +1 -0
- package/svg/peigneafro.svg +1 -0
- package/svg/perroquet.svg +1 -0
- package/svg/pilon.svg +1 -0
- package/svg/piment.svg +1 -0
- package/svg/pirogue.svg +1 -0
- package/svg/plantain.svg +1 -0
- package/svg/plantainepluche.svg +1 -0
- package/svg/pluie.svg +1 -0
- package/svg/poisson.svg +1 -0
- package/svg/portebebe.svg +1 -0
- package/svg/porteuse.svg +1 -0
- package/svg/poterie.svg +1 -0
- package/svg/poulet.svg +1 -0
- package/svg/poussepousse.svg +1 -0
- package/svg/puits.svg +1 -0
- package/svg/pyramides.svg +1 -0
- package/svg/radio.svg +1 -0
- package/svg/rhinoceros.svg +1 -0
- package/svg/riad.svg +1 -0
- package/svg/safou.svg +1 -0
- package/svg/sandales.svg +1 -0
- package/svg/sankofa.svg +1 -0
- package/svg/sanza.svg +1 -0
- package/svg/savane.svg +1 -0
- package/svg/scarabee.svg +1 -0
- package/svg/sechecheveux.svg +1 -0
- package/svg/shekere.svg +1 -0
- package/svg/statuette.svg +1 -0
- package/svg/tabouret.svg +1 -0
- package/svg/tajine.svg +1 -0
- package/svg/tamaparleur.svg +1 -0
- package/svg/tatasomba.svg +1 -0
- package/svg/taxibrousse.svg +1 -0
- package/svg/termitiere.svg +1 -0
- package/svg/theiere.svg +1 -0
- package/svg/toghu.svg +1 -0
- package/svg/tondeuse.svg +1 -0
- package/svg/tontine.svg +1 -0
- package/svg/tortue.svg +1 -0
- package/svg/tresses.svg +1 -0
- package/svg/ville.svg +1 -0
- package/svg/vindepalme.svg +1 -0
- package/svg/volcan.svg +1 -0
- package/svg/vuvuzela.svg +1 -0
- package/svg/wax.svg +1 -0
- package/svg/zebre.svg +1 -0
- package/svg/zebu.svg +1 -0
- package/svg/zimbabwe.svg +1 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 THAFAM HOLDING SARL and Afroicons contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,26 @@
|
|
|
1
|
-
#
|
|
1
|
+
# afroicons
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
162 icônes SVG libres qui racontent l'Afrique, au trait et remplies. Grille 24 px, trait 1,75, `currentColor`.
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
npm install afroicons
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
```js
|
|
10
|
+
import { toSvg, icons, names, replace } from "afroicons";
|
|
11
|
+
toSvg("baobab", { size: 32, color: "#C24E2A", strokeWidth: 2 });
|
|
12
|
+
toSvg("baobab", { variant: "fill" }); // version remplie
|
|
13
|
+
icons.djembe.fr; // "Djembé"
|
|
14
|
+
icons.djembe.region; // "ouest"
|
|
15
|
+
replace(); // remplace <i data-afroicon="kora"></i> (data-variant="fill" pour la version remplie)
|
|
16
|
+
icons.alloco.variantOf; // "plantain" : variante d'état
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
- `afroicons/svg/<id>.svg` — fichiers individuels, au trait
|
|
20
|
+
- `afroicons/svg/fill/<id>.svg` — versions remplies
|
|
21
|
+
- `afroicons/sprite.svg` — `<symbol id="afroicon-<id>">` à utiliser avec `<use>`
|
|
22
|
+
- `afroicons/icons.json` — noms FR/EN, catégories, régions, mots-clés, variantes (`variantOf`)
|
|
23
|
+
|
|
24
|
+
Variantes d'état : `plantainepluche` et `alloco` (plantain), `mangueherisson`, `ananastranche`, `cocoouverte`, `avocatcoupe`, `cacaoouvert`, `kolaouverte`, `arachidedecortiquee`, `ignamecoupee`, `marmitecouverte`, `calebassepleine`.
|
|
25
|
+
|
|
26
|
+
Site et recherche : https://afroicons.org · Licence MIT
|