Repository navigation
fix(themes): adapt to upstream typography and spacing changes (backport #1636) - #1640
Merged
Merged
Conversation
Co-authored-by: Claude Opus 5 (1M context) <[email protected]> Co-authored-by: Copilot Autofix powered by AI <[email protected]> (cherry picked from commit 572ffc3)
5 of 6 tasks
kazo0
approved these changes
Sep 17, 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.
Related issues: unoplatform/Uno.Themes#1709, unoplatform/Uno.Themes#1688
GitHub issue/PR: unoplatform/Uno.Themes#1710, unoplatform/Uno.Themes#1701
PR Type
What is the current behavior?
Updating Uno Themes removes
SimpleFontFamily, causing Simple Toolkit styles to fail during resource resolution. Toolkit also documents density as a fixed spacing unit, whereas upstream now separatesDefaultSpacingfrom the density mode.What is the new behavior?
Compare Toolkit spacing generation against a plain MaterialTheme with identical inputs using Border.Padding probes, and reuse the existing GetDescendants extension in font checks.
Update the existing library and sample Themes pins to
8.0.0-dev.15, replace the nine removed font references withDefaultFontFamily, and useThemeResourcefor the Card, CardContentControl, and Chip font setters. Preserve Divider/NavigationBar lightweight styling keys. Link inherited BaseTheme API usage to the authoritative Uno Themes guides. Keep Toolkit setup, override limitations, and migration actions here; public docs do not reference exact prerelease package builds.The package's nuspec points to upstream
47d42c18, containing all latest functional changes. Upstream HEAD differs only by its 9.0 version bump, which is not yet published. Toolkit remains on its existing10.0-dev.{height}version; no additional major bump or new package dependency.Validation
origin/mainbuilds: Material Desktop 100, Material WebAssembly 113, Simple/Cupertino Desktop 99 each. No suppressions added.git diff --checkpasses.PR Checklist
Other information
Test scope, exact invocation pattern, package provenance, and verification limits are recorded in
specs/themes-compatibility/progress.md.Review follow-up validation
This is an automatic backport of pull request #1636 done by [Mergify](https://mergify.com).