svg-icons-2.10.0: Svg Icons and more
Safe HaskellSafe-Inferred
LanguageHaskell2010

SvgIcons.Images.CountryFlags

Description

Country flags (only Europe at this moment) and the European Union flag.

All flags are built on a viewbox "0 0 w h" where w and h are particular to each flag (according to official ratios)

Flags are named with the 2-letter ISO code of each country, with very few exceptions, named with the 3-letter ISO code to avoid name collision with some HTML or Attribute functions like hr or cy.

Synopsis

Documentation

countryFlags :: [(String, Svg)] Source #

A list with all the flags of this module, together with appropriate names.

countryFlags :: [ (String , S.Svg) ]
countryFlags =
  [ (,) "ad" ad
  , (,) "af" af
  , (,) "al" al
  , (,) "at" at
  , (,) "ba" ba
  , (,) "be" be
  , (,) "bf" bf
  , (,) "bg" bg
  , (,) "bj" bj
  , (,) "by" blr
  , (,) "cd" cd
  , (,) "cf" cf
  , (,) "cg" cg
  , (,) "ch" ch
  , (,) "ci" ci
  , (,) "cm" cm
  , (,) "cv" cv
  , (,) "cy" cyp
  , (,) "cz" cz
  , (,) "de" de
  , (,) "dj" dj
  , (,) "dk" dk
  , (,) "dz" dz
  , (,) "ee" ee
  , (,) "eg" eg
  , (,) "er" er
  , (,) "es" es
  , (,) "et" et
  , (,) "eu" eu
  , (,) "fi" fi
  , (,) "fr" fr
  , (,) "ga" ga
  , (,) "gh" gh
  , (,) "gm" gm
  , (,) "gn" gn
  , (,) "gq" gq
  , (,) "gr" gr
  , (,) "gw" gw
  , (,) "hr" hrv
  , (,) "ie" ie
  , (,) "is" is
  , (,) "it" it
  , (,) "li" li
  , (,) "lr" lbr
  , (,) "lt" lt
  , (,) "lu" lu
  , (,) "lv" lv
  , (,) "ly" ly
  , (,) "ma" ma
  , (,) "mc" mc
  , (,) "md" md
  , (,) "me" me
  , (,) "mk" mk
  , (,) "ml" ml
  , (,) "mr" mrt
  , (,) "mt" mt
  , (,) "ne" ne
  , (,) "ng" ng
  , (,) "nl" nl
  , (,) "no" no
  , (,) "pl" pl
  , (,) "pt" pt
  , (,) "ro" ro
  , (,) "rs" rs
  , (,) "ru" ru
  , (,) "sd" sd
  , (,) "se" se
  , (,) "si" si
  , (,) "sk" sk
  , (,) "sl" sl
  , (,) "sm" sm
  , (,) "sn" sn
  , (,) "so" so
  , (,) "ss" ss
  , (,) "st" st
  , (,) "td" td
  , (,) "tg" tg
  , (,) "tn" tn
  , (,) "ua" ua
  , (,) "ug" ug
  , (,) "uk" uk
  , (,) "va" va
  , (,) "xk" xk
  ]

flagV3Eq Source #

Arguments

:: (Float, Float)

w and h parameters for the viewbox

-> String

color for the left stripe

-> String

color for the central stripe

-> String

color for the right stripe

-> Svg

resulting flag

Handy function to draw a flag with 3 vertical stripes of the same size.

flagH3Eq Source #

Arguments

:: (Float, Float)

w and h parameters for the viewbox

-> String

color for the top stripe

-> String

color for the central stripe

-> String

color for the bottom stripe

-> Svg

resulting flag

Handy function to draw a flag with 3 horizontal stripes of the same size.

ad :: Svg Source #

Flag of Andorra

af :: Svg Source #

Flag of Afghanistan

al :: Svg Source #

Flag of Albania

at :: Svg Source #

Flag of Austria

ba :: Svg Source #

Flag of Bosnia and Herzegovina

be :: Svg Source #

Flag of Belgium

bf :: Svg Source #

Flag of Burkina Faso

bg :: Svg Source #

Flag of Bulgaria

bj :: Svg Source #

Flag of Benin

blr :: Svg Source #

Flag of Belarus

cd :: Svg Source #

Flag of the Democratic Republic of the Congo

cf :: Svg Source #

Flag of the Central African Republic

cg :: Svg Source #

Flag of Congo

ch :: Svg Source #

Flag of Switzerland

ci :: Svg Source #

Flag of Côte d'Ivoire

cm :: Svg Source #

Flag of Cameroon

cv :: Svg Source #

Flag of Cabo Verde

cyp :: Svg Source #

Flag of Cyprus

cz :: Svg Source #

Flag of Czech Republic

de :: Svg Source #

Flag of Germany

dj :: Svg Source #

Flag of Djibouti

dk :: Svg Source #

Flag of Denmark

dz :: Svg Source #

Flag of Algeria

ee :: Svg Source #

Flag of Estonia

eg :: Svg Source #

Flag of Egypt

er :: Svg Source #

Flag of Eritrea

es :: Svg Source #

Flag of Spain

et :: Svg Source #

Flag of the Ethiopia

eu :: Svg Source #

Flag of the European Union

fi :: Svg Source #

Flag of Finland

fr :: Svg Source #

Flag of France

ga :: Svg Source #

Flag of Gabon

gh :: Svg Source #

Flag of Ghana

gm :: Svg Source #

Flag of Gambia

gn :: Svg Source #

Flag of Guinea (Conakry)

gq :: Svg Source #

Flag of Equatorial Guinea

gr :: Svg Source #

Flag of Greece

gw :: Svg Source #

Flag of Guinea Bissau

hrv :: Svg Source #

Flag of Croatia

ie :: Svg Source #

Flag of Ireland

is :: Svg Source #

Flag of Iceland

it :: Svg Source #

Flag of Italy

li :: Svg Source #

Flag of Liechtenstein

lbr :: Svg Source #

Flag of Liberia

lt :: Svg Source #

Flag of Lithuania

lu :: Svg Source #

Flag of Luxembourg

lv :: Svg Source #

Flag of Latvia

ly :: Svg Source #

Flag of Libya

ma :: Svg Source #

Flag of Morocco

mc :: Svg Source #

Flag of Monaco

md :: Svg Source #

Flag of Moldova

me :: Svg Source #

Flag of Montenegro

mk :: Svg Source #

Flag of North Macedonia

ml :: Svg Source #

Flag of Mali

mrt :: Svg Source #

Flag of Mauritania

mt :: Svg Source #

Flag of Malta

ne :: Svg Source #

Flag of Niger

ng :: Svg Source #

Flag of the Nigeria

nl :: Svg Source #

Flag of the Netherlands

no :: Svg Source #

Flag of Norway

pl :: Svg Source #

Flag of Polonia

pt :: Svg Source #

Flag of Portugal

ro :: Svg Source #

Flag of Romania

rs :: Svg Source #

Flag of Serbia

ru :: Svg Source #

Flag of Russia

sd :: Svg Source #

Flag of Sudan

se :: Svg Source #

Flag of Sweden

si :: Svg Source #

Flag of Slovenia

sk :: Svg Source #

Flag of Slovakia

sl :: Svg Source #

Flag of Sierra Leona

sm :: Svg Source #

Flag of San Marino

sn :: Svg Source #

Flag of Senegal

so :: Svg Source #

Flag of Somalia

ss :: Svg Source #

Flag of South Sudan

st :: Svg Source #

Flag of São Tomé and Príncipe

td :: Svg Source #

Flag of Chad

tg :: Svg Source #

Flag of Togo

tn :: Svg Source #

Flag of Tunisia

ua :: Svg Source #

Flag of Ukraine

ug :: Svg Source #

Flag of the Uganda

uk :: Svg Source #

Flag of the United Kingdom

va :: Svg Source #

Flag of the Holy See (Vatican City)

xk :: Svg Source #

Flag of Kosovo