Lighten the current project color
Lightens the current Peacock color by 10% toward white. Use this when your project color is too dark and you want a subtle adjustment without picking a new color.
/plugin marketplace add b-open-io/claude-peacock/plugin install peacock@b-open-ioLighten the current project's Peacock color by 10%. Matches VSCode Peacock extension's lighten command.
/peacock:lighten
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.
Lighten by 10% (move 10% closer to white):
new_r = current_r + (255 - current_r) * 0.1
new_g = current_g + (255 - current_g) * 0.1
new_b = current_b + (255 - current_b) * 0.1
Round to integers, cap at 255. Convert back to hex.
Store as LIGHTENED_COLOR.
Use same logic as /peacock:change-color:
.vscode/settings.jsonOutput:
✅ Color lightened by 10%
Before: <current_hex>
After: <lightened_hex>
Applied to:
• Title Bar: <lightened_hex>
• Status Bar: <lightened_hex>
• Activity Bar: <lighter_hex>
Reload VSCode window:
Cmd+Shift+P → "Developer: Reload Window"
Too light? Use /peacock:darken
</instructions>