Skip to content

Commit

Permalink
Add new flag for Association of Southeast Asian Nations
Browse files Browse the repository at this point in the history
  • Loading branch information
lipis committed Jan 17, 2025
1 parent 6fef164 commit 0a11845
Show file tree
Hide file tree
Showing 9 changed files with 50 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 7.3.2

- Add new flag for Association of Southeast Asian Nations (#1325)

# 7.3.1

- Fix Kyrgyzstan Flag (#1323)
Expand Down
9 changes: 8 additions & 1 deletion country.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,13 @@
"iso": false,
"name": "Ascension Island"
},
{
"code": "asean",
"flag_1x1": "flags/1x1/asean.svg",
"flag_4x3": "flags/4x3/asean.svg",
"iso": false,
"name": "Association of Southeast Asian Nations"
},
{
"capital": "Canberra",
"code": "au",
Expand Down Expand Up @@ -2397,4 +2404,4 @@
"iso": true,
"name": "Zimbabwe"
}
]
]
7 changes: 7 additions & 0 deletions css/flag-icons.css
Original file line number Diff line number Diff line change
Expand Up @@ -1774,6 +1774,13 @@
background-image: url(../flags/1x1/arab.svg);
}

.fi-asean {
background-image: url(../flags/4x3/asean.svg);
}
.fi-asean.fis {
background-image: url(../flags/1x1/asean.svg);
}

.fi-cefta {
background-image: url(../flags/4x3/cefta.svg);
}
Expand Down
2 changes: 1 addition & 1 deletion css/flag-icons.min.css

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions flag-ids.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

def add_ids(directory):
for f in files:
if f == ".DS_Store":
continue
filename = os.path.join(directory, f)
update = False
flag_id = "flag-icons-%s" % (f.replace(".svg", ""))
Expand Down
2 changes: 1 addition & 1 deletion flags.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
files.extend(filenames)
break

file_codes = [name.replace(".svg", "") for name in files]
file_codes = [name.replace(".svg", "") for name in files if name != ".DS_Store"]

country_json = open("country.json")
flags = json.load(country_json)
Expand Down
13 changes: 13 additions & 0 deletions flags/1x1/asean.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions flags/4x3/asean.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions sass/_flag-icons-list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@

// Other flags
@include flag-icon(arab);
@include flag-icon(asean);
@include flag-icon(cefta);
@include flag-icon(cp);
@include flag-icon(dg);
Expand Down

0 comments on commit 0a11845

Please sign in to comment.