Skip to content

Add per-institution accent_color for all active logo entries in institutions data - #13

Merged
chourroutm merged 2 commits into
mainfrom
copilot/update-institutions-accent-color
Oct 29, 2026
Merged

chourroutm merged 2 commits into
mainfrom
copilot/update-institutions-accent-color

Conversation

Copilot AI commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

This updates src/_data/institutions.yaml to include an accent_color for every institution with an active logo, using the dominant brand color from each referenced logo asset (remote/logo-source SVGs and the shared local MGB icon). The data now consistently provides one lowercase six-digit hex color per active logo-bearing entry.

  • Data model update: logo-adjacent accent colors

    • Added accent_color: "#xxxxxx" next to each active logo field for:
      • Harvard, MIT, Mass General, BU, Tufts, Northeastern, UMass Boston, Dana-Farber, Boston Children’s, Brigham, Boston College, McLean.
    • No accent_color fields were added for commented-out logo URLs.
  • Shared logo handling

    • Applied the same accent color to Massachusetts General Hospital, Brigham and Women’s Hospital, and McLean Hospital because they use the same active local asset:
      • images/institutions/mass-general-brigham_icon.svg → #009ca6.
  • Resulting YAML shape (example)

    - long_name: Massachusetts General Hospital
      short_name: Mass General
      domain: mgh
      logo: images/institutions/mass-general-brigham_icon.svg
      accent_color: "#009ca6"
      website: https://www.massgeneral.org

Co-authored-by: chourroutm <83714683+chourroutm@users.noreply.github.com>
Copilot AI changed the title [WIP] Update institutions.yaml with accent_color for active logos Add per-institution accent_color for all active logo entries in institutions data Oct 28, 2026
Copilot AI requested a review from chourroutm October 28, 2026 18:48
@chourroutm

Copy link
Copy Markdown
Member

@copilot make a table here with logo vs color

Copilot AI commented Oct 28, 2026

Copy link
Copy Markdown
Contributor Author

@copilot make a table here with logo vs color

Institution Logo Accent color
Harvard University Harvard_University_shield.svg #a51c30
Massachusetts Institute of Technology MIT_2023_red_logo.svg #750014
Massachusetts General Hospital mass-general-brigham_icon.svg #009ca6
Boston University Boston_University_wordmark.svg #cc0000
Tufts University Tufts_University_wordmark.svg #3e8ede
Northeastern University Northeastern_Wordmark.svg #c8102e
University of Massachusetts Boston new-umb-logo-blue.svg #005a8b
Dana-Farber Cancer Institute Dana-Farber_Cancer_Institute_logo.svg #00629b
Boston Children's Hospital Boston_Children%27s_Hospital_logo.svg #164989
Brigham and Women's Hospital mass-general-brigham_icon.svg #009ca6
Boston College Boston_College_Logotype.svg #98002e
McLean Hospital mass-general-brigham_icon.svg #009ca6

@chourroutm
chourroutm marked this pull request as ready for review October 28, 2026 19:04
@chourroutm
chourroutm merged commit e81db70 into main Oct 29, 2026
0 of 2 checks passed
@chourroutm
chourroutm deleted the copilot/update-institutions-accent-color branch October 29, 2026 05:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants