Repository navigation
Redesign BrushesDemos with the gallery design system - #801
Open
jfversluis wants to merge 2 commits into
Open
jfversluis wants to merge 2 commits into
jfversluis wants to merge 2 commits into
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Agent assessment
Self-reported assessment, not an independent review.
Assessed revision:
0d62f5bd3551581b430cd300e5ed9b9cc1d82aac↑ 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/BrushesDemoswith the shared gallery design system from CollectionViewDemos (#793). Every example still paints the sameBorderwith the same brush XAML, so docs readers can compare it to the Brushes docs.What changed
Border, a title, and the property values it sets, such asEndPoint="1,0".Whiteand other light colors stay visible.System.Threading.Timerthat was only disposed in a finalizer is now anIDispatcherTimerthat runs only while the page is visible.LinearGradientBrushfrom the gradients overview (gradient-stops.png). The gradient Borders already useRoundRectangle 12, like the docs.dotnet_bot.pngis the .NET 11 rocket from ControlGallery.Screenshots
iOS light, before and after:
Android dark (Pixel 10), before and after:
Validation