theme: adopt dark palette and distinct pane backgrounds
- Implement official color tokens and theme brushes\n- Style variables pane (surface) vs. history (background)\n- Apply dark input/border tints; ensure text contrast\n- Style functions flyout surface and border
This commit is contained in:
parent
88306f0091
commit
dca25f6d89
2 changed files with 37 additions and 32 deletions
|
@ -26,7 +26,7 @@
|
|||
|
||||
<!-- Left pane: Variables only (Functions moved to flyout) -->
|
||||
<SplitView.Pane>
|
||||
<Grid>
|
||||
<Grid Background="{DynamicResource Brush.Surface}">
|
||||
|
||||
<!-- Variables list with empty-state hint overlay -->
|
||||
<Grid Grid.Row="0">
|
||||
|
@ -68,10 +68,10 @@
|
|||
</SplitView.Pane>
|
||||
|
||||
<!-- Right content: History + Input -->
|
||||
<SplitView.Content>
|
||||
<Grid RowDefinitions="*,Auto">
|
||||
<!-- History -->
|
||||
<Grid Grid.Row="0">
|
||||
<SplitView.Content>
|
||||
<Grid RowDefinitions="*,Auto">
|
||||
<!-- History -->
|
||||
<Grid Grid.Row="0" Background="{DynamicResource ThemeBackgroundBrush}">
|
||||
<ListBox x:Name="HistoryList" ItemsSource="{Binding History}" SelectedIndex="{Binding SelectedHistoryIndex}"
|
||||
AutomationProperties.Name="History list">
|
||||
<ListBox.ItemTemplate>
|
||||
|
@ -139,7 +139,8 @@
|
|||
Placement="BottomEdgeAlignedLeft"
|
||||
Opened="OnFunctionsFlyoutOpened"
|
||||
Closed="OnFunctionsFlyoutClosed">
|
||||
<Border x:Name="FunctionsPanelRoot" Padding="8" MinWidth="360" MaxHeight="420">
|
||||
<Border x:Name="FunctionsPanelRoot" Padding="8" MinWidth="360" MaxHeight="420"
|
||||
Background="{DynamicResource Brush.Surface}" BorderBrush="{DynamicResource Brush.Border}" BorderThickness="1" CornerRadius="6">
|
||||
<ScrollViewer>
|
||||
<StackPanel>
|
||||
<ItemsControl ItemsSource="{x:Static m:FunctionDefinitionItem.DefinedFunctionGroups}">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue