Skip to content

[release/17.0] Bring back a darker dashboard header, softened in the dark theme - #22267

Merged
Jose Perez Rodriguez (joperezr) merged 1 commit into
release/17.0from
maddymontaquila/dashboard-17-header
Nov 13, 2026
Merged

Jose Perez Rodriguez (joperezr) merged 1 commit into
release/17.0from
maddymontaquila/dashboard-17-header

Conversation

@maddymontaquila

Copy link
Copy Markdown
Collaborator

Brings back a darker header band, softened in the dark theme.

Since #22188, the header shared the page's background, and only a hairline set it apart. It's a band darker than the page again, as it was before the resource list went to the top.

  • Dark theme: the shell background is pure black, which looked harsh next to the page. The band is now the page's own color taken about halfway to black: color-mix(in srgb, #000 55%, var(--aspire-page-background)).
  • Light theme: keeps the shell's grey, as before.
  • Shared color: the band, the phone header's logo cell, the logo link and the app bar all use one --aspire-header-background. Before, the phone's logo cell stayed pure black against the softened band.
  • Hairline: it now runs across the whole header, including under the brand and at home. Before, it ran under the tabs only.

The change is CSS only, in MainLayout.razor.css.

Customer Impact

The dashboard header reads as a header again, without the harsh pure black in the dark theme.

Testing

Checked in TestShop on this branch:

  • Desktop at 1440px: the resource overview and home, in the dark and light themes.
  • Phone at 390px: the dark and light themes.

The header text keeps at least its previous contrast: the band is darker than the page in the dark theme and unchanged in the light theme.

Risk

Low. Visual only, limited to the header's background.

Regression?

Partly. #22188 removed the header's own background in 17.0, and this brings it back, softened.

🤖 Generated with Claude Code

The header shared the page's background, so nothing set it apart but a hairline.
It's a band darker than the page again, as before the resource list went to the
top. In the dark theme Fluent's darker background is pure black, which was harsh
beside the page, so the band is the page's color taken about halfway to black.
The hairline now runs across the whole header.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 22267

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 22267"

@aspire-repo-bot
aspire-repo-bot Bot requested a balanced review from Copilot November 13, 2026 18:12
@github-actions github-actions Bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Nov 13, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Tests selector

13 / 101 PR test projects · 2 PR jobs, from 1 changed file.

Selected PR test projects (13 / 101)

Aspire.Dashboard.Components.Tests, Aspire.Dashboard.Tests, Aspire.Hosting.Azure.Kubernetes.Tests, Aspire.Hosting.Azure.Tests, Aspire.Hosting.Blazor.Tests, Aspire.Hosting.Dotnet.Tests, Aspire.Hosting.DotnetTool.Tests, Aspire.Hosting.JavaScript.Tests, Aspire.Hosting.Radius.Tests, Aspire.Hosting.Testing.Tests, Aspire.Hosting.Tests, Aspire.Playground.Tests, Aspire.Templates.Tests

Selected PR jobs (2)

extension-e2e, native-dashboard-validation


How these were chosen — grouped by what changed

⚠️ 12 of the 13 selected test projects come from a single change — src/Aspire.Dashboard/Components/Layout/MainLayout.razor.css.

🔧 src/Aspire.Dashboard/Components/Layout/MainLayout.razor.css (changed source)
→ 12 via the project graph: Aspire.Dashboard.Components.Tests, Aspire.Dashboard.Tests, Aspire.Hosting.Azure.Kubernetes.Tests (3 hops), Aspire.Hosting.Azure.Tests (2 hops), Aspire.Hosting.Blazor.Tests (2 hops), Aspire.Hosting.Dotnet.Tests (2 hops), Aspire.Hosting.DotnetTool.Tests (2 hops), Aspire.Hosting.JavaScript.Tests, Aspire.Hosting.Radius.Tests (2 hops), Aspire.Hosting.Testing.Tests, Aspire.Hosting.Tests, Aspire.Playground.Tests (2 hops)

📦 affected project Aspire.Dashboard
→ 1 test: Aspire.Templates.Tests

Job reasons

Job Triggered by
extension-e2e • src/Aspire.Dashboard/Components/Layout/MainLayout.razor.css
• affected project Aspire.Dashboard
native-dashboard-validation affected project Aspire.Dashboard

Selection computed for commit 6f8b435.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

There are no active review issues for the dashboard header styling changes.

No open issues 🎉

What changed in this PR

Restores a distinct, darker header band in the Aspire dashboard after #22188, softening the dark-theme background while preserving the light-theme grey.

Changes:

  • Introduces a shared header background color for the header, mobile logo area, logo link, and app bar.
  • Blends the dark-theme page color toward black instead of using pure black.
  • Extends the desktop header’s bottom hairline across the full width, including on the home page.
File Description
src/​Aspire.Dashboard/​Components/​Layout/​MainLayout.razor.css Unifies header backgrounds and removes exceptions that shortened or hid the desktop hairline.

Review effort: Balanced

@github-actions

Copy link
Copy Markdown
Contributor

Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt.

@joperezr
Jose Perez Rodriguez (joperezr) merged commit c63e986 into release/17.0 Nov 13, 2026
314 of 317 checks passed
@microsoft-github-policy-service microsoft-github-policy-service Bot added this to the 17.0 milestone Nov 13, 2026
@aspire-repo-bot

Copy link
Copy Markdown
Contributor

✅ No documentation update needed.

excluded → base_branch_is_release, title_release_prefix (backport to release/17.0). Triggered signals: pr_body_has_cli_flag_mention (false positive: a CSS color-mix(in srgb, ...) snippet). The change is CSS-only (MainLayout.razor.css), so no docs are needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants