将抽象智能眼睛设为软件图标

This commit is contained in:
tfarcraw 2026-11-20 13:38:52 +08:00
parent edd3201c70
commit d138fd4928
6 changed files with 45 additions and 1 deletions

BIN
BWS.ico

Binary file not shown.

Before

Width:  |  Height:  |  Size: 185 KiB

After

Width:  |  Height:  |  Size: 67 KiB

View File

@ -5,5 +5,8 @@
<FluentTheme.Palettes><ColorPaletteResources x:Key="Dark" Accent="#00B8D4" /></FluentTheme.Palettes> <FluentTheme.Palettes><ColorPaletteResources x:Key="Dark" Accent="#00B8D4" /></FluentTheme.Palettes>
</FluentTheme> </FluentTheme>
<StyleInclude Source="avares://SopHelper.Avalonia/Themes/Styles.axaml" /> <StyleInclude Source="avares://SopHelper.Avalonia/Themes/Styles.axaml" />
<Style Selector=":is(Window)">
<Setter Property="Icon" Value="avares://SopHelper.Avalonia/BWS.ico" />
</Style>
</Application.Styles> </Application.Styles>
</prism:PrismApplication> </prism:PrismApplication>

View File

@ -0,0 +1,39 @@
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512" fill="none" role="img" aria-labelledby="title desc">
<title id="title">智能之眼</title>
<desc id="desc">深蓝圆角底上的抽象科技眼睛,冰蓝色眼廓、分段虹膜与菱形智能核心。</desc>
<defs>
<linearGradient id="surface" x1="64" y1="32" x2="448" y2="488" gradientUnits="userSpaceOnUse">
<stop stop-color="#14263D"/>
<stop offset="0.55" stop-color="#0A1425"/>
<stop offset="1" stop-color="#060D19"/>
</linearGradient>
<linearGradient id="edge" x1="64" y1="40" x2="448" y2="472" gradientUnits="userSpaceOnUse">
<stop stop-color="#607C99" stop-opacity="0.45"/>
<stop offset="0.5" stop-color="#243A53" stop-opacity="0.1"/>
<stop offset="1" stop-color="#45627D" stop-opacity="0.3"/>
</linearGradient>
<linearGradient id="eye" x1="84" y1="196" x2="424" y2="310" gradientUnits="userSpaceOnUse">
<stop stop-color="#D6F7FF"/>
<stop offset="0.48" stop-color="#78E8F5"/>
<stop offset="1" stop-color="#468BEA"/>
</linearGradient>
<linearGradient id="iris" x1="212" y1="196" x2="304" y2="316" gradientUnits="userSpaceOnUse">
<stop stop-color="#BEFAFF"/>
<stop offset="0.52" stop-color="#63DCEB"/>
<stop offset="1" stop-color="#4988E5"/>
</linearGradient>
</defs>
<rect x="8" y="8" width="496" height="496" rx="112" fill="url(#surface)"/>
<rect x="8.75" y="8.75" width="494.5" height="494.5" rx="111.25" stroke="url(#edge)" stroke-width="1.5"/>
<!-- Two open, swept contours keep the silhouette light and precise. -->
<path d="M88 262C130 205 183 168 245 168C307 168 363 204 424 250" stroke="url(#eye)" stroke-width="17" stroke-linecap="round"/>
<path d="M424 250C382 307 329 344 267 344C205 344 149 308 88 262" stroke="url(#eye)" stroke-width="17" stroke-linecap="round"/>
<!-- A deliberately interrupted iris suggests sensing and computation. -->
<path d="M246 193A64 64 0 0 1 319 246" stroke="url(#iris)" stroke-width="12" stroke-linecap="round"/>
<path d="M266 319A64 64 0 0 1 193 266" stroke="url(#iris)" stroke-width="12" stroke-linecap="round"/>
<path d="M315 281A64 64 0 0 1 299 303M197 231A64 64 0 0 1 213 209" stroke="#72DCEB" stroke-width="5" stroke-linecap="round" opacity="0.5"/>
<!-- The four-point core reads as both an optical aperture and intelligence. -->
<path d="M256 224L265 247L288 256L265 265L256 288L247 265L224 256L247 247L256 224Z" fill="url(#iris)"/>
<circle cx="320" cy="204" r="5" fill="#C9F9FF"/>
<circle cx="192" cy="308" r="4" fill="#65CFEA"/>
</svg>

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 185 KiB

After

Width:  |  Height:  |  Size: 67 KiB

View File

@ -22,7 +22,9 @@
<PackageReference Include="Avalonia.Desktop" Version="12.1.5" /> <PackageReference Include="Avalonia.Desktop" Version="12.1.5" />
<PackageReference Include="Avalonia.Themes.Fluent" Version="12.1.5" /> <PackageReference Include="Avalonia.Themes.Fluent" Version="12.1.5" />
<AvaloniaResource Include="Assets/**" /> <AvaloniaResource Include="Assets/**" />
<AvaloniaResource Include="BWS.ico" />
<Content Include="Assets/bws.svg" CopyToOutputDirectory="PreserveNewest" /> <Content Include="Assets/bws.svg" CopyToOutputDirectory="PreserveNewest" />
<Content Include="Assets/app-icon.svg" CopyToOutputDirectory="PreserveNewest" CopyToPublishDirectory="PreserveNewest" />
<Content Include="../../configs/**/*" Link="configs/%(RecursiveDir)%(Filename)%(Extension)" CopyToOutputDirectory="PreserveNewest" /> <Content Include="../../configs/**/*" Link="configs/%(RecursiveDir)%(Filename)%(Extension)" CopyToOutputDirectory="PreserveNewest" />
<Content Include="../../tools/start_d3_lite_local.py" Link="services/start_d3_lite_local.py" CopyToOutputDirectory="PreserveNewest" CopyToPublishDirectory="PreserveNewest" /> <Content Include="../../tools/start_d3_lite_local.py" Link="services/start_d3_lite_local.py" CopyToOutputDirectory="PreserveNewest" CopyToPublishDirectory="PreserveNewest" />
<Content Include="../../models/palm*.onnx;../../models/hand_landmark*.onnx" Link="models/%(Filename)%(Extension)" CopyToOutputDirectory="PreserveNewest" /> <Content Include="../../models/palm*.onnx;../../models/hand_landmark*.onnx" Link="models/%(Filename)%(Extension)" CopyToOutputDirectory="PreserveNewest" />

View File

@ -41,7 +41,7 @@ Type=Application
Name=SopHelper Name=SopHelper
Comment=单相机 SOP 工位检测 Comment=单相机 SOP 工位检测
Exec="$root/run.sh" Exec="$root/run.sh"
Icon=$root/current/Assets/bws.svg Icon=$root/current/Assets/app-icon.svg
Terminal=false Terminal=false
Categories=Utility; Categories=Utility;
StartupNotify=true StartupNotify=true