summaryrefslogtreecommitdiff
path: root/plugins/code-modernization/hooks/views/palette.ts
diff options
context:
space:
mode:
authorClaude <noreply@anthropic.com>2026-11-06 00:54:48 +0000
committerClaude <noreply@anthropic.com>2026-11-06 00:54:48 +0000
commit7aba3deae3ff17d032c37e07d2929d1426b34278 (patch)
tree9c482f9acda1599bd2f9bed95a6a46b75e634e80 /plugins/code-modernization/hooks/views/palette.ts
parent5472f5f56e0070feeeb464318b316714fe3e9105 (diff)
parentb8331dd69ab3e132bbf8cd6e89b5d8c1747e21b1 (diff)
Merge remote-tracking branch 'origin/main' into add-plugin/xcodeadd-plugin/xcode
Diffstat (limited to 'plugins/code-modernization/hooks/views/palette.ts')
-rw-r--r--plugins/code-modernization/hooks/views/palette.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/code-modernization/hooks/views/palette.ts b/plugins/code-modernization/hooks/views/palette.ts
new file mode 100644
index 00000000..49abe509
--- /dev/null
+++ b/plugins/code-modernization/hooks/views/palette.ts
@@ -0,0 +1,11 @@
+/**
+ * The colours the pane and the deck draw text in, by the names of Claude Code's own theme. A theme key is drawn
+ * in the person's theme, dark or light, so a green that reads on one background does not vanish on the other; the ANSI
+ * names (`cyan`, `yellow`) are whatever the terminal makes of them, and yellow or cyan text is hard to read on white.
+ */
+export const HEAD = 'suggestion'
+export const GOOD = 'success'
+export const BAD = 'error'
+export const WARN = 'warning'
+/** The one accent: what to do next. */
+export const ACCENT = 'claude'