Update watch face: modular refactor + OWM/Solar/background + codegen tools

- Split render into FieldTable/Fields/Icons/Layout/Settings modules
- Add Fenix8V3Background, Owm (weather), Solar modules
- Add tools/ generators (gen_fields/gen_icons/gen_themes/gen_preview_svg)
- Tune README/manifest/strings/settings
This commit is contained in:
2026-09-10 07:10:55 +08:00
parent 52346bdd09
commit 4d96ab0912
23 changed files with 1549 additions and 344 deletions

View File

@@ -1,8 +1,17 @@
// AUTO-GENERATED by tools/gen_themes.py from design/watchface-*.svg.
// Do not edit by hand -- change the design kit and re-run the generator.
// ⚠️ 本文件由 tools/gen_themes.py design/watchface-*.svg 自动生成,请勿手改。
// 要改配色就改设计稿里的 SVG然后重新跑一遍生成器。
//
// ringTop/ringBottom lit colour per tick, index 0 nearest 12 / 6 o'clock
// hours/minutes 11-stop vertical gradient of the time digits, top -> bottom
// 七套主题的全部颜色数据。各数组的下标就是主题序号0=Ember … 6=Kelp
//
// RINGTOP/RINGBOTTOM 每根刻度点亮时的颜色,各 21 项。
// 下标 0 是最靠近 12 点 / 6 点的那根。
// 这是从设计稿里**逐根取样**的实测值,不是插值近似。
// HOURS/MINUTES 时间数字的竖向渐变,各 11 个停止点,从上到下。
// TICKOFF 未点亮刻度的颜色
// ANCHORDOT 四个锚点圆点
// BANDFILL/BANDTEXT 日期带的底色 / 文字色
// ACCENT 图标与底部标签
// TEXTPRIMARY 各项数值
import Toybox.Lang;
module Themes {