Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add shields for Custer State Park, South Dakota #983

Merged
merged 1 commit into from
Oct 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions icons/shield_us_sd_csp.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/constants/color.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
11 changes: 11 additions & 0 deletions src/js/shield_defs.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"] = {
Expand Down
2 changes: 2 additions & 0 deletions src/shieldtest.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Loading