IVLIU/rainbow-week
rainbow-week
A Claude Code theme plugin that repaints Claude's accent colour (the `claude` token and prompt border) in one muted colour per weekday — red through violet — across four low-saturation palettes: Morandi, Monet, Vermeer and Song porcelain. Slash commands switch palettes or toggle the rotation, and the theme rolls over automatically after local midnight.
關於這個 mod
Rainbow Week is a Claude Code plugin that changes the accent colour of Claude's claude token and prompt border to a different muted colour for each weekday, walking the rainbow in order (red → orange → yellow → green → blue → indigo → violet).
Four low-saturation palettes are included: Morandi (default), Monet, Vermeer and Song porcelain. Each palette follows the same hue order in its own key, and shimmer partners (claudeShimmer, promptBorderShimmer) are derived automatically by lifting the main colour 22% toward white.
Install with /plugin marketplace add IVLIU/rainbow-week then /plugin install rainbow-week@rainbow-week, and restart Claude Code or pick "Rainbow Week" in /theme.
Commands:
/rainbow— today's colour, active palette, on/off state/rainbow palette— list the four palettes with true-colour dot previews/rainbow palette morandi|monet|vermeer|song— switch palette, applied immediately/rainbow on//rainbow off— toggle the rotation and restore the previous theme
Implementation: Claude Code's theme setting only accepts built-in presets, so the plugin writes ~/.claude/themes/rainbow-week.json (a custom theme whose overrides hold today's colour, inheriting base from your current preset so light stays light), points theme in ~/.claude/settings.json at custom:rainbow-week, and re-applies just past local midnight so long-running sessions turn over on their own. The theme directory is watched, so the rewrite repaints without a restart. Your previous theme is remembered and restored by /rainbow off.
Notes: writes only ~/.claude/themes/rainbow-week.json and the theme key of ~/.claude/settings.json; requires a Claude Code build with custom themes (2.1.118+); colour dots use 24-bit ANSI escapes and appear plain white on terminals without true colour.
安裝
請先查看作者 README,確認 marketplace 與外掛名稱;指令可能隨儲存庫結構而變動。
claude plugin marketplace add IVLIU/rainbow-week claude plugin install rainbow-week@rainbow-week
原文 / README
Rainbow Week
A Claude Code mod that paints Claude's accent colour — the claude token and the prompt border — in one muted colour per weekday, following rainbow order: red → orange → yellow → green → blue → indigo → violet.
Four palettes, all low-saturation: Morandi (default), Monet, Vermeer, and Song porcelain.
Install
/plugin marketplace add IVLIU/rainbow-week
/plugin install rainbow-week@rainbow-week
Then restart Claude Code (or open /theme and pick "Rainbow Week").
Palettes
Monday → Sunday. Every palette walks the same hue order in its own key.
| | Mon | Tue | Wed | Thu | Fri | Sat | Sun |
|---|---|---|---|---|---|---|---|
| Morandi (default) | #C2A2A0 dusty rose | #C4A992 clay | #BDB58F wheat | #9FB49B sage | #9DACBD mist blue | #9C97B5 dusty indigo | #B29BB4 grey violet |
| Monet | #D9AFAE water-lily | #D8AC96 sunrise | #CFC08D hay | #A5C3A2 iris | #A6BCD6 Giverny blue | #A9A2CF dusk | #C3A5D4 wisteria |
| Vermeer | #AE7269 ochre red | #BF9469 ochre | #B9AA6B olive gold | #77A48D celadon | #6889AF Delft blue | #767AA9 blue violet | #977FA0 pearl violet |
| Song porcelain | #AF6874 rouge | #B08164 ochre | #B9A156 rattan yellow | #789A86 bamboo | #7199AD sky blue | #666E9C indigo | #967B99 lotus violet |
Shimmer partners (claudeShimmer, promptBorderShimmer) are derived automatically by lifting the main colour 22% toward white.
Commands
/rainbow— today's colour, active palette, on/off state/rainbow palette— list the four palettes, each with a true-colour dot preview/rainbow palette morandi|monet|vermeer|song— switch palette, applied immediately/rainbow on//rainbow off— toggle the rotation and restore the previous theme
How it works
Claude Code's theme setting only accepts built-in presets, so a plugin cannot switch a custom theme through config.set. This mod instead:
- writes
~/.claude/themes/rainbow-week.json— a custom theme whoseoverrideshold today's colour, inheritingbasefrom whatever preset you had (light stays light); - points
themein~/.claude/settings.jsonatcustom:rainbow-week; - re-applies just past local midnight, so a long-running session turns over by itself. The theme directory is watched, so the file rewrite repaints without a restart.
Your previous theme is remembered and restored by /rainbow off.
Notes
- Writes only
~/.claude/themes/rainbow-week.jsonand thethemekey of~/.claude/settings.json. - Requires a Claude Code build with custom themes (2.1.118+).
- Colour dots in command output use 24-bit ANSI escapes; terminals without true colour show them as plain white.
