Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions src/HttpFileServer/Views/ShellView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,39 @@
<Setter Property="BorderBrush" Value="{DynamicResource PanelBorderBrush}" />
<Setter Property="HorizontalGridLinesBrush" Value="{DynamicResource PanelBorderBrush}" />
<Setter Property="VerticalGridLinesBrush" Value="{DynamicResource PanelBorderBrush}" />
<Setter Property="RowStyle">
<Setter.Value>
<Style TargetType="DataGridRow">
<Setter Property="Background" Value="{DynamicResource PanelBackgroundBrush}" />
<Setter Property="Foreground" Value="{DynamicResource WindowForegroundBrush}" />
<Style.Triggers>
<Trigger Property="IsSelected" Value="True">
<Setter Property="Background" Value="{DynamicResource AccentBrushSubtle}" />
<Setter Property="Foreground" Value="White" />
</Trigger>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Background" Value="{DynamicResource AccentBrushSubtle}" />
</Trigger>
</Style.Triggers>
</Style>
</Setter.Value>
</Setter>
<Setter Property="CellStyle">
<Setter.Value>
<Style TargetType="DataGridCell">
<Setter Property="Background" Value="Transparent" />
<Setter Property="Foreground" Value="{DynamicResource WindowForegroundBrush}" />
<Setter Property="BorderBrush" Value="Transparent" />
<Style.Triggers>
<Trigger Property="IsSelected" Value="True">
<Setter Property="Background" Value="Transparent" />
<Setter Property="Foreground" Value="White" />
<Setter Property="BorderBrush" Value="Transparent" />
</Trigger>
</Style.Triggers>
</Style>
</Setter.Value>
</Setter>
</Style>
<!-- Themed ListBox for dark mode: use panel background and accent selection -->
<Style TargetType="ListBox">
Expand Down