Skip to content

feat: add position color coding to team roster page - #37

Merged
lbowsher merged 1 commit into
mainfrom
lb/position-color-coding
Mar 23, 2026
Merged

lbowsher merged 1 commit into
mainfrom
lb/position-color-coding

Conversation

@lbowsher

Copy link
Copy Markdown
Owner

Summary

  • Add colored left border on player rows using draft page's getPositionBorderColor() utility
  • Replace plain position badge with colored badge using getPositionColor() to match draft page style
  • Supports NFL (QB=red, RB=blue, WR=green, TE=yellow, K=purple, DEF=orange) and NBA/NCAAM (G=green, F=yellow, C=blue)

Test plan

  • View an NFL team roster and verify position badges and left borders match draft page colors
  • View an NBA/NCAAM team roster and verify position colors are correct
  • Verify eliminated players still show opacity styling with colors

🤖 Generated with Claude Code

Match the draft page's position color scheme with colored left borders
and position badges on team player rows.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@vercel

vercel Bot commented Mar 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
fanteasy Ready Ready Preview, Comment Mar 23, 2026 1:10am

@lbowsher
lbowsher merged commit a7c5451 into main Mar 23, 2026
3 checks passed
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.

1 participant