fix console windows
This commit is contained in:
BIN
assets/icon.ico
BIN
assets/icon.ico
Binary file not shown.
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 35 KiB |
BIN
assets/icon.png
BIN
assets/icon.png
Binary file not shown.
|
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 68 KiB |
@@ -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 |
@@ -1,3 +1,4 @@
|
||||
#![windows_subsystem = "windows"]
|
||||
use chrono::{Local, Timelike};
|
||||
|
||||
slint::slint! {
|
||||
|
||||
Reference in New Issue
Block a user