Skip to content

refactor: extract color pair generation into helper function#4791

Open
JvPaciello wants to merge 1 commit intoanuraghazra:masterfrom
JvPaciello:master
Open

refactor: extract color pair generation into helper function#4791
JvPaciello wants to merge 1 commit intoanuraghazra:masterfrom
JvPaciello:master

Conversation

@JvPaciello
Copy link
Copy Markdown

What was changed

Extracted the color pair generation logic into a small helper function to improve readability and avoid repeated inline object creation.

Why

This makes the color contrast checking section easier to read and maintain without changing any existing behavior.

Scope

  • No behavior changes
  • No API changes
  • Refactor only

@vercel
Copy link
Copy Markdown

vercel bot commented Feb 10, 2026

@JvPaciello is attempting to deploy a commit to the github readme stats Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions bot added the ci CI related features. label Feb 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci CI related features.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant