Skip to content

Redesign BrushesDemos with the gallery design system - #801

Open
jfversluis wants to merge 2 commits into
mainfrom
jfversluis-brushesdemos-visual-redesign
Open

jfversluis wants to merge 2 commits into
mainfrom
jfversluis-brushesdemos-visual-redesign

Conversation

@jfversluis

Copy link
Copy Markdown
Member

Agent assessment

Self-reported assessment, not an independent review.

Assessed revision: 0d62f5bd3551581b430cd300e5ed9b9cc1d82aac

Dimension Assessment Rationale
Change confidence 9/10 ↑ Clean iOS simulator and Android builds.
↑ All 7 pages captured in light and dark on an iPhone 17 Pro simulator (iOS 27.2) and a physical Pixel 10, before and after.
↑ Brushes update every second, the list scrolls, and navigation works at runtime.
↑ GPT and Claude code reviews and design reviews; findings addressed.
↓ Windows and Mac Catalyst not run locally; CI for this revision pending.

Redesigns 11.0/UserInterface/BrushesDemos with the shared gallery design system from CollectionViewDemos (#793). Every example still paints the same Border with the same brush XAML, so docs readers can compare it to the Brushes docs.

What changed

  • Home page: hero with the .NET 11 rocket bots and six demos in two groups. Each icon tile is painted with the kind of brush its demo shows.
  • Demo pages: eyebrow, title, and a one-line lead that names the API. Each example is a card with the painted Border, a title, and the property values it sets, such as EndPoint="1,0".
  • All solid color brushes: outlined swatches, so White and other light colors stay visible.
  • CSS gradients: each class has a heading, and the gradients use rounded corners.
  • Update brushes: the System.Threading.Timer that was only disposed in a finalizer is now an IDispatcherTimer that runs only while the page is visible.
  • Docs alignment: added the four-stop LinearGradientBrush from the gradients overview (gradient-stops.png). The gradient Borders already use RoundRectangle 12, like the docs.
  • Fonts: Inter (SIL OFL 1.1) and Material Icons Round (Apache 2.0), license files included. OpenSans removed. The dotnet_bot.png is the .NET 11 rocket from ControlGallery.
  • README: light and dark screenshots that follow the reader's GitHub theme, and a short "Styling and assets" section.

Screenshots

iOS light, before and after:

Home, SolidColorBrush, LinearGradientBrush, all solid color brushes, update brushes, and CSS pages on iOS in light theme, before and after

Android dark (Pixel 10), before and after:

Home, SolidColorBrush, RadialGradientBrush, all solid color brushes, update brushes, and CSS pages on Android in dark theme, before and after

Validation

  • Built for the iOS simulator (Xcode 27.2) and Android; ran on an iPhone 17 Pro simulator (iOS 27.2) and a physical Pixel 10 (Android 17).
  • Checked at runtime: every page opens from the home page; the update page repaints its three Borders every second; the solid color list scrolls to the last brush.
  • Screenshots of the documented states were captured for a follow-up docs-maui update behind a .NET 11 moniker.

jfversluis and others added 2 commits November 29, 2026 14:24
Apply the shared gallery design system (from CollectionViewDemos) to the
Brushes sample: a home page with brush-painted icon tiles, and a header plus
cards that show each painted Border next to the properties it sets.

- Match the docs snippets: RoundRectangle 12 on the gradient Borders, and add
  the four-stop LinearGradientBrush from the gradients overview.
- List every predefined brush with an outlined swatch, so light colors stay
  visible.
- Give each CSS gradient a heading and show it on a rounded Border.
- Run the update-brushes timer only while its page is visible.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
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.

1 participant