-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.axaml
More file actions
33 lines (29 loc) · 1.49 KB
/
App.axaml
File metadata and controls
33 lines (29 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<Application xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:LMP"
xmlns:materialIcons="clr-namespace:Material.Icons.Avalonia;assembly=Material.Icons.Avalonia"
x:Class="LMP.App"
RequestedThemeVariant="Dark">
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceInclude Source="/Core/Converters/AppConverters.axaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
<Application.Styles>
<FluentTheme />
<materialIcons:MaterialIconStyles />
<StyleInclude Source="avares://AsyncImageLoader.Avalonia/AdvancedImage.axaml" />
<!-- Наши переопределения (порядок важен!) -->
<!-- 1. ToolTip первым — единственный источник ToolTip template -->
<StyleInclude Source="/UI/Theme/ToolTipTheme.axaml" />
<!-- 2. Theme.axaml подключает: Typography, Buttons, Controls, AppComponents,
PlayerBarStyles -->
<StyleInclude Source="/UI/Theme/Theme.axaml" />
<!-- 3. Дополнительные компоненты -->
<StyleInclude Source="/UI/Theme/LoadingSkeletons.axaml" />
<StyleInclude Source="/UI/Theme/PlaylistCardTemplate.axaml" />
<StyleInclude Source="/UI/Theme/ChipStyles.axaml" />
</Application.Styles>
</Application>