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-06 18:06:39 -03:00
2026-08-30 13:44:51 -03:00
2026-09-21 01:47:26 -03:00
2026-09-03 18:47:10 -03:00
2026-09-08 12:00:14 -03:00
2026-08-19 17:19:08 -03:00
2026-09-10 19:33:49 -03:00
2026-09-20 20:12:51 -03:00
2026-08-19 17:19:08 -03:00
2026-09-12 22:39:36 -03:00
2026-07-09 15:42:55 -03:00
2026-09-12 21:57:08 -03:00
2026-09-11 23:20:54 -03:00
2026-09-08 12:00:14 -03:00
2026-09-11 23:52:06 -03:00
2026-09-08 10:22:11 -03:00
2026-08-16 20:05:20 -03:00
2026-09-12 18:43:05 -03:00
2026-09-16 00:11:38 -03:00
2026-08-01 09:59:24 -03:00
2026-09-06 11:36:36 -03:00
2026-08-30 03:34:30 -03:00
2026-09-05 02:00:13 -03:00
2026-08-29 16:15:29 -03:00
2026-08-27 23:10:32 -03:00
2026-09-08 00:21:03 -03:00
2026-08-16 21:10:35 -03:00
2026-08-29 17:22:01 -03:00
2026-08-23 00:13:59 -03:00
2026-08-23 00:13:59 -03:00
2026-09-05 11:26:28 -03:00
2026-08-15 11:24:10 -05:00
2026-09-06 16:13:35 -03:00
2026-08-23 00:13:59 -03:00
2026-09-19 15:59:49 -03:00
2026-08-27 23:10:32 -03:00
2026-08-19 14:01:25 -03:00
2026-08-23 00:13:59 -03:00
2026-08-21 18:55:17 -03:00
2026-09-05 02:00:13 -03:00
2026-09-05 07:52:03 -03:00
2026-09-12 18:43:05 -03:00
2026-09-21 09:54:06 -03:00
2026-08-16 17:13:46 -03:00
2026-09-20 00:36:20 -03:00
2026-08-16 20:35:15 -03:00
2026-09-20 19:36:28 -03:00
2026-09-21 10:01:15 -03:00
2026-07-20 11:25:19 -03:00
2026-09-13 02:57:22 -03:00
2026-08-19 17:19:08 -03:00
2026-08-29 11:36:38 -03:00
2026-09-08 12:00:14 -03:00
2026-08-19 21:17:35 -03:00
2026-08-23 00:13:59 -03:00
2026-08-23 00:13:59 -03:00
2026-09-13 22:20:38 -03:00
2026-08-31 11:36:18 -03:00
2026-09-06 18:06:39 -03:00
2026-09-06 16:13:35 -03:00
2026-09-06 16:13:35 -03:00
2026-08-25 23:01:10 -03:00
2026-09-20 19:36:28 -03:00
2026-09-20 19:36:28 -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-21 09:54:06 -03:00
2026-09-21 02:47:12 -03:00
2026-09-20 19:36:28 -03:00
2026-09-20 19:36:28 -03:00
2026-09-21 01:47:26 -03:00
2026-09-15 18:38:13 -03:00
2026-09-15 18:38:13 -03:00
2026-09-20 19:36:28 -03:00
2026-09-15 18:38:13 -03:00
2026-09-15 18:38:13 -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-20 23:33:00 -03:00
2026-09-15 18:38:13 -03:00
2026-09-15 18:38:13 -03:00
2026-09-21 01:23:51 -03:00
2026-09-15 18:38:13 -03:00
2026-09-15 18:38:13 -03:00
2026-09-21 02:06:15 -03:00
2026-09-15 18:38:13 -03:00
2026-09-21 03:37:20 -03:00
2026-09-21 03:37:20 -03:00
2026-09-15 18:38:13 -03:00
2026-09-15 18:38:13 -03:00
2026-09-21 01:07:38 -03:00
2026-09-21 01:40:57 -03:00
2026-09-21 03:44:14 -03:00
2026-09-21 03:44:14 -03:00
2026-09-15 18:38:13 -03:00
2026-09-19 14:54:10 -03:00
2026-09-21 03:14:02 -03:00
2026-09-20 19:36:28 -03:00
2026-09-15 18:38:13 -03:00
2026-09-15 18:38:13 -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-21 03:44:14 -03:00
2026-09-21 00:51:28 -03:00
2026-09-15 18:38:13 -03:00
2026-09-15 18:38:13 -03:00
2026-09-21 01:29:18 -03:00
2026-09-15 18:38:13 -03:00
2026-09-15 18:38:13 -03:00
2026-09-21 00:35:23 -03:00
2026-09-21 03:44:14 -03:00
2026-09-15 18:38:13 -03:00
2026-09-21 00:54:00 -03:00
2026-09-15 18:38:13 -03:00
2026-09-15 18:38:13 -03:00
2026-09-15 18:38:13 -03:00
2026-09-19 15:00:07 -03:00
2026-09-15 18:38:13 -03:00
2026-09-21 10:24:39 -03:00
2026-09-15 18:38:13 -03:00
2026-09-20 23:38:49 -03:00
2026-09-21 00:35:23 -03:00
2026-09-21 00:51:28 -03:00
2026-09-15 18:38:13 -03:00
2026-09-15 18:38:13 -03:00
2026-09-21 03:00:21 -03:00
2026-09-15 18:38:13 -03:00
2026-09-21 00:35:23 -03:00
2026-09-15 18:38:13 -03:00
2026-09-15 18:38:13 -03:00
2026-09-21 00:48:05 -03:00
2026-09-21 03:44:14 -03:00
2026-09-15 18:38:13 -03:00
2026-09-21 10:01:15 -03:00
2026-08-30 12:10:06 -03:00