Skip to content

Conversation

@anonymous0719
Copy link

We’ve been developing an internal tool to help identify valuable, unmerged commits across downstream forks.

Using this tool, we found a commit in NeoFreeBird/tweak that adds a fallback behavior for custom colors (7/8), so Twitter’s internal primaryColor is never set to an unsupported value. This prevents invalid/unknown color IDs from being applied to Twitter native components while still keeping the user’s custom choice.

We’re submitting this PR in case it’s helpful for your project. If this change isn’t something you’d like to include, we’d still really appreciate any feedback or suggestions — it would help us improve the tool and our selection process.

Also, just to clarify: commits surfaced by the tool are always manually reviewed and validated, and this PR was created by a human after review, not generated or submitted automatically by AI.

Thanks a lot for your time and review!

When colorID is 7 or 8 (custom colors), set Twitter's internal primary color to a valid fallback (blue, id 1) while preserving the custom selection elsewhere. This avoids passing unsupported IDs to native components.
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