Unify installer colors with vim/shell palette and clean up output

- Replace BLUE/CYAN/CYAN_BOLD with TEAL/TEAL_BOLD (#2CB494) to match
  the primary accent used across vim, zsh prompt, tmux, and fzf
- Update BLUE (#0C48CC -> #4068D4) then merge into TEAL
- Update RED (#F40404 -> #F88C14) to match vim/shell error orange
- Rename GREEN to grey-blue (#7290B8) for [PASS] messages
- Format all raw echo output with log functions or log_quote
- Suppress sudo prompt when credentials are already cached
- Add missing log_pass to 22-zsh.sh and 23-stow.sh
- Convert raw 'already installed' echos to log_skip (7 scripts)
- Pipe SSH key and mise output through log_quote
- Suppress noisy bat cache and mise WARN output
- Match fastfetch colors to palette (teal logo, grey-blue keys)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-03-18 15:29:02 +00:00
parent 4ec1ea9249
commit cccffa8fae
14 changed files with 50 additions and 40 deletions

View File

@@ -36,7 +36,7 @@ if ! command -v mise &>/dev/null; then
esac
fi
echo "mise $(mise --version)" | log_quote
echo "mise $(MISE_QUIET=1 mise --version)" | log_quote
# Skip runtimes in Codespaces (use pre-installed versions)
if [[ "$DOTS_ENV" != "codespaces" ]]; then
@@ -46,9 +46,9 @@ if [[ "$DOTS_ENV" != "codespaces" ]]; then
)
log_info "Installing runtimes..."
mise install "${MISE_RUNTIMES[@]}"
MISE_QUIET=1 mise install "${MISE_RUNTIMES[@]}" 2>&1 | log_quote
for tool in "${MISE_RUNTIMES[@]}"; do
mise use -g "$tool"
MISE_QUIET=1 mise use -g "$tool" 2>&1 | log_quote
done
fi
@@ -76,11 +76,11 @@ fi
log_info "Installing apps..."
for tool in "${MISE_APPS[@]}"; do
mise use -g "$tool"
MISE_QUIET=1 mise use -g "$tool" 2>&1 | log_quote
done
# Rebuild bat theme cache with mise-installed bat (must match delta's syntect version)
bat cache --build 2>/dev/null
bat cache --build &>/dev/null
if [[ "$DOTS_ENV" != "codespaces" ]]; then
# Setup Poetry ZSH completions (XDG compliant)