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 banner colors to Ohio local shields #943

Open
ZeLonewolf opened this issue Oct 5, 2023 · 1 comment
Open

Add banner colors to Ohio local shields #943

ZeLonewolf opened this issue Oct 5, 2023 · 1 comment
Labels

Comments

@ZeLonewolf
Copy link
Owner

#941 added support for color banners. The Ohio shield code needs to be modified to add appropriate color banner:

US:OH:ASD:TWP, green
US:OH:ATH:Trimble, green
US:OH:MED:York, blue
US:OH:PAU:Latty, green
US:OH:PAU:Washington, green
US:OH:WAS:Aurelius, green
US:OH:WAS:Salem, green

@1ec5
Copy link
Collaborator

1ec5 commented Oct 5, 2023

The color can be added as a third item in each of these arrays, to be passed in as another parameter to banneredShield():

[
["ASD", "TWP"],
["ATH", "Trimble"],
["FAI", "Violet"],
["KNO", "Liberty"],
["KNO", "Milford"],
["LIC", "Jersey"],
["LOG", "Harrison"],
["LOG", "Jefferson"],
["LOG", "Lake"],
["LOG", "Liberty"],
["LOG", "McArthur"],
["LOG", "Miami"],
["LOG", "Monroe"],
["LOG", "Perry"],
["LOG", "Richland"],
["LOG", "Rushcreek"],
["LOG", "Stokes"],
["LOG", "Union"],
["MED", "York"],
["MRW", "Canaan"],
["MRW", "Harmony"],
["MRW", "South_Bloomfield"],
["MRW", "Westfield"],
["PAU", "Latty"],
["PAU", "Washington"],
["PER", "Coal"],
["WAS", "Aurelius"],
["WAS", "Salem"],
].forEach(
(countyAndTownship) =>
(shields[`US:OH:${countyAndTownship[0]}:${countyAndTownship[1]}`] =
banneredShield(shields[`US:OH:${countyAndTownship[0]}`], ["TWP"]))
);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants