Juan Denis
ad96423966
feat(themes): hardening — preview validation, registry caching, token wiring (plan 61)
- Validate preview swatches as colors server-side (closes url() smuggling
via POST /import); import tolerates unknown metadata (license, image, modes)
- theme_registry_service: negative caching on fetch failure (TTL-stamped
last-good + 60s failure backoff — no more 15s gallery stalls offline);
drop dead base_url cache key; refresh stale comment
- .env.example: document SERVERKIT_THEMES_REGISTRY_URL/_TTL
- SCSS: route $success/$warning/$danger/$info through --green/--amber/
--red/--cyan (raw twins for color-function call sites), $font-main/$font-mono
through --sans/--mono, scrollbar track through --scrollbar-track
- Fix 5 undefined CSS var consumers (--radius-md/--card-bg/--danger/
--accent-subtle/--accent-soft -> existing tokens)
- Nits: drop dead ThemeStudioTrigger export, dedupe lucide import,
run check-theme-tokens in pre-commit hook
- docs/plans/61_THEMES_HARDENING_PLAN.md
23 backend theme tests pass; check-theme-tokens, lint (0 errors), build green
2026-07-23 09:25:01 -04:00
..
2026-07-09 05:02:54 -04:00
2026-07-08 01:41:22 -04:00
2026-07-03 15:21:23 -04:00
2026-07-01 23:45:22 -04:00
2026-06-15 00:52:30 -04:00
2026-03-23 01:46:41 -04:00
2026-06-12 18:35:35 -04:00
2026-07-02 22:36:34 -04:00
2026-06-23 16:56:13 -04:00
2026-06-01 02:39:05 -04:00
2026-06-01 02:39:05 -04:00
2026-01-22 18:11:22 -05:00
2026-03-04 01:53:46 -05:00
2026-03-04 01:53:46 -05:00
2026-07-09 02:57:23 -04:00
2026-07-18 00:51:21 -04:00
2026-07-18 00:59:19 -04:00
2026-07-07 20:29:25 -04:00
2026-06-22 19:53:23 -04:00
2026-07-08 01:41:31 -04:00
2026-07-07 20:29:25 -04:00
2026-07-09 03:13:54 -04:00
2026-06-22 19:53:23 -04:00
2026-07-08 01:41:31 -04:00
2026-07-03 15:21:48 -04:00
2026-07-09 03:05:08 -04:00
2026-07-09 04:55:53 -04:00
2026-06-23 18:49:04 -04:00
2026-07-09 03:28:08 -04:00
2026-03-23 02:27:52 -04:00
2026-07-09 05:02:54 -04:00
2026-07-08 01:41:43 -04:00
2026-07-15 12:07:14 -04:00
2026-07-02 01:04:03 -04:00
2026-07-21 22:57:33 -04:00
2026-06-23 21:15:16 -04:00
2026-07-07 20:29:31 -04:00
2026-05-05 14:03:31 -04:00
2026-07-01 01:35:44 -04:00
2026-06-19 10:13:50 -04:00
2026-06-19 09:54:40 -04:00
2026-06-23 18:23:47 -04:00
2026-07-22 17:24:36 -04:00
2026-07-08 00:17:55 -04:00
2026-07-08 02:05:39 -04:00
2026-06-15 00:01:41 -04:00
2026-07-03 14:24:15 -04:00
2026-07-03 14:24:03 -04:00
2026-07-03 14:24:02 -04:00
2026-05-31 22:39:57 -04:00
2026-06-19 03:12:07 -04:00
2026-07-22 16:37:08 -04:00
2026-07-22 16:36:58 -04:00
2026-07-01 01:57:07 -04:00
2026-03-23 01:58:28 -04:00
2026-06-22 16:34:17 -04:00
2026-07-09 04:50:16 -04:00
2026-06-22 16:34:17 -04:00
2026-06-22 16:34:17 -04:00
2026-06-23 00:34:55 -04:00
2026-07-22 16:36:58 -04:00
2026-07-08 01:41:54 -04:00
2026-07-04 01:28:16 -04:00
2026-07-04 01:39:53 -04:00
2026-06-24 14:36:08 -04:00
2026-07-09 03:28:08 -04:00
2026-07-04 01:34:54 -04:00
2026-01-28 21:12:55 -05:00
2026-06-22 14:37:44 -04:00
2026-07-11 22:15:10 -04:00
2026-07-01 23:45:22 -04:00
2026-07-11 22:15:10 -04:00
2026-07-01 22:11:09 -04:00
2026-07-20 01:16:16 -04:00
2026-07-22 17:37:20 -04:00
2026-07-03 15:21:34 -04:00
2026-06-21 02:11:47 -04:00
2026-02-10 08:09:38 -05:00
2026-07-08 01:41:13 -04:00
2026-03-23 01:58:28 -04:00
2026-07-08 01:41:13 -04:00
2026-07-07 20:29:24 -04:00
2026-07-04 01:16:29 -04:00
2026-07-11 22:15:10 -04:00
2026-01-21 21:31:57 -05:00
2026-07-03 15:22:05 -04:00
2026-06-19 01:33:45 -04:00
2026-06-19 09:22:18 -04:00
2026-03-04 02:34:49 -05:00
2026-07-22 00:48:13 -04:00
2026-07-22 00:35:33 -04:00
2026-06-21 02:11:47 -04:00
2026-07-03 14:23:50 -04:00
2026-07-03 15:21:23 -04:00
2026-07-01 09:44:48 -04:00
2026-07-03 14:24:15 -04:00
2026-07-10 01:13:14 -04:00
2026-07-04 01:16:29 -04:00
2026-07-04 01:46:34 -04:00
2026-07-10 01:13:14 -04:00
2026-07-10 01:13:14 -04:00
2026-07-04 01:39:53 -04:00
2026-07-07 20:29:24 -04:00
2026-07-03 14:23:11 -04:00
2026-07-08 02:06:01 -04:00
2026-06-06 23:29:22 -04:00
2026-07-02 00:15:10 -04:00
2026-07-11 22:15:10 -04:00
2026-03-23 02:19:33 -04:00
2026-07-03 15:21:09 -04:00
2026-01-22 18:11:22 -05:00
2026-06-21 19:57:02 -04:00
2026-03-04 01:53:46 -05:00
2026-05-31 16:08:32 -04:00
2026-06-19 01:33:45 -04:00
2026-03-04 02:34:49 -05:00
2026-03-04 00:02:52 -05:00
2026-07-22 17:24:36 -04:00
2026-06-15 09:19:56 -04:00
2026-07-04 01:46:34 -04:00
2026-01-19 02:35:18 -05:00
2026-06-18 22:16:00 -04:00
2026-06-23 19:33:44 -04:00
2026-06-23 21:15:16 -04:00
2026-06-22 14:37:44 -04:00
2026-06-15 19:43:00 -04:00
2026-07-22 23:18:33 -04:00
2026-05-01 05:52:11 -04:00
2026-07-08 02:05:39 -04:00
2026-07-02 22:36:34 -04:00
2026-05-01 03:37:33 -04:00
2026-05-01 04:33:08 -04:00
2026-05-01 04:42:30 -04:00
2026-05-01 04:33:08 -04:00
2026-07-10 02:38:46 -04:00
2026-07-08 01:41:43 -04:00
2026-01-25 20:01:07 -05:00
2026-07-22 16:36:58 -04:00
2026-07-11 00:26:40 -04:00
2026-06-20 22:43:38 -04:00
2026-07-08 01:41:43 -04:00
2026-07-03 15:21:23 -04:00
2026-01-22 08:51:31 -05:00
2026-06-23 20:04:04 -04:00
2026-06-12 18:35:35 -04:00
2026-07-22 23:18:33 -04:00
2026-07-08 01:41:31 -04:00
2026-07-08 01:41:31 -04:00
2026-06-23 23:19:41 -04:00
2026-07-01 00:07:00 -04:00
2026-07-08 02:06:01 -04:00
2026-07-08 01:41:22 -04:00
2026-07-01 00:11:18 -04:00
2026-07-10 23:06:09 -04:00
2026-07-03 14:23:29 -04:00
2026-07-09 05:02:54 -04:00
2026-06-22 14:37:44 -04:00
2026-06-21 02:11:47 -04:00
2026-07-07 20:29:31 -04:00
2026-07-08 01:41:13 -04:00
2026-07-01 22:55:11 -04:00
2026-06-22 01:45:15 -04:00
2026-07-21 23:26:13 -04:00
2026-01-22 16:44:06 -05:00
2026-07-20 22:26:19 -04:00
2026-07-23 09:25:01 -04:00
2026-07-23 00:24:00 -04:00
2026-07-23 09:25:01 -04:00
2026-01-18 01:03:56 -05:00
2026-07-09 03:13:54 -04:00
2026-06-20 22:43:38 -04:00
2026-01-17 13:37:40 -05:00
2026-07-09 03:05:08 -04:00
2026-06-19 14:02:24 -04:00
2026-06-20 22:43:38 -04:00
2026-07-04 01:39:53 -04:00
2026-07-01 23:45:22 -04:00
2026-06-21 18:32:25 -04:00
2026-07-03 15:21:23 -04:00