fix console windows

This commit is contained in:
Julian Freeman
2026-03-01 01:08:53 -04:00
parent cb9088e8b0
commit d33a16708a
4 changed files with 18 additions and 17 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 68 KiB

View File

@@ -1,25 +1,25 @@
<svg width="512" height="512" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg">
<!-- 外层发光环 -->
<circle cx="256" cy="256" r="240" fill="#042a1d" stroke="#05C46B" stroke-width="12"/>
<!-- 外层边框:回归深色系,使用碳黑色 (#1e272e) 和纯黑边框 -->
<circle cx="256" cy="256" r="240" fill="#1e272e" stroke="#000000" stroke-width="12"/>
<!-- 内部核心层:改用稍浅一点的墨绿色 (#07614e) 增加层次感 -->
<circle cx="256" cy="256" r="228" fill="#07614e" stroke="#0BE881" stroke-width="2" stroke-opacity="0.4"/>
<!-- 内部核心层:不再是纯白,而是有质感的白色,增加层次感 -->
<circle cx="256" cy="256" r="228" fill="#f4f4f4" stroke="#a4b0be" stroke-width="2"/>
<!-- 刻度 (12, 3, 6, 9) -->
<rect x="253" y="45" width="6" height="15" rx="3" fill="#0BE881" />
<rect x="253" y="452" width="6" height="15" rx="3" fill="#0BE881" />
<rect x="45" y="253" width="15" height="6" rx="3" fill="#0BE881" />
<rect x="452" y="253" width="15" height="6" rx="3" fill="#0BE881" />
<!-- 刻度 (12, 3, 6, 9):改用深色,增加稳重感 -->
<rect x="253" y="45" width="6" height="15" rx="3" fill="#2f3542" />
<rect x="253" y="452" width="6" height="15" rx="3" fill="#2f3542" />
<rect x="45" y="253" width="15" height="6" rx="3" fill="#2f3542" />
<rect x="452" y="253" width="15" height="6" rx="3" fill="#2f3542" />
<!-- 时针 (指向10点) -->
<line x1="256" y1="256" x2="160" y2="200" stroke="#FFFFFF" stroke-width="14" stroke-linecap="round" />
<!-- 时针 (指向10点):使用深黑色 (#1e272e) -->
<line x1="256" y1="256" x2="160" y2="200" stroke="#1e272e" stroke-width="14" stroke-linecap="round" />
<!-- 分针 (指向2点稍长) -->
<line x1="256" y1="256" x2="385" y2="180" stroke="#BBBBBB" stroke-width="10" stroke-linecap="round" />
<!-- 分针 (指向2点稍长):使用深蓝色调的灰色 (#2f3542) -->
<line x1="256" y1="256" x2="385" y2="180" stroke="#2f3542" stroke-width="10" stroke-linecap="round" />
<!-- 秒针 (指向约7点方向亮红色,在绿底上非常醒目) -->
<line x1="260" y1="242" x2="210" y2="426" stroke="#FF3F34" stroke-width="4" stroke-linecap="round" />
<!-- 秒针 (指向约7点方向):经典的亮红色,在底上最具辨识度 -->
<line x1="260" y1="242" x2="210" y2="426" stroke="#ff3f34" stroke-width="4" stroke-linecap="round" />
<!-- 中心轴:背景色同步更新 -->
<circle cx="256" cy="256" r="10" fill="#07614e" stroke="#FFFFFF" stroke-width="4"/>
<!-- 中心轴 -->
<circle cx="256" cy="256" r="10" fill="#f4f4f4" stroke="#1e272e" stroke-width="4"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -1,3 +1,4 @@
#![windows_subsystem = "windows"]
use chrono::{Local, Timelike};
slint::slint! {