Skip to content

feat: default alignBy to visual-center-y#6

Merged
RostiMelk merged 1 commit intomainfrom
default-visual-center-y
Feb 6, 2026
Merged

feat: default alignBy to visual-center-y#6
RostiMelk merged 1 commit intomainfrom
default-visual-center-y

Conversation

@RostiMelk
Copy link
Member

Changes DEFAULT_ALIGN_BY from "bounds" to "visual-center-y", so logos are vertically aligned by visual weight out of the box.

Also centralizes all prop defaults into constants.ts (adds DEFAULT_DENSITY_AWARE, DEFAULT_CROP_TO_CONTENT) and references them from both useLogoSoup and Storybook stories.

- Change DEFAULT_ALIGN_BY from "bounds" to "visual-center-y"
- Centralize all defaults in constants.ts (add DEFAULT_DENSITY_AWARE, DEFAULT_CROP_TO_CONTENT)
- Use shared constants in useLogoSoup and Storybook stories
- Update README to reflect new default
@vercel
Copy link

vercel bot commented Feb 6, 2026

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

Project Deployment Actions Updated (UTC)
react-logo-soup Ready Ready Preview, Comment Feb 6, 2026 11:24am

Request Review

@RostiMelk RostiMelk marked this pull request as ready for review February 6, 2026 11:25
@RostiMelk RostiMelk merged commit fe682b9 into main Feb 6, 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