Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
Docs: Remove `HINT_BOLD` from style guide
Maximilian Roosc574e168dc62
diff --git a/CLAUDE.md b/CLAUDE.mdindex 9e603d171..77c84e59a 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -182,6 +182,7 @@ Six canonical message patterns with their emojis:3. **Errors**: β + red text (failures, invalid states)4. **Warnings**: π‘ + yellow text (non-blocking issues)5. **Hints**: π‘ + dimmed text (actionable suggestions, tips for user)+ - Keep hints uniformly dimmed - don't use `HINT_BOLD` for emphasis (bold+dim renders inconsistently across terminals)6. **Info**: βͺ + unstyled text (neutral status, system feedback, metadata)- Use `output::info()` for primary status (unstyled)- Add `HINT` style manually for supplementary/dimmed metadata@@ -265,7 +266,7 @@ Style constants defined in `src/styling/constants.rs`:- `WARNING`: Yellow (warnings)- `WARNING_BOLD`: Yellow + bold- `HINT`: Dimmed (hints, secondary information)-- `HINT_BOLD`: Dimmed + bold+- `HINT_BOLD`: Dimmed + bold (avoid - bold+dim renders inconsistently)- `CURRENT`: Magenta + bold (current worktree)- `ADDITION`: Green (diffs, additions)- `DELETION`: Red (diffs, deletions)diff --git a/src/commands/config.rs b/src/commands/config.rsindex a4be86eee..7964c70e4 100644--- a/src/commands/config.rs+++ b/src/commands/config.rs@@ -6,8 +6,8 @@ use worktrunk::git::Repository;use worktrunk::path::format_path_for_display;use worktrunk::shell::Shell;use worktrunk::styling::{- AnstyleStyle, CYAN, GREEN, GREEN_BOLD, HINT, HINT_BOLD, HINT_EMOJI, INFO_EMOJI, WARNING,- WARNING_EMOJI, format_toml, format_with_gutter,+ AnstyleStyle, CYAN, GREEN, GREEN_BOLD, HINT, HINT_EMOJI, INFO_EMOJI, WARNING, WARNING_EMOJI,+ format_toml, format_with_gutter,};use super::configure_shell::{ConfigAction, scan_shell_configs};@@ -259,7 +259,7 @@ fn render_shell_status(out: &mut String) -> anyhow::Result<()> {any_not_configured = true;writeln!(out,- "{HINT_EMOJI} {HINT}Not configured completions for {HINT_BOLD}{shell}{HINT_BOLD:#}{HINT} @ {completion_display}{HINT:#}"+ "{HINT_EMOJI} {HINT}Not configured completions for {shell} @ {completion_display}{HINT:#}")?;}}@@ -268,7 +268,7 @@ fn render_shell_status(out: &mut String) -> anyhow::Result<()> {any_not_configured = true;writeln!(out,- "{HINT_EMOJI} {HINT}Not configured {what} for {HINT_BOLD}{shell}{HINT_BOLD:#}{HINT} @ {path}{HINT:#}"+ "{HINT_EMOJI} {HINT}Not configured {what} for {shell} @ {path}{HINT:#}")?;}_ => {} // Added/Created won't appear in dry_run modediff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_partial_shell_config_shows_hint.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_partial_shell_config_shows_hint.snapindex fc00a5a80..66bad7d2b 100644--- a/tests/snapshots/integration__integration_tests__config_show__config_show_partial_shell_config_shows_hint.snap+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_partial_shell_config_shows_hint.snap@@ -33,7 +33,7 @@ exit_code: 0βͺ Project Config: [1m[REPO]/.config/wt.toml[0mπ‘ [2mNot found[0m-π‘ [2mNot configured shell extension & completions for [1m[2mbash[0m[2m @ ~/.bashrc[0m+π‘ [2mNot configured shell extension & completions for bash @ ~/.bashrc[0mβͺ Already configured shell extension & completions for [1mzsh[0m @ ~/.zshrc[2mβͺ Skipped fish; ~/.config/fish/conf.d not found[0m