Skip to content

feat(callouts): visual refresh of the Aside component#11481

Open
jd wants to merge 1 commit into
mainfrom
devs/jd/feat/callouts-refresh/visual-refresh-aside-component--74cbfe5e
Open

feat(callouts): visual refresh of the Aside component#11481
jd wants to merge 1 commit into
mainfrom
devs/jd/feat/callouts-refresh/visual-refresh-aside-component--74cbfe5e

Conversation

@jd
Copy link
Copy Markdown
Member

@jd jd commented May 13, 2026

Align Aside with the post-Pass A design system:

  • 4px → 3px left border, calmer accent
  • 10% tint of transparent → 8% (light) / 12% (dark) tint of
    the content surface — readable across modes, no muddiness
  • 8px right border-radius for a finished card edge
  • Sentence-case titles ("Note", "Tip", "Caution", "Danger")
    instead of uppercase eyebrows, dropping the marketing-toned
    defaults ("Did you know?", "Heads-up!")
  • Title weight 700 → 600
  • Inline Octicon SVGs → lucide icons via astro-icon

Directive syntax, types, and the {type,title} prop API are
unchanged. User-supplied title overrides continue to work.

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

Align Aside with the post-Pass A design system:

- 4px → 3px left border, calmer accent
- 10% tint of transparent → 8% (light) / 12% (dark) tint of
  the content surface — readable across modes, no muddiness
- 8px right border-radius for a finished card edge
- Sentence-case titles ("Note", "Tip", "Caution", "Danger")
  instead of uppercase eyebrows, dropping the marketing-toned
  defaults ("Did you know?", "Heads-up!")
- Title weight 700 → 600
- Inline Octicon SVGs → lucide icons via astro-icon

Directive syntax, types, and the {type,title} prop API are
unchanged. User-supplied title overrides continue to work.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Change-Id: I74cbfe5ee3722145d61b1b2c69841bab77d8be84
Copilot AI review requested due to automatic review settings May 13, 2026 16:40
@mergify mergify Bot had a problem deploying to Mergify Merge Protections May 13, 2026 16:40 Failure
@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented May 13, 2026

Merge Protections

Your pull request matches the following merge protections and will not be merged until they are valid.

🔴 👀 Review Requirements

Waiting for

  • #approved-reviews-by >= 2
This rule is failing.
  • any of:
    • #approved-reviews-by >= 2
    • author = dependabot[bot]
    • author = mergify-ci-bot

🔴 🔎 Reviews

Waiting for

  • #review-requested = 0
This rule is failing.
  • #review-requested = 0
  • #changes-requested-reviews-by = 0
  • #review-threads-unresolved = 0

🟢 🤖 Continuous Integration

Wonderful, this rule succeeded.
  • all of:
    • check-success = build
    • check-success = lint
    • check-success = test
    • any of:
      • check-success = test-broken-links
      • label = ignore-broken-links
    • any of:
      • check-success=Cloudflare Pages
      • -head-repo-full-name~=^Mergifyio/

🟢 Enforce conventional commit

Wonderful, this rule succeeded.

Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/

  • title ~= ^(fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert|ui)(?:\(.+\))?:

🟢 📕 PR description

Wonderful, this rule succeeded.
  • body ~= (?ms:.{48,})

@mergify mergify Bot requested a review from a team May 13, 2026 16:43
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Aside callout component to match the updated design system while keeping the existing { type, title } API and directive behavior intact.

Changes:

  • Updates default callout titles to sentence case (“Note”, “Tip”, “Caution”, “Danger”).
  • Replaces inline Octicon SVG paths with astro-icon lucide icons.
  • Refreshes styling (3px accent border, content-surface tint with light/dark adjustments, right-side border radius, updated title typography/layout).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jd jd marked this pull request as ready for review May 13, 2026 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants