Repository navigation
[release/17.0] Bring back a darker dashboard header, softened in the dark theme - #22267
Conversation
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]>
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 22267Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 22267" |
Tests selector13 / 101 PR test projects · 2 PR jobs, from 1 changed file. Selected PR test projects (13 / 101)
Selected PR jobs (2)
How these were chosen — grouped by what changed
🔧 📦 affected project Job reasons
Selection computed for commit |
There was a problem hiding this comment.
🟢 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
|
Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt. |
c63e986
into
release/17.0
|
✅ No documentation update needed. excluded → base_branch_is_release, title_release_prefix (backport to release/17.0). Triggered signals: |
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.
color-mix(in srgb, #000 55%, var(--aspire-page-background)).--aspire-header-background. Before, the phone's logo cell stayed pure black against the softened band.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:
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