waozi
d40967fc05
Add StyleTokenColor: read registered color tokens at runtime
...
The missing piece for migrating legacy theme getters: apps register named
color tokens through RegisterStylePackVariant, but nothing could read one back
outside the widget cascade. style_pack_source.kry now retains each pack's
token table (a flat 32x64 global; .kry has no nested fixed arrays) and exposes
StyleTokenColor(name) and StyleTokenColorOr(name, fallback) — declared in
style_pack_props — which read the active pack's table and unpack the u32
in-raylib byte order locally (no GetColor dependency, so the style suites link
without a backend).
Downstream, GetThemeBackground()/GetThemeText() calls become
StyleTokenColor("canvas")/StyleTokenColor("text") against the token names the
app already registers — the mechanical path B-001's deletion needs.
Two debugging notes recorded for the plan: an apostrophe in a top-level .kry
comment silently truncates parsing (the tokenizer swallows the rest of the
file as an unterminated char literal — keep prose out of top-level comments),
and nested fixed arrays are a hard parse error.
Gates: generated-runtime-parity-test, fast-test, style-pack-source/registry/
picker/release-startup suites, kss-host-ledger-check, kryon-boundary-check,
refreshed snapshots, plus a functional register/activate/read/fallback test.
2026-09-21 10:24:39 -03:00
..
2026-09-20 19:36:28 -03:00
2026-09-20 19:36:28 -03:00
2026-09-19 14:54:10 -03:00
2026-09-19 14:29:12 -03:00
2026-09-21 09:54:06 -03:00
2026-09-21 02:47:12 -03:00
2026-09-12 10:38:55 -03:00
2026-09-20 19:36:28 -03:00
2026-09-21 02:27:21 -03:00
2026-09-11 23:20:54 -03:00
2026-09-20 19:36:28 -03:00
2026-09-19 12:04:32 -03:00
2026-09-21 01:47:26 -03:00
2026-09-13 05:58:39 -03:00
2026-09-13 05:58:39 -03:00
2026-09-12 23:21:25 -03:00
2026-09-14 08:11:06 -03:00
2026-09-20 19:36:28 -03:00
2026-09-13 01:59:53 -03:00
2026-09-14 17:42:37 -03:00
2026-09-13 02:20:10 -03:00
2026-09-14 02:17:16 -03:00
2026-09-21 02:14:26 -03:00
2026-09-21 02:27:21 -03:00
2026-09-21 01:23:51 -03:00
2026-09-13 02:12:16 -03:00
2026-09-14 00:57:15 -03:00
2026-09-13 02:12:16 -03:00
2026-09-14 11:29:29 -03:00
2026-09-21 01:23:51 -03:00
2026-09-13 04:53:07 -03:00
2026-09-20 13:02:24 -03:00
2026-09-13 02:12:16 -03:00
2026-09-13 12:11:19 -03:00
2026-09-19 12:04:32 -03:00
2026-09-21 02:06:15 -03:00
2026-09-10 13:49:46 -03:00
2026-09-10 13:49:46 -03:00
2026-09-12 11:15:28 -03:00
2026-09-14 07:29:13 -03:00
2026-09-14 07:27:45 -03:00
2026-09-21 03:37:20 -03:00
2026-09-13 23:27:25 -03:00
2026-09-13 06:08:14 -03:00
2026-09-21 00:27:38 -03:00
2026-09-12 23:25:06 -03:00
2026-09-14 10:34:14 -03:00
2026-09-21 01:07:38 -03:00
2026-09-14 10:36:44 -03:00
2026-09-21 01:40:57 -03:00
2026-09-09 20:15:25 -03:00
2026-09-21 03:44:14 -03:00
2026-09-19 00:49:03 -03:00
2026-09-20 19:36:28 -03:00
2026-09-21 03:44:14 -03:00
2026-09-19 11:34:02 -03:00
2026-09-13 04:15:26 -03:00
2026-09-14 10:42:52 -03:00
2026-09-14 10:27:23 -03:00
2026-09-19 14:29:12 -03:00
2026-09-14 11:24:37 -03:00
2026-09-21 03:14:02 -03:00
2026-09-09 23:29:37 -03:00
2026-09-20 19:36:28 -03:00
2026-09-14 17:42:37 -03:00
2026-09-13 01:39:39 -03:00
2026-09-18 23:16:33 -03:00
2026-09-13 05:01:41 -03:00
2026-09-20 12:15:34 -03:00
2026-09-21 00:27:38 -03:00
2026-09-21 03:05:10 -03:00
2026-09-21 01:01:23 -03:00
2026-09-14 00:37:22 -03:00
2026-09-21 03:44:14 -03:00
2026-09-13 14:57:07 -03:00
2026-09-11 23:20:54 -03:00
2026-09-21 00:51:28 -03:00
2026-09-14 11:34:06 -03:00
2026-09-19 11:16:18 -03:00
2026-09-13 21:36:50 -03:00
2026-09-13 12:15:09 -03:00
2026-09-19 11:48:42 -03:00
2026-09-19 11:32:20 -03:00
2026-09-13 01:59:53 -03:00
2026-09-12 19:33:33 -03:00
2026-09-14 10:49:48 -03:00
2026-09-21 01:29:18 -03:00
2026-09-12 23:14:50 -03:00
2026-09-14 06:04:19 -03:00
2026-09-12 23:21:25 -03:00
2026-09-14 08:07:19 -03:00
2026-09-21 00:35:23 -03:00
2026-09-14 10:56:22 -03:00
2026-09-21 03:44:14 -03:00
2026-09-14 05:31:11 -03:00
2026-09-13 22:20:38 -03:00
2026-09-21 00:54:00 -03:00
2026-09-19 19:34:07 -03:00
2026-09-13 04:23:49 -03:00
2026-09-14 08:18:36 -03:00
2026-09-12 23:23:55 -03:00
2026-09-14 08:02:07 -03:00
2026-09-13 04:18:10 -03:00
2026-09-14 05:25:06 -03:00
2026-09-19 15:00:07 -03:00
2026-09-19 15:00:07 -03:00
2026-09-13 02:20:10 -03:00
2026-09-14 09:59:23 -03:00
2026-09-21 10:24:39 -03:00
2026-09-14 00:20:42 -03:00
2026-09-19 00:39:50 -03:00
2026-09-20 23:38:49 -03:00
2026-09-14 12:24:32 -03:00
2026-09-13 21:43:10 -03:00
2026-09-21 00:35:23 -03:00
2026-09-14 00:54:56 -03:00
2026-09-21 00:51:28 -03:00
2026-09-14 10:40:24 -03:00
2026-09-13 06:27:53 -03:00
2026-09-14 11:21:54 -03:00
2026-09-13 05:27:25 -03:00
2026-09-15 10:38:03 -03:00
2026-09-21 03:00:21 -03:00
2026-09-19 12:04:32 -03:00
2026-09-19 15:21:00 -03:00
2026-09-19 13:18:18 -03:00
2026-09-13 01:39:39 -03:00
2026-09-14 06:02:20 -03:00
2026-09-21 00:35:23 -03:00
2026-09-14 10:50:11 -03:00
2026-09-12 23:04:18 -03:00
2026-09-19 10:39:42 -03:00
2026-09-13 04:54:02 -03:00
2026-09-14 08:21:19 -03:00
2026-09-13 22:08:47 -03:00
2026-09-21 00:48:05 -03:00
2026-09-21 03:44:14 -03:00
2026-09-13 00:47:59 -03:00
2026-09-14 05:02:18 -03:00
2026-09-20 19:36:28 -03:00
2026-09-14 10:04:23 -03:00
2026-09-21 10:01:15 -03:00