Commit graph

379 commits

Author SHA1 Message Date
Ahmet Eren Odacı
a5f84b7a3f
Add react-native-circle-flags to README
I created the React Native equivalent of circle-flags, which is react-native-circle-flags. I added it to the README, hoping it helps others.
2025-12-17 13:28:34 +03:00
HatScripts
43ede44381 Fix missing masks 2025-12-14 11:33:59 +11:00
HatScripts
92ce8ef684 Remove groups from 23 flag icons, minify
Removed all groups (`<g>`) in preference for path unions.
2025-12-13 23:01:34 +11:00
HatScripts
4bc41a10e9 Update Mexican Spanish flag (slight redesign)
- Align flag stripes
- Move Mexico's coat of arms lower so that it's not as heavily cropped
2025-12-13 20:54:31 +11:00
HatScripts
c76b2cbf88 Update Mexico flag - eagle and snake 2025-12-13 20:15:31 +11:00
HatScripts
49e852a3cc Add Malta civil ensign flag 2025-12-13 15:56:10 +11:00
HatScripts
acce3c4871 Update Malta flag cross position 2025-12-13 15:40:17 +11:00
HatScripts
54235dbb1e Add Minnesota state flag
Added the SVG file for the Minnesota (us-mn) state flag and updated gallery.md to include Minnesota in the flag gallery.
2025-12-13 15:32:12 +11:00
HatScripts
66333d058b Add Sealand flag (Closes #125) 2025-12-13 14:34:08 +11:00
HatScripts
ef03b1f97e Update Mauritania flag (Closes #129) 2025-12-13 14:14:23 +11:00
HatScripts
ca50d99af1 Add flag for Kursk People's Republic (#123) 2025-12-12 15:26:35 +11:00
HatScripts
1f0cda5c3f Update color palette icons in README
Inline SVG color circles weren't displaying, so we have replaced them with external `placeholder.pics` image icons.
2025-12-12 12:36:35 +11:00
HatScripts
e5735f4755 Add emojis to section headers in README
Updated README.md to include relevant emojis in section headers for improved visual clarity and organization.
2025-12-11 22:51:25 +11:00
HatScripts
bc36c9ad7f Add SVG color swatches to palette in README
Replaces plain color codes in the color palette section with inline SVG circles for visual reference, improving clarity for contributors selecting flag colors.
2025-12-11 22:27:57 +11:00
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