From 5e59a20bbfb1c801e2d12b70c684b48db652bcff Mon Sep 17 00:00:00 2001 From: Michael Sitarzewski Date: Wed, 11 Mar 2026 10:48:21 -0500 Subject: [PATCH] Fix OpenCode color mapping for 6 missing named colors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add yellow, violet, rose, lime, gray, and fuchsia to resolve_opencode_color() — these were passing through as plain strings and breaking OpenCode's hex-only color validation. Fixes #108 Co-Authored-By: Claude Opus 4.6 --- scripts/convert.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/convert.sh b/scripts/convert.sh index bc170ba..f38e918 100755 --- a/scripts/convert.sh +++ b/scripts/convert.sh @@ -147,6 +147,12 @@ resolve_opencode_color() { neon-green) echo "#10B981" ;; neon-cyan) echo "#06B6D4" ;; metallic-blue) echo "#3B82F6" ;; + yellow) echo "#EAB308" ;; + violet) echo "#8B5CF6" ;; + rose) echo "#F43F5E" ;; + lime) echo "#84CC16" ;; + gray) echo "#6B7280" ;; + fuchsia) echo "#D946EF" ;; *) echo "$c" ;; # already hex or unknown — pass through esac }