Skip to content

Update banner to WinUI blue gradient - #894

Merged
Nikola Metulev (nmetulev) merged 1 commit into
mainfrom
update/winui-blue-banner
Sep 21, 2026
Merged

Nikola Metulev (nmetulev) merged 1 commit into
mainfrom
update/winui-blue-banner

Conversation

@niels9001

@niels9001 Niels Laute (niels9001) commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Description

Updates the WinApp CLI banner from the existing blue-to-purple palette to a Windows/WinUI-inspired light-blue-to-deep-blue gradient. The palette includes the Microsoft blue accent (#0078D4) and uses true-color ANSI sequences in supported terminals.

Screenshot 2026-09-21 113523

Usage Example

winapp

The banner now transitions through #60CDFF, #3CB4FF, #0099FF, #0078D4, and #005A9E.

Related Issue

None.

Type of Change

  • 🧪 Test update

Checklist

  • New tests added for new functionality
  • Tested locally on Windows

Screenshots / Demo

Run winapp in Windows Terminal or the VS Code terminal to see the updated gradient.

Additional Notes

BannerHelperTests passes all 10 focused tests. The full repository build was also attempted; it progressed into the broader test suites but could not complete because the local machine ran out of disk space and encountered unrelated ARM64/environment-dependent test failures.

AI Description

This section is auto-generated by AI when the PR is opened or updated. To opt out, delete this entire section including the marker comments.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings September 21, 2026 09:36

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.

Copilot review overview

🟢 Approval recommended

The focused visual change is correctly implemented and covered by appropriate tests.

Review effort: Balanced
Findings: None

What changed in this PR

Updates the CLI banner to a WinUI-inspired true-color blue gradient.

Changes:

  • Replaces the blue-purple palette with five blue gradient colors.
  • Adds focused assertions for key gradient colors.
File Description
BannerHelper.cs Defines the new true-color gradient.
BannerHelperTests.cs Verifies key colors appear in the banner.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@github-actions

Copy link
Copy Markdown
Contributor

Build Metrics Report

Binary Sizes

Artifact Baseline Current Delta
CLI (ARM64) 57.03 MB 57.03 MB ✅ 0.0 KB (0.00%)
CLI (x64) 57.07 MB 57.07 MB ✅ 0.0 KB (0.00%)
MSIX (ARM64) 23.72 MB 23.72 MB 📉 -0.3 KB (-0.00%)
MSIX (x64) 25.16 MB 25.16 MB 📉 -0.2 KB (-0.00%)
NPM Package 49.44 MB 49.44 MB 📉 -0.1 KB (-0.00%)
NuGet Package 49.55 MB 49.55 MB 📈 +0.2 KB (+0.00%)

Test Results

✅ 7598 passed, 37 skipped out of 7635 tests in 1109.6s (-82.6s vs. baseline)

Test Coverage

✅ 85.7% line coverage, 79.9% branch coverage · ✅ no change vs. baseline

CLI Startup Time

66ms median (x64, winapp --version) · ✅ -6ms vs. baseline

Try This Build

Installs the MSIX for your architecture, replacing any previously installed build. Needs the GitHub CLI — the command offers to install it and sign you in if it is missing.

& ([scriptblock]::Create((irm https://raw.githubusercontent.com/microsoft/winappCli/main/scripts/winapp-pr.ps1))) 894
Switching between builds often?

Put the tool on your PATH once:

& ([scriptblock]::Create((irm https://raw.githubusercontent.com/microsoft/winappCli/main/scripts/winapp-pr.ps1))) -AddToPath

Then this build is just:

winapp-pr 894

Run winapp-pr with no arguments to pick from a list of open PRs.


Updated 2026-09-21 10:16:09 UTC · commit 99f21f5 · workflow run

@nmetulev
Nikola Metulev (nmetulev) merged commit ecb4575 into main Sep 21, 2026
32 checks passed
@nmetulev
Nikola Metulev (nmetulev) deleted the update/winui-blue-banner branch September 21, 2026 17:21
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.

4 participants