Commit graph

365 commits

Author SHA1 Message Date
HatScripts
45207c1337 Add flag for Belgorod People's Republic (Closes #123) 2025-12-11 22:13:29 +11:00
HatScripts
5de5ffccee Update SVGO config
Removed the 'removeViewBox' plugin, updated the 'removeAttrs' pattern to include 'maskUnits', and replaced 'removeScriptElement' with 'removeScripts'.
2025-12-09 11:50:53 +11:00
HatScripts
3b2571e8eb Update .gitignore with additional patterns
Added rules to ignore .vscode, flags/in_progress, gradient directories, and all .py files to prevent them from being tracked by git.
2025-12-09 11:49:40 +11:00
HatScripts
b5152d3f24 Merge branch 'gh-pages' of https://github.com/HatScripts/circle-flags into gh-pages 2025-12-09 11:40:44 +11:00
HatScripts
b041df8160 Add language symlinks: en-gb and es-es (#101)
Created symbolic links for en-gb and es-es language flags pointing to their respective country flags.
2025-12-09 11:40:38 +11:00
HatScripts
c1f19b2480
Merge pull request #147 from HatScripts/git-files
Add .gitattributes and .gitignore files for SVG handling and node_modules exclusion
2025-12-09 08:31:36 +11:00
HatScripts
286dc6a522
Merge pull request #145 from HatScripts/aq-true_south-dark-blue
Change Antarctica True South flag to use dark blue color
2025-12-09 08:30:07 +11:00
Waldir Pimenta
829e4a9392 Add .gitattributes and .gitignore files for SVG handling and node_modules exclusion 2025-12-08 18:03:20 +00:00
HatScripts
ebdeda65a5 Update Tibetan language flag symlink
Changed the bo.svg symlink target from tibet.svg to cn-xz.svg.
2025-12-08 22:41:23 +11:00
HatScripts
72546b9e11 Revert "Fix pt-pt.svg symlink"
This reverts commit 17741c16f5.
2025-12-08 22:38:29 +11:00
HatScripts
17741c16f5 Fix pt-pt.svg symlink 2025-12-08 22:36:26 +11:00
HatScripts
6cde8133b2
Merge pull request #146 from HatScripts/pt-pt
Add `pt-pt` alias for `pt` language flag
2025-12-08 22:29:54 +11:00
HatScripts
cb83dd31a3 Update Vietnam flag 2025-12-08 22:25:48 +11:00
HatScripts
b7cdd3c0b4 Rename Tibet flag to cn-xz and update gallery
Renamed flags/tibet.svg to flags/cn-xz.svg for consistency with other Chinese region codes. Updated gallery.md to reference the new filename and code.
2025-12-08 22:17:36 +11:00
Waldir Pimenta
0665edb169 Add pt-pt alias for pt language flag
Since Brazilian Portuguese is the globally dominant variety of Portuguese
(in terms of number of speakers and cultural influence)
similar to how American English is for English,
it is common for people to use a `pt-pt` language code
to specifically refer to European Portuguese.

This commit therefore adds an alias `pt-pt` -> `pt`,
similar to the existing `en-gb` -> `en` alias for English (United Kingdom).
Despite the apparent redundancy, the `pt-pt` code is actually used in practice,
and indeed has an IETF language tag (`pt-PT`) and POSIX locale (`pt_PT`).
2025-12-08 11:07:16 +00:00
HatScripts
f8785cb317 Revert "Move flag image sizing from HTML to CSS"
This reverts commit 1d871b7866.
2025-12-08 19:12:01 +11:00
HatScripts
1d871b7866 Move flag image sizing from HTML to CSS
Removed explicit width attributes from flag <img> tags in gallery.md and added a CSS rule to set image width to 96px. This centralizes image sizing in CSS for easier maintenance and cleaner markup.
2025-12-08 19:09:31 +11:00
HatScripts
952222c46f Update label for 'xx' language flag
Changed the label from '<Unknown>' to '<Placeholder>' for the 'xx' language flag entry in gallery.md.
2025-12-08 17:47:51 +11:00
HatScripts
d31a17e0aa Move English (en) flag entry in gallery
Relocated the English (en) flag entry above its regional variants for better logical grouping in the language flags gallery.
2025-12-08 17:23:47 +11:00
HatScripts
8bdb30150c Add usage instructions and ISO language codes to gallery
Added usage examples for main and language flags, specifying the URL format and relevant ISO code references. Updated language flag entries to display their ISO 639-1 codes.
2025-12-08 16:59:26 +11:00
HatScripts
8b8032e402 Clarify Portuguese (Brazil) label in gallery
Updated the label for the Brazilian Portuguese flag from 'Portuguese' to 'Portuguese (Brazil)' to distinguish it from European Portuguese.
2025-12-08 16:06:03 +11:00
Waldir Pimenta
a5b1d58b76 Change Antarctica True South flag to use dark blue color 2025-12-08 01:55:13 +00:00
HatScripts
10f443cfc9
Merge pull request #144 from HatScripts/gallery-update
Update Gallery page
2025-12-08 12:43:36 +11:00
HatScripts
e8c763a213 Merge branch 'gh-pages' of https://github.com/HatScripts/circle-flags into gh-pages 2025-12-08 12:36:37 +11:00
HatScripts
3cf3c01435 Fix religious text on Afghanistan Emirate flag
https://en.wikipedia.org/wiki/Shahada
2025-12-08 12:36:32 +11:00
Waldir Pimenta
8b700ea35b Add Language flags section to the gallery 2025-12-08 01:19:55 +00:00
Waldir Pimenta
b062346eda Create sections in gallery for Main flags and Other flags
Also add missing flags from the Other category:

- `checkered.svg`
- `klingon.svg`
- `lgbt.svg`
- `lgbt-progress.svg`
- `lgbt-transgender.svg`
- `pirate.svg`
2025-12-08 01:17:56 +00:00
Waldir Pimenta
a36f8f05d6 Add missing flags to the gallery 2025-12-08 00:59:59 +00:00
Waldir Pimenta
11abf751b9
Merge pull request #126 from ByMykel/patch-1
Fix gallery flags
2025-12-07 23:26:24 +00:00
HatScripts
c70232c5e4 Remove spaces from text of Saudi Arabia and Somaliland 2025-12-07 21:58:39 +11:00
HatScripts
c1935603b3 Add missing dot to text of Iraq flag 2025-12-07 20:59:51 +11:00
HatScripts
79f0e95c8f Expand SVG attribute removal list in SVGO config
Added 'data', 'fill-rule', and 'xml' to the list of attributes removed by the SVGO 'removeAttrs' plugin to further optimize SVG files.
2025-12-06 21:55:56 +11:00
HatScripts
e5f515dbab Remove fill-rule 2025-12-06 21:53:30 +11:00
HatScripts
618e4a3bbd Remove redundant <mask> code 2025-12-06 21:22:05 +11:00
HatScripts
b7ddba58ae Fix missing viewBoxes (Fixes #131) 2025-12-06 21:05:03 +11:00
HatScripts
ece9507c8c Update Eswatini flag - fixes #141 2025-12-06 20:26:47 +11:00
HatScripts
9ef5e9c6ef Update logo - shorten flag 2025-12-06 19:48:17 +11:00
HatScripts
94f57d9156 Fix religious text on Iraq flag
https://en.wikipedia.org/wiki/Takbir
2025-12-06 19:03:03 +11:00
HatScripts
c9fdafeaac Fix religious text on Saudi Arabia and Somaliland flags
https://en.wikipedia.org/wiki/Shahada
2025-12-06 18:48:04 +11:00
HatScripts
c888ec17d0 Create flag of Artsakh 2025-10-17 21:07:38 +11:00
HatScripts
9abb9b5b88 Optimize flag of Armenia 2025-10-17 21:07:04 +11:00
HatScripts
fab8ca0fc1
Merge pull request #142 from kasperskei/gh-pages
Add flag for Tanzanian Zanzibar
2025-10-12 16:29:55 +11:00
kasperskei
bced2d8e31 Add flag for Tanzanian Zanzibar 2025-10-10 00:03:24 +03:00
HatScripts
c7eb0a1f2d
Merge pull request #139 from chomnr/gh-pages
Add solid-circle-flags to README
2025-05-14 21:32:08 +10:00
chomnr
7df3d8fd89 Add solid-circle-flags to README 2025-05-13 11:41:43 -04:00
HatScripts
98574d233d Update Syria flag 2024-12-09 18:42:33 +11:00
ByMykel
bb05c986e6
Fix gallery flags 2024-10-21 16:15:14 +02:00
HatScripts
6452fa836a Create translingual language symlink 2024-06-21 17:10:56 +10:00
HatScripts
26bf60c379 Update copyright year 2024-04-03 13:00:54 +11:00
HatScripts
01466c05df Add 6 US state flags to gallery 2024-04-03 12:21:46 +11:00