mirror of
https://github.com/msitarzewski/agency-agents
synced 2026-04-25 03:08:24 +00:00
Fix OpenCode color mapping for 6 missing named colors
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 <noreply@anthropic.com>
This commit is contained in:
parent
71c3bdf03c
commit
5e59a20bbf
@ -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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user