Improve Avalonia UI and fix Linux build issues#4807
Merged
Conversation
Maxim Buisson (MaxBuisson)
approved these changes
May 21, 2026
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.
Summary
Align the Avalonia UI more closely with the WinUI version across colors, controls, and layout. it also fix linux build issues
Theme & color palette
#191b29,#222534, …) with WinUI's neutralMica-style grays (
#202020,#2D2D2D,#F3F3F3,#FBFBFB, …).SystemFillColor*palette (#FCE100,#6CCB5F,#FF99A4, etc. in dark;#9D5D00,#0F7B0F,#C42B1C, etc. in light) instead of the priorMaterial-flavored hues.
v2 set (
AccentFillColor*,AccentTextFillColor*,TextFillColor*,TextOnAccentFillColor*) with properLight/Dark variants in
Styles.Common.axaml, so accent text matches the checkbox accent and other Fluent-styledcontrols.
Filter pane — Sources tree
and the package name with
Opacity="0.55", only visible whenHasChildrenis true.SourceTreeNode.HasChildrenraisesPropertyChangedonChildrenmutations so the chevron appears reactively assources load.
AccentTextFillColorPrimaryBrush(the new v2 token) for accent text.Package list
BorderThicknesswithBorderBrush=Transparentfor unselected rows — so toggling selection no longer shiftsadjacent rows.
style.
ObservablePackageCollectionnow raisesSelectionStateChangedwhenever aPackageWrapper.IsCheckedtoggles or items are added/removed. The ViewModel recomputesAllPackagesCheckedtotrue/false/null(none/some/all), andIsThreeState="True"on both Select-all CheckBoxes renders theindeterminate dash.