From ff1af3ea846faa0410c945229b8aa1ea50a3097f Mon Sep 17 00:00:00 2001 From: Clay Smalley Date: Fri, 27 Oct 2023 21:14:36 -0400 Subject: [PATCH] add shields for Custer State Park, South Dakota --- icons/shield_us_sd_csp.svg | 3 +++ src/constants/color.js | 2 ++ src/js/shield_defs.js | 11 +++++++++++ src/shieldtest.js | 2 ++ 4 files changed, 18 insertions(+) create mode 100644 icons/shield_us_sd_csp.svg diff --git a/icons/shield_us_sd_csp.svg b/icons/shield_us_sd_csp.svg new file mode 100644 index 000000000..468c471f6 --- /dev/null +++ b/icons/shield_us_sd_csp.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/constants/color.js b/src/constants/color.js index 4472ec6b7..e2bf7bdc7 100644 --- a/src/constants/color.js +++ b/src/constants/color.js @@ -40,6 +40,7 @@ export const palette = { pink: "#df4661", // Pantone 198 purple: "#6d2077", // Pantone 259 red: "#bf2033", // Pantone 187 + tan: "#ddcba4", // Pantone 468 C white: "white", yellow: "#ffcd00", // Pantone 116 yellow_green: "#c4d600", // Pantone 382 @@ -54,6 +55,7 @@ export const shields = { pink: palette.pink, // Pantone 198 purple: palette.purple, // Pantone 259 red: palette.red, // Pantone 187 + tan: palette.tan, // Pantone 468 C white: palette.white, yellow: palette.yellow, // Pantone 116 yellow_green: palette.yellow_green, // Pantone 382 diff --git a/src/js/shield_defs.js b/src/js/shield_defs.js index b9dd054fd..aee451da7 100644 --- a/src/js/shield_defs.js +++ b/src/js/shield_defs.js @@ -2221,6 +2221,17 @@ export function loadShields() { Color.shields.white )) ); + shields["US:SD:Custer:CSP"] = { + spriteBlank: "shield_us_sd_csp", + textColor: Color.shields.black, + textLayout: textConstraint("ellipse"), + padding: { + left: 8, + right: 7, + top: 2, + bottom: 8, + }, + }; // Tennessee shields["US:TN:primary"] = { diff --git a/src/shieldtest.js b/src/shieldtest.js index acde563d7..36318bd2a 100644 --- a/src/shieldtest.js +++ b/src/shieldtest.js @@ -197,6 +197,8 @@ let networks = [ "CA:ON:primary", "CA:ON:primary:Toll", + "US:SD:Custer:CSP", + // With banners "US:I:Truck", "US:I:Express",