Skip to content

fix(layout): redesign navbar for light-mode readability#11336

Open
jd wants to merge 1 commit intodevs/jd/worktree-design/align-docs-design-system-mergify-com-dashboard--6c7e207efrom
devs/jd/worktree-design/redesign-navbar-light-mode-readability--16005d31
Open

fix(layout): redesign navbar for light-mode readability#11336
jd wants to merge 1 commit intodevs/jd/worktree-design/align-docs-design-system-mergify-com-dashboard--6c7e207efrom
devs/jd/worktree-design/redesign-navbar-light-mode-readability--16005d31

Conversation

@jd
Copy link
Copy Markdown
Member

@jd jd commented Apr 30, 2026

The post-token-migration navbar used a gray-50 body bg under a 95%
opacity blurred header — readable in dark mode (where navbar bg
matched body bg by design) but with insufficient contrast in light
mode for the nav links to read against scrolling content.

  • Map --theme-navbar-bg to --theme-bg-content (white in light). Dark
    mode is unaffected since --theme-bg-content aliases --theme-bg
    there.
  • Drop the color-mix transparency and backdrop-filter blur in
    Header.astro. The navbar is a solid surface; a soft 1px shadow
    conveys lift without the hard line a bottom border would draw.
  • Remove the radial-gradient ::after scoop on the left sidebar in
    BaseLayout.astro. With the new white navbar, the scoop is between
    two same-color surfaces and serves no visual purpose.

Depends-On: #11335

@jd
Copy link
Copy Markdown
Member Author

jd commented Apr 30, 2026

This pull request is part of a Mergify stack:

# Pull Request Link
1 feat(design): align docs design system with mergify.com + dashboard #11335
2 fix(layout): redesign navbar for light-mode readability #11336 👈

@mergify mergify Bot had a problem deploying to Mergify Merge Protections April 30, 2026 09:34 Failure
@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented Apr 30, 2026

Merge Protections

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

🔴 ⛓️ Depends-On Requirements

Waiting for:

This rule is failing.

Requirement based on the presence of Depends-On in the body of the pull request

🔴 🤖 Continuous Integration

Waiting for:

  • check-success = build
  • check-success = lint
  • check-success = test
  • any of:
    • check-success = test-broken-links
    • label = ignore-broken-links
This rule is failing.
  • 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/

🔴 👀 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

🟢 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 April 30, 2026 09:36
sileht
sileht previously approved these changes Apr 30, 2026
@mergify mergify Bot requested a review from a team April 30, 2026 09:40
@jd jd force-pushed the devs/jd/worktree-design/redesign-navbar-light-mode-readability--16005d31 branch from 24e097e to a4dc7d7 Compare April 30, 2026 12:07
@jd
Copy link
Copy Markdown
Member Author

jd commented Apr 30, 2026

Revision history

# Type Changes Reason Date
1 initial 24e097e 2026-04-30 12:07 UTC
2 content 24e097e → a4dc7d7 2026-04-30 12:07 UTC
3 content a4dc7d7 → cd0e33c 2026-04-30 13:21 UTC
4 content cd0e33c → 24c6225 2026-04-30 17:07 UTC
5 content 24c6225 → 8c4bd99 2026-04-30 17:11 UTC
6 content 8c4bd99 → 4e43fff 2026-04-30 17:13 UTC

@mergify mergify Bot dismissed sileht’s stale review April 30, 2026 12:07

Pull request has been modified.

@mergify mergify Bot had a problem deploying to Mergify Merge Protections April 30, 2026 12:07 Failure
@jd jd force-pushed the devs/jd/worktree-design/redesign-navbar-light-mode-readability--16005d31 branch from a4dc7d7 to cd0e33c Compare April 30, 2026 13:21
@mergify mergify Bot had a problem deploying to Mergify Merge Protections April 30, 2026 13:21 Failure
@jd jd marked this pull request as ready for review April 30, 2026 13:29
@jd jd force-pushed the devs/jd/worktree-design/redesign-navbar-light-mode-readability--16005d31 branch from cd0e33c to 24c6225 Compare April 30, 2026 17:07
@mergify mergify Bot had a problem deploying to Mergify Merge Protections April 30, 2026 17:08 Failure
@jd jd force-pushed the devs/jd/worktree-design/redesign-navbar-light-mode-readability--16005d31 branch from 24c6225 to 8c4bd99 Compare April 30, 2026 17:11
@mergify mergify Bot had a problem deploying to Mergify Merge Protections April 30, 2026 17:11 Failure
The post-token-migration navbar used a gray-50 body bg under a 95%
opacity blurred header — readable in dark mode (where navbar bg
matched body bg by design) but with insufficient contrast in light
mode for the nav links to read against scrolling content.

- Map --theme-navbar-bg to --theme-bg-content (white in light). Dark
  mode is unaffected since --theme-bg-content aliases --theme-bg
  there.
- Drop the color-mix transparency and backdrop-filter blur in
  Header.astro. The navbar is a solid surface; a soft 1px shadow
  conveys lift without the hard line a bottom border would draw.
- Remove the radial-gradient ::after scoop on the left sidebar in
  BaseLayout.astro. With the new white navbar, the scoop is between
  two same-color surfaces and serves no visual purpose.

Change-Id: I16005d31ebd4ba2e7d6fa10395fe2b7ad1819bc7
@jd jd force-pushed the devs/jd/worktree-design/redesign-navbar-light-mode-readability--16005d31 branch from 8c4bd99 to 4e43fff Compare April 30, 2026 17:13
@mergify mergify Bot had a problem deploying to Mergify Merge Protections April 30, 2026 17:13 Failure
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