Добавлен проект UI

This commit is contained in:
2026-01-07 22:33:42 +03:00
parent b6de0543b7
commit ca5d912c9c
21 changed files with 1188 additions and 4 deletions

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
>
<!-- Размеры (Tokens) -->
<x:Double x:Key="LatticeSplitterThickness">4.0</x:Double>
<x:Double x:Key="LatticePaneHeaderHeight">32.0</x:Double>
<CornerRadius x:Key="LatticePaneCornerRadius">4</CornerRadius>
<Thickness x:Key="LatticePaneMargin">1</Thickness>
<!-- Акцентный цвет (статичный токен) -->
<SolidColorBrush x:Key="LatticeActiveHeaderBrush" Color="{ThemeResource SystemAccentColor}"/>
<!-- Правильная привязка системных кистей для поддержки смены тем (Dark/Light) -->
<ResourceDictionary.ThemeDictionaries>
<ResourceDictionary x:Key="Default">
<StaticResource x:Key="LatticePaneBackground" ResourceKey="LayerFillColorDefaultBrush"/>
<StaticResource x:Key="LatticePaneBorderBrush" ResourceKey="CardStrokeColorDefaultBrush"/>
<StaticResource x:Key="LatticePaneHeaderBackground" ResourceKey="LayerOnSecondaryFillColorDefaultBrush"/>
</ResourceDictionary>
<!-- Можно добавить специфические правки для HighContrast, если нужно -->
</ResourceDictionary.ThemeDictionaries>
</ResourceDictionary>