Skip to content

feat: corner defaults can be replaced; center the collapsible demo - #36

Merged
zyx1121 merged 1 commit into
mainfrom
feat/corner-overrides
Oct 7, 2026
Merged

zyx1121 merged 1 commit into
mainfrom
feat/corner-overrides

Conversation

@zyx1121

@zyx1121 zyx1121 commented Oct 7, 2026

Copy link
Copy Markdown
Member

Summary

  • app-shell: the corner jobs (breadcrumb, nav, member + theme, copyright) become defaults. corners={{ topLeft?, topRight?, bottomLeft?, bottomRight? }} replaces any corner; CornerLink and CornerTip are exported so custom content keeps the corner type, color and tips. breadcrumb is optional. DESIGN.md calls the table default jobs.
  • Collapsible demo: items-center text-center, so the trigger stays put when the panel opens (it jumped left because the opened block was wider than the trigger).

Test plan

  • Sandbox: all checks, compose healthy
  • Temporary page with corners.topRight and corners.bottomRight: both replaced, top left kept its default (page removed before commit)
  • /collapsible: trigger x 580 before and after opening; no console errors
  • CI green

🤖 Generated with Claude Code

- app-shell: the four corner jobs are defaults; `corners` replaces any
  corner, and CornerLink / CornerTip are exported so custom content
  keeps the corner look; breadcrumb is optional
- collapsible demo: trigger and panel center, so opening no longer
  moves the trigger left

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@zyx1121
zyx1121 merged commit 3a8c18a into main Oct 7, 2026
2 checks passed
@zyx1121
zyx1121 deleted the feat/corner-overrides branch October 7, 2026 08:47
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