Darken the current project color
Darkens the current Peacock color by 10% for a darker theme. Use this when your project color is too bright and you want to quickly adjust it darker.
/plugin marketplace add b-open-io/claude-peacock/plugin install peacock@b-open-ioDarken the current project's Peacock color by 10%. Matches VSCode Peacock extension's darken command.
/peacock:darken
Check for .vscode/settings.json:
ls .vscode/settings.json 2>/dev/null || echo "not found"
If not found:
❌ No Peacock color set
Set a color first:
/peacock:change-color #8d0756
/peacock:random-color
Stop execution.
Extract current color:
jq -r '.["peacock.color"] // empty' .vscode/settings.json
If empty, show same error above.
Store as CURRENT_COLOR.
Convert hex to RGB.
Darken by 10% (multiply each RGB component by 0.9):
new_r = current_r * 0.9
new_g = current_g * 0.9
new_b = current_b * 0.9
Round to integers. Convert back to hex.
Store as DARKENED_COLOR.
Use same logic as /peacock:change-color:
.vscode/settings.jsonOutput:
✅ Color darkened by 10%
Before: <current_hex>
After: <darkened_hex>
Applied to:
• Title Bar: <darkened_hex>
• Status Bar: <darkened_hex>
• Activity Bar: <lighter_hex>
Reload VSCode window:
Cmd+Shift+P → "Developer: Reload Window"
Too dark? Use /peacock:lighten
</instructions>