Skip to content

feat: expose customPalette prop for color customization#30

Merged
tian-lan-landing merged 3 commits intomainfrom
fix/expose-palette-prop
Dec 29, 2025
Merged

feat: expose customPalette prop for color customization#30
tian-lan-landing merged 3 commits intomainfrom
fix/expose-palette-prop

Conversation

@tian-lan-landing
Copy link
Copy Markdown
Collaborator

Summary

  • Added customPalette prop to InferenceResult component for custom color palette support
  • Updated predictionsToAnnotations function to accept optional palette parameter
  • Exported default palette for user reference

Test plan

  • Test InferenceResult without customPalette (should use default palette)
  • Test InferenceResult with customPalette prop (should use custom colors)
  • Verify default palette is accessible via import from 'landingai'

🤖 Generated with Claude Code

tian-lan-landing and others added 3 commits December 29, 2025 15:51
- Add customPalette prop to InferenceResult component
- Update predictionsToAnnotations to accept optional custom palette
- Export default palette for users to reference

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

Co-Authored-By: Claude <noreply@anthropic.com>
- Add packageManager field to enforce yarn@1.22.19 usage
- Update CLAUDE.md to use yarn commands instead of npm
- Document yarn installation commands and workspace management

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

Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@tian-lan-landing tian-lan-landing merged commit 9028067 into main Dec 29, 2025
0 of 3 checks passed
@tian-lan-landing tian-lan-landing deleted the fix/expose-palette-prop branch December 29, 2025 08:24
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