Skip to content

docs: refresh avatar showcase for 2xs and the six-size ladder - #695

Merged
nhobes merged 1 commit into
mainfrom
feat/avatar-showcase-refresh
Aug 25, 2026
Merged

docs: refresh avatar showcase for 2xs and the six-size ladder#695
nhobes merged 1 commit into
mainfrom
feat/avatar-showcase-refresh

Conversation

@nhobes

@nhobes nhobes commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

The sizes example still said "Five sizes... from xs to xl" - 4.15 added 2xs. The example now renders the full six-step ladder starting at 2xs, with a line on where the new step earns its keep (dense rows: table cells, compact activity feeds).

Rides the unpublished 4.15.2. petal.build's avatars page inherits this via the registry at the next dep bump.

@greptile-apps

greptile-apps Bot commented Aug 25, 2026

Copy link
Copy Markdown

Greptile Summary

Updates the avatar showcase to document and render the complete six-size ladder introduced in 4.15.

  • Renames the example from five to six sizes.
  • Explains the intended dense-layout use cases for 2xs avatars.
  • Adds a 2xs avatar to the rendered size comparison.

Confidence Score: 5/5

The PR appears safe to merge.

The new 2xs value is accepted by the avatar component, has corresponding avatar styling, and is already established elsewhere in the repository’s showcases.

Important Files Changed

Filename Overview
lib/petal_components/showcase/avatar.ex The showcase text and markup now accurately include the supported 2xs avatar size without introducing a build or rendering defect.

Reviews (1): Last reviewed commit: "docs: refresh avatar showcase for 2xs an..." | Re-trigger Greptile

@nhobes
nhobes merged commit 7873018 into main Aug 25, 2026
2 of 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