From a421a2bb3a1e8ec0f796c75603d4ef55c81e0654 Mon Sep 17 00:00:00 2001 From: Clay Smalley Date: Thu, 19 May 2022 21:34:23 -0400 Subject: [PATCH] Add Zia symbol for New Mexico shield --- style/icons/shield40_us_nm_2.svg | 5 +++++ style/icons/shield40_us_nm_3.svg | 5 +++++ style/js/shield_defs.js | 14 +++++++++++++- 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 style/icons/shield40_us_nm_2.svg create mode 100644 style/icons/shield40_us_nm_3.svg diff --git a/style/icons/shield40_us_nm_2.svg b/style/icons/shield40_us_nm_2.svg new file mode 100644 index 000000000..13a23c708 --- /dev/null +++ b/style/icons/shield40_us_nm_2.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/style/icons/shield40_us_nm_3.svg b/style/icons/shield40_us_nm_3.svg new file mode 100644 index 000000000..a15b60d6a --- /dev/null +++ b/style/icons/shield40_us_nm_3.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/style/js/shield_defs.js b/style/js/shield_defs.js index 50747e018..7a67ea303 100644 --- a/style/js/shield_defs.js +++ b/style/js/shield_defs.js @@ -1112,7 +1112,19 @@ export function loadShields(shieldImages) { ].forEach((county) => (shields[`US:NJ:${county}`] = usMUTCDCountyShield)); shields["US:NJ:Bergen"] = shields["default"]; - shields["US:NM"] = pillShield(colors.white, colors.pink, colors.black); + shields["US:NM"] = { + backgroundImage: [ + shieldImages.shield40_us_nm_2, + shieldImages.shield40_us_nm_3, + ], + textColor: colors.black, + padding: { + left: 7, + right: 7, + top: 7, + bottom: 7, + }, + }; shields["US:NV"] = { backgroundImage: shieldImages.shield40_us_nv,