Danielle Maywood
14d3e300d3
fix: use ANSI colors codes instead of RGB ( #14665 )
...
* chore: add command for showing colors
* fix: use ANSI color codes instead of RGB
* feat: add '--no-color' flag
* fix: revert colors
* chore: change colors
* fix: update golden files
* fix: replace blue with brightBlue
* fix: drop '> ' for unfocused prompts
* fix: run 'make fmt'
* chore: allow disabling color with env flags
* fix: apply fixes from feedback
* fix: run 'make gen'
* fix: refactor janky code
* fix: re-add public function
* fix: re-add init for non-color tests
* fix: move styles to 'init' that can be
* fix: stop overwriting entire DefaultStyles
* fix: make code and field obey --no-color
* fix: rip out '--no-color' due to race condition
We still support `NO_COLOR` env variable through termenv's
`EnvColorProfile`. The reason for the race condition is that
`DefaultStyles` is a global that we shouldn't mutate after `init`
is called, but we have to mutate it after `init` has ran to have
serpent collect the cli flags and env vars for us.
* fix: apply nit
* fix: simplify code && hide command
* fix: newline shouldn't be themed
* fix: appease the linter
2024-09-17 14:21:24 +01:00
..
2024-03-17 09:45:26 -05:00
2023-12-08 12:46:53 -05:00
2024-08-23 21:23:51 +00:00
2024-09-17 14:21:24 +01:00
2024-08-30 18:43:51 +10:00
2024-02-26 10:03:49 -06:00
2024-08-26 12:02:54 +01:00
2024-09-11 12:25:07 +02:00
2024-08-29 14:15:15 +10:00
2024-08-29 14:15:15 +10:00
2024-07-30 10:44:02 -06:00
2024-03-17 09:45:26 -05:00
2024-08-22 15:40:53 +10:00
2024-08-12 18:56:34 +10:00
2024-07-09 09:44:56 +03:00
2024-08-20 14:47:46 +10:00
2024-04-29 14:23:54 -04:00
2024-09-04 08:34:39 +00:00
2024-07-30 10:44:02 -06:00
2024-09-04 14:39:35 +01:00
2024-08-28 02:14:23 +10:00
2024-08-28 02:14:23 +10:00
2024-04-01 09:19:26 -05:00
2024-04-01 09:19:26 -05:00
2024-03-17 09:45:26 -05:00
2024-01-19 15:32:46 +00:00
2024-08-26 12:02:54 +01:00
2024-06-27 05:20:15 -10:00
2024-03-28 13:59:03 -05:00
2024-05-21 13:26:34 -05:00
2024-01-24 14:05:39 +00:00
2024-03-17 09:45:26 -05:00
2024-03-17 09:45:26 -05:00
2023-11-30 19:33:04 -06:00
2024-03-17 09:45:26 -05:00
2024-08-20 14:47:46 +10:00
2023-11-30 19:33:04 -06:00
2024-07-02 09:25:05 -05:00
2024-07-01 16:04:45 -05:00
2024-09-12 14:36:20 +10:00
2024-03-25 15:01:42 -04:00
2024-03-17 09:45:26 -05:00
2024-06-13 10:19:36 +04:00
2024-06-13 10:19:36 +04:00
2024-08-05 16:18:45 +02:00
2024-07-11 15:22:20 +02:00
2024-01-02 20:46:18 +02:00
2024-01-02 20:46:18 +02:00
2024-04-13 14:39:57 -04:00
2024-07-25 16:07:53 -05:00
2024-07-01 16:04:45 -05:00
2024-09-04 08:34:39 +00:00
2024-08-20 14:47:46 +10:00
2024-08-20 14:47:46 +10:00
2024-05-23 07:54:59 -10:00
2024-08-20 14:47:46 +10:00
2024-09-04 14:39:35 +01:00
2024-04-29 14:23:54 -04:00
2024-09-11 14:22:23 +10:00
2024-08-29 21:41:12 +10:00
2024-03-20 16:44:12 +00:00
2024-07-03 15:23:46 +10:00
2024-07-12 11:59:13 -05:00
2024-03-17 09:45:26 -05:00
2024-01-19 15:21:10 +02:00
2024-07-30 10:44:02 -06:00
2024-08-17 11:51:13 +00:00
2024-03-17 09:45:26 -05:00
2024-03-21 14:53:16 +00:00
2024-03-17 09:45:26 -05:00
2024-07-30 10:44:02 -06:00
2024-09-04 14:39:35 +01:00
2024-05-21 13:26:34 -05:00
2024-03-25 15:01:42 -04:00
2024-09-12 14:36:20 +10:00
2024-08-23 21:23:51 +00:00
2024-05-21 13:26:34 -05:00
2024-08-28 13:24:28 -05:00
2024-08-28 13:24:28 -05:00
2024-07-09 17:18:27 +00:00
2024-03-17 09:45:26 -05:00
2024-08-30 18:43:51 +10:00
2024-09-16 19:03:25 -05:00
2024-07-30 10:44:02 -06:00
2024-03-17 09:45:26 -05:00
2024-03-15 13:16:36 +00:00
2024-03-15 13:16:36 +00:00
2024-06-05 08:31:44 +00:00
2024-07-03 15:23:46 +10:00
2024-09-17 14:46:49 +04:00
2024-07-30 10:44:02 -06:00
2024-09-17 14:46:49 +04:00
2024-07-30 10:44:02 -06:00
2024-09-04 14:39:35 +01:00
2024-08-20 14:47:46 +10:00
2024-07-30 10:44:02 -06:00
2024-03-17 09:45:26 -05:00
2024-09-04 14:39:35 +01:00
2024-08-22 11:15:02 +01:00
2024-08-22 11:15:02 +01:00
2024-07-25 16:07:53 -05:00
2024-09-12 14:36:20 +10:00
2024-07-01 16:04:45 -05:00
2024-03-20 10:37:57 -05:00
2024-09-11 12:25:07 +02:00
2024-03-17 09:45:26 -05:00
2024-07-25 16:07:53 -05:00
2024-07-09 11:04:16 -05:00
2024-04-02 11:19:54 -04:00
2024-07-01 16:04:45 -05:00
2024-06-04 11:59:54 +00:00
2024-09-12 14:36:20 +10:00
2024-07-09 14:27:34 +00:00
2023-10-11 09:26:22 -05:00
2024-07-01 16:04:45 -05:00
2024-08-20 14:47:46 +10:00
2024-05-21 13:26:34 -05:00
2024-03-27 08:54:42 +00:00
2024-09-04 14:39:35 +01:00
2024-08-23 21:23:51 +00:00
2024-06-26 09:00:42 +01:00
2024-09-04 08:34:39 +00:00
2024-03-17 09:45:26 -05:00
2024-06-26 09:00:42 +01:00
2024-08-20 14:47:46 +10:00
2024-03-17 09:45:26 -05:00
2024-08-20 14:47:46 +10:00
2024-03-15 11:24:38 -05:00
2024-03-17 09:45:26 -05:00
2024-06-25 10:58:45 -04:00
2024-07-22 17:19:44 +00:00
2024-07-09 13:23:11 -05:00
2024-07-09 13:23:11 -05:00