Eric Traut
907b751eab
Add six bundled TUI themes and theme-aware accents ( #46504 )
...
## What changed
- Bundle `ada`, `babbage`, `curie`, `cushman`, `dali`, and `davinci` themes for configuration and the theme picker, preserving precedence and invalid-file warnings for custom themes with the same names.
- Use `codex.accent` for active and selected controls on truecolor and 256-color terminals, retaining existing fallbacks at lower color depths.
- Honor terminal-default diff backgrounds and clear matching gutter fills, allowing `dali` and `davinci` to show diffs without background fills.
- Restrict Windows native palette fallback to `ConsoleWindowClass` so a ConPTY palette is not mistaken for the renderer's colors when OSC probing fails.
## Testing
Add tests and snapshots for theme preview, selection, cancellation, custom-theme precedence, invalid-file warnings, accent color depth, and disabling individual diff fills.
GitOrigin-RevId: 72f3ef08f82626436dd2d80d40210cc77e1a5616
2026-09-18 23:16:04 +00:00
..
2026-09-15 19:19:50 +00:00
2026-09-18 23:15:39 +00:00
2026-09-02 04:06:44 +00:00
2026-09-18 22:53:00 +00:00
2026-08-31 00:20:06 +00:00
2026-09-18 22:52:38 +00:00
2026-09-18 23:15:39 +00:00
2026-09-14 16:15:34 +00:00
2026-09-11 17:43:36 +00:00
2026-09-18 22:51:10 +00:00
2026-09-17 04:53:51 +00:00
2026-09-18 23:15:39 +00:00
2026-09-18 22:40:37 +00:00
2026-08-29 06:05:28 +00:00
2026-09-17 01:31:14 +00:00
2026-09-17 01:31:14 +00:00
2026-09-17 17:49:10 +00:00
2026-09-17 18:20:28 +00:00
2026-09-08 03:15:37 +00:00
2026-08-17 16:58:24 +00:00
2026-09-03 01:46:37 +00:00
2026-09-18 23:16:04 +00:00
2026-09-07 04:59:12 +00:00
2026-09-18 23:16:04 +00:00
2026-09-17 04:53:51 +00:00
2026-09-02 18:03:55 +00:00
2026-09-17 01:28:01 +00:00
2026-08-24 20:04:52 +00:00
2026-09-18 23:16:04 +00:00
2026-09-16 00:12:59 +00:00
2026-09-03 16:21:10 +00:00
2026-09-15 19:19:50 +00:00
2026-09-15 19:19:50 +00:00
2026-09-16 02:57:38 +00:00
2026-09-07 20:25:30 +00:00
2026-09-16 01:50:27 +00:00
2026-09-08 05:39:17 +00:00
2026-09-17 03:27:21 +00:00
2026-09-17 04:53:51 +00:00
2026-09-18 22:53:00 +00:00
2026-09-17 03:27:21 +00:00
2026-08-26 21:39:05 +00:00
2026-09-04 01:46:55 +00:00
2026-09-04 01:46:55 +00:00
2026-09-18 22:40:37 +00:00
2026-09-18 22:40:37 +00:00
2026-09-14 15:30:22 +00:00
2026-08-31 00:20:06 +00:00
2026-09-02 21:50:51 +00:00
2026-09-17 03:27:21 +00:00
2026-09-17 02:46:49 +00:00
2026-09-14 16:15:34 +00:00
2026-09-04 20:38:08 +00:00
2026-09-04 20:38:08 +00:00
2026-09-03 00:45:48 +00:00
2026-09-11 06:44:40 +00:00
2026-09-12 00:20:30 +00:00
2026-09-08 19:06:42 +00:00
2026-09-11 17:43:36 +00:00
2026-09-02 04:20:38 +00:00
2026-09-18 23:05:31 +00:00
2026-09-18 23:05:31 +00:00
2026-09-17 05:26:45 +00:00
2026-09-04 03:30:21 +00:00
2026-09-04 03:30:21 +00:00
2026-09-10 21:41:39 +00:00
2026-09-18 23:16:04 +00:00
2026-08-31 21:36:49 +00:00
2026-09-02 04:20:38 +00:00
2026-09-15 21:19:08 +00:00
2026-09-17 04:53:51 +00:00
2026-09-17 04:53:51 +00:00
2026-09-03 16:21:10 +00:00
2026-09-03 16:21:10 +00:00
2026-09-10 00:57:33 +00:00
2026-09-10 00:57:33 +00:00
2026-09-04 00:31:51 +00:00
2026-09-12 23:54:20 +00:00
2026-09-03 16:21:10 +00:00
2026-09-08 03:15:37 +00:00
2026-09-13 16:14:41 +00:00
2026-09-17 01:31:14 +00:00
2026-09-17 01:31:14 +00:00
2026-09-18 22:51:10 +00:00
2026-08-24 21:39:48 +00:00
2026-09-16 22:14:53 +00:00
2026-09-16 22:14:53 +00:00
2026-09-05 20:39:46 +00:00
2026-09-11 00:59:27 +00:00
2026-09-11 00:59:27 +00:00
2026-09-17 01:28:01 +00:00
2026-09-17 01:28:01 +00:00
2026-09-12 23:54:20 +00:00
2026-09-16 23:26:00 +00:00
2026-08-27 23:10:10 +00:00
2026-09-18 23:15:39 +00:00
2026-08-25 20:51:34 +00:00
2026-08-17 17:10:16 +00:00
2026-08-25 10:17:03 +00:00
2026-09-07 00:56:16 +00:00
2026-09-07 00:56:16 +00:00
2026-08-14 20:30:30 +00:00
2026-09-15 19:01:41 +00:00
2026-09-03 05:24:31 +00:00
2026-09-07 03:19:57 +00:00
2026-09-11 16:20:50 +00:00
2026-09-15 21:19:08 +00:00
2026-09-02 22:45:19 +00:00
2026-09-11 16:20:50 +00:00
2026-09-16 22:14:53 +00:00
2026-09-16 22:14:53 +00:00
2026-09-16 22:14:53 +00:00
2026-09-17 14:47:42 +00:00
2026-09-07 00:56:16 +00:00
2026-09-17 02:46:49 +00:00
2026-09-04 20:38:08 +00:00
2026-08-25 17:17:01 +00:00
2026-08-17 22:44:37 +00:00
2026-09-17 02:46:49 +00:00
2026-09-07 04:59:12 +00:00
2026-09-17 04:53:51 +00:00
2026-09-11 03:10:55 +00:00
2026-09-16 00:21:49 +00:00
2026-08-17 17:10:16 +00:00
2026-09-18 22:52:38 +00:00
2026-09-06 07:31:40 +00:00
2026-09-17 02:00:43 +00:00
2026-09-02 04:20:38 +00:00
2026-09-18 23:05:31 +00:00
2026-08-14 20:38:52 +00:00
2026-08-14 20:38:52 +00:00
2026-09-08 21:41:02 +00:00
2026-09-18 23:16:04 +00:00
2026-09-08 21:41:02 +00:00
2026-09-08 21:41:02 +00:00
2026-09-10 22:55:04 +00:00
2026-08-24 02:46:56 +00:00
2026-09-03 06:02:25 +00:00
2026-09-02 02:09:35 +00:00
2026-09-12 20:22:47 +00:00
2026-08-25 22:05:48 +00:00
2026-09-08 03:15:37 +00:00
2026-08-25 12:20:41 +00:00
2026-08-25 12:20:41 +00:00
2026-08-13 00:30:08 +00:00
2026-09-11 23:28:38 +00:00
2026-09-18 22:51:10 +00:00
2026-09-18 23:16:04 +00:00
2026-09-18 23:16:04 +00:00
2026-09-11 16:20:50 +00:00
2026-09-11 16:20:50 +00:00
2026-09-18 22:40:37 +00:00
2026-09-18 22:51:10 +00:00
2026-09-18 22:51:10 +00:00
2026-09-11 21:59:01 +00:00
2026-09-11 17:43:36 +00:00
2026-08-15 17:30:13 +00:00
2026-09-15 19:13:08 +00:00
2026-09-11 03:10:55 +00:00
2026-09-11 03:10:55 +00:00
2026-09-16 03:43:59 +00:00
2026-08-25 20:51:34 +00:00
2026-09-07 23:52:29 +00:00
2026-09-16 03:43:59 +00:00
2026-08-30 00:42:00 +00:00
2026-09-17 18:20:28 +00:00
2026-09-17 18:20:28 +00:00
2026-09-08 23:37:26 +00:00
2026-09-05 18:06:26 +00:00
2026-09-05 18:06:26 +00:00