Uploaded February 2020 | Updated November 2026, 4 hours ago
Support me in my journey to giving back to the industry all my knowledge and helping the world with what I do. Spreading knowledge to those who cannot afford an education, and helping those who want to better themselves.
Support what I do and pay for me to survive
angelsix.com/donate
Merchandise
teespring.com/stores/angelsix
My Setup & Recommendations
amazon.co.uk/shop/angelsix
Live Chat at Discord
discordapp.com/invite/eHr5BMk
Source Code
github.com/angelsix
Support me in my journey to giving back to the industry all my knowledge and helping the world with what I do. Spreading knowledge to those who cannot afford an education, and helping those who want to better themselves.
Support what I do and pay for me to survive
angelsix.com/donate
Merchandise
teespring.com/stores/angelsix
My Setup & Recommendations
amazon.co.uk/shop/angelsix
Live Chat at Discord
discordapp.com/invite/eHr5BMk
Source Code
github.com/angelsix
![One Scale To Rule Them All 💍 in Avalonia theme
Last week I released the Avalonia theme engine and a load of you jumped straight on it. So this is the follow-up, covering everything I have added since.
Along the way I build a settings page that rewrites the theme at runtime, wire the tree view and the colour pickers that Avalonia 12 added into our engine, and chase down every control that was not correctly data bound. The whole theme now scales from a single value. Part of the series on building a custom Avalonia UI theme from scratch.
📌 WHAT YOULL LEARN
• How a single padding value can change the spacing of every control at once
• Why one base size can scale the entire UI without any render transforms
• How to switch a whole theme between square and rounded corners at runtime
• How the tree view and colour pickers from Avalonia 12 slot into a custom engine
• How to swap every font in the UI from one data bound property
• Why deleting thousands of duplicate lines made the layout bugs obvious
• How to build the next theme from a skeleton application
⏱ TIMESTAMPS
[0:14] - The theme engine is out
[0:19] - What is new in this revision
[0:43] - Why Avalonia themes stagnate
[3:17] - The theme settings page
[3:39] - Universal spacing at runtime
[4:47] - Base size scales everything
[7:09] - Making the whole UI square
[7:32] - Dark and light palettes
[8:02] - Bugs the settings page exposed
[8:48] - Changing every font at once
[9:24] - Table view and colour pickers
[10:10] - Building a skeleton theme
[11:28] - What theme comes next
🔗 LINKS & RESOURCES
▶ Full Avalonia Themes Playlist: https://www.youtube.com/playlist?list=PLrW43fNmjaQVE2vDBeWD8QYIm06w6bKyO
▶ Source Code (AvaloniaThemeLab): https://github.com/angelsix/youtube/tree/develop/AvaloniaThemeLab
▶ GitHub: https://github.com/angelsix
▶ Website: https://www.angelsix.com
📚 SERIES - Avalonia UI Theming
▶ Full series: https://www.youtube.com/playlist?list=PLrW43fNmjaQVE2vDBeWD8QYIm06w6bKyO
▶ 18 - Checkbox Control Deep Dive - https://www.youtube.com/watch?v=uIimnwjITT0
▶ 19 - Designing a Theme System From Scratch - https://www.youtube.com/watch?v=I5halHoNfH0
▶ 20 - Button Spinner XAML Anatomy - https://www.youtube.com/watch?v=WMaTbXkvm9g
▶ 21 - Buttons - https://www.youtube.com/watch?v=oKjk6pyyARI
▶ 22 - Hand Coded From Scratch - https://www.youtube.com/watch?v=rUKlQnjU0tc
▶ 23 - This Video - The new features, the runtime settings page, and what comes next
#avalonia #avaloniaui #xaml #csharp #dotnet #theming #desktopapp #mvvm One Scale To Rule Them All 💍 in Avalonia theme](https://i.ytimg.com/vi/jmIz2faBA1c/mqdefault.jpg)









