Skip to content

Commit

Permalink
feat(theme): use generic theme
Browse files Browse the repository at this point in the history
  • Loading branch information
giard-alexandre committed May 9, 2024
1 parent 9f5cce9 commit 61d7324
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="Avalonia" Version="11.0.10" />
<PackageVersion Include="Avalonia.Controls.TreeDataGrid" Version="11.0.2" />
<PackageVersion Include="Avalonia.Controls.TreeDataGrid" Version="11.0.10" />
<PackageVersion Include="Avalonia.Desktop" Version="11.0.10" />
<PackageVersion Include="Avalonia.Themes.Fluent" Version="11.0.10" />
<PackageVersion Include="Avalonia.Fonts.Inter" Version="11.0.10" />
Expand Down
1 change: 0 additions & 1 deletion samples/SampleApp/App.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

<Application.Styles>
<FluentTheme />
<!-- <StyleInclude Source="avares://Avalonia.Controls.TreeDataGrid/Themes/Fluent.axaml"/> -->
<StyleInclude Source="avares://DynamicTreeDataGrid/Themes/Generic.axaml"/>

</Application.Styles>
Expand Down
4 changes: 1 addition & 3 deletions src/DynamicTreeDataGrid/Themes/Generic.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@
</Border>
</Design.PreviewWith>

<!-- TODO: Use the Generic style once it's exposed. -->
<!-- <StyleInclude Source="avares://Avalonia.Controls.TreeDataGrid/Themes/Generic.axaml"/> -->
<StyleInclude Source="avares://Avalonia.Controls.TreeDataGrid/Themes/Fluent.axaml" />
<StyleInclude Source="avares://Avalonia.Controls.TreeDataGrid/Themes/Generic.axaml"/>

<Style Selector="FlyoutPresenter.NoPadding">
<Setter Property="Padding" Value="0" />
Expand Down

0 comments on commit 61d7324

Please sign in to comment.