Skip to content

Commit 0f35edf

Browse files
committed
optimize icon
1 parent 4518b0d commit 0f35edf

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

src/XamlViewer/Resources/DataTemplates/XamlSelection.xaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,16 @@
2626
<Viewbox Width="12" Height="12">
2727
<controls:DrawingIcon>
2828
<controls:DrawingIcon.Drawing>
29-
<GeometryDrawing Brush="#812DAB" Geometry="M0,0 H3V8 H13V1 H14V2 H15V3 H16V16 H0 M8,0 H11V6 H8" />
29+
<DrawingGroup>
30+
<GeometryDrawing Brush="#005198" Geometry="M0,0 L6,0 6,1 3,1 3,5 9,5 9,1 8,1 8,0 10,0 10,1 11,1 11,2 10,2 10,6 2,6 2,1 1,1 1,11 11,11 11,2 12,2 12,12 0,12 z" />
31+
<GeometryDrawing Brush="#FF5400" Geometry="M2,9 L7,9 7,10 2,10 z M2,7 L10,7 10,8 2,8 z M6,0 L8,0 8,4 6,4 z" />
32+
</DrawingGroup>
3033
</controls:DrawingIcon.Drawing>
3134
<controls:DrawingIcon.HDPIDrawing>
32-
<GeometryDrawing Brush="#812DAB" Geometry="M0,0 H3V8 H13V1 L16,3 V16 H0 M8,0 H11V6 H8" />
35+
<DrawingGroup>
36+
<GeometryDrawing Brush="#005198" Geometry="M1,1 L1,11 11,11 11,2.3 10,1.36 10,6 2,6 2,1 z M0,0 L6,0 6,1 3,1 3,5 9,5 9,1 8,1 8,0 10,0 12,2 12,12 0,12 z" />
37+
<GeometryDrawing Brush="#FF5400" Geometry="M2,9 L7,9 7,10 2,10 z M2,7 L10,7 10,8 2,8 z M6,0 L8,0 8,4 6,4 z" />
38+
</DrawingGroup>
3339
</controls:DrawingIcon.HDPIDrawing>
3440
</controls:DrawingIcon>
3541
</Viewbox>

src/XamlViewer/Views/ToolbarControl.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@
151151
<Button Width="30" ToolTip="Compile (F5)"
152152
Command="{Binding ApplicationCommands.CompileCommand}"
153153
Style="{StaticResource {x:Static themes:ResourceKeys.ToolbarButtonStyleKey}}">
154-
<Path Fill="Green" Data="M0,0 L10,7 0,14 z"/>
154+
<Path Fill="#1CC220" Data="M0,0 L10,7 0,14 z"/>
155155
</Button>
156156
</StackPanel>
157157
</UserControl>

0 commit comments

Comments
 (0)