From 2c5e882f6f7ad7aec9e2f4e6b703cfa329c6df9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Soko=C5=82owski?= Date: Sat, 17 Aug 2024 14:00:58 +0200 Subject: [PATCH] feat(all): adds Catalan flag --- src/flags/countries/_index.scss | 3 +++ src/flags/countries/regions/c.scss | 1 + src/flags/countries/regions/catalonia.scss | 12 ++++++++++++ 3 files changed, 16 insertions(+) create mode 100644 src/flags/countries/regions/c.scss create mode 100644 src/flags/countries/regions/catalonia.scss diff --git a/src/flags/countries/_index.scss b/src/flags/countries/_index.scss index 4436cfc..d62d8e8 100644 --- a/src/flags/countries/_index.scss +++ b/src/flags/countries/_index.scss @@ -69,4 +69,7 @@ $flag-height: calc($flag-size / 3) * 2; @import "v"; @import "y"; @import "z"; + + // Flags by region name + @import "regions/c"; } diff --git a/src/flags/countries/regions/c.scss b/src/flags/countries/regions/c.scss new file mode 100644 index 0000000..2d30340 --- /dev/null +++ b/src/flags/countries/regions/c.scss @@ -0,0 +1 @@ +@import "catalonia"; diff --git a/src/flags/countries/regions/catalonia.scss b/src/flags/countries/regions/catalonia.scss new file mode 100644 index 0000000..9d44788 --- /dev/null +++ b/src/flags/countries/regions/catalonia.scss @@ -0,0 +1,12 @@ +// Catalonia +&-cat { + position: relative; + background-image: + repeating-linear-gradient( + to bottom, + #fcdd09, + #fcdd09 calc(40px / 9), + #da121a calc(40px / 9), + #da121a calc(40px / 9 * 2) + ); +}