Draw in the interface with a mod changedplugins/mods/interface
Nearest release: v2.1.325, published 4 hours before upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 14 Nov 2026 00:56 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 14 Nov 2026 01:07 UTC.
Upstream edited
Recorded here
Lines+63added
Lines−10removed
From line
438
where the diff opens
First seen
1 Oct 2026
this site's first read of the page
Recorded edits36to this page, all time
#### Ask Claude for a colors mod #### Write a colors mod yourself ### Fix missing mod colors in the Desktop app ### Remove mod colors from the Desktop app
The whole hunk
from line 438, old and new numbered
/
from line 438
438438
439439### Change the colors of the Desktop app
440440
441To change the colors of the Desktop app's Code tab, start a local session there, [ask Claude for a mod](https://code.claude.com/docs/en/plugins/mods/create.md#ask-claude-for-a-mod), and describe the colors you want. For example, ask for `a mod that makes the app cream in light mode and dark brown in dark mode`. Asking for colors requires Claude Code v2.1.324 or later, so [check your version](https://code.claude.com/docs/en/plugins/mods/overview.md#turn-mods-on-or-off) first. Claude Code in the terminal keeps its own colors.
441To change the colors of the Desktop app's Code tab with a mod, [ask Claude for one](#ask-claude-for-a-colors-mod) or [write one yourself](#write-a-colors-mod-yourself). Both ways require Claude Code v2.1.324 or later in the Code tab, so [check the version there](https://code.claude.com/docs/en/desktop.md#claude-code-version-in-the-code-tab) first. Claude Code in the terminal keeps its own colors.
442442
443To set the colors in a mod you write, pass them to `$.theme.set` as `colors`, which requires Claude Code v2.1.321 or later. Build that value from a few hex colors with `makeColors`. To get it, ask Claude to copy `make-colors.js` and `make-colors.d.ts` from its `plugin-authoring` skill into your mod's `hooks/` directory, which requires v2.1.324 or later. This `hooks/register.js` sets colors for light mode and dark mode when a session starts:
443#### Ask Claude for a colors mod
444444
445**1. Describe the colors**
446
447Start a local session in the Code tab and tell Claude which colors you want. For example, enter `make a mod that makes the app cream in light mode and dark brown in dark mode`. Claude writes the mod's files.
448
449**2. Approve the mod**
450
451Answer the questions Claude Code asks about the mod's files and hot reloading. For what each answer does, see [Ask Claude for a mod](https://code.claude.com/docs/en/plugins/mods/create.md#ask-claude-for-a-mod).
452
453**3. Check the colors**
454
455The Code tab changes color when the mod loads. To adjust a color, tell Claude what to change. If nothing changes, see [Fix missing mod colors](#fix-missing-mod-colors-in-the-desktop-app).
456
457#### Write a colors mod yourself
458
459`makeColors` is a function that builds a theme from a few hex colors. These steps create a mod named `paper` that uses it.
460
461**1. Have Claude copy makeColors**
462
463Start a local session in the Code tab, and enter `copy make-colors.js and make-colors.d.ts from your plugin-authoring skill into ~/.claude/skills/paper/hooks/`. Check that both files are in that directory.
464
465**2. Save the manifest and hooks.json**
466
467From [Write a mod yourself](https://code.claude.com/docs/en/plugins/mods/create.md#write-a-mod-yourself), save `.claude-plugin/plugin.json` and `hooks/hooks.json` in `~/.claude/skills/paper/`, and change `first-mod` to `paper` in both files. A mod [under `~/.claude/skills/`](https://code.claude.com/docs/en/plugins/create#scaffold-a-plugin-that-loads-every-session) loads when you start a session.
468
469**3. Write the code**
470
471Save this file as `~/.claude/skills/paper/hooks/register.js`. When a session starts, the code calls `$.theme.set` with the colors for light mode and dark mode:
472
445473```javascript theme={null}
446474import { makeColors } from './make-colors.js'
447475
from line 492
464492}
465493```
466494
467To try the example, [put the mod's directory under `~/.claude/skills/`](https://code.claude.com/docs/en/plugins/create#scaffold-a-plugin-that-loads-every-session), then start a local session in the Code tab. The background is cream in light mode and dark brown in dark mode.
495To use your own colors, replace the hex values with other six-digit hex colors.
468496
469Here's what to do if the colors don't change, disappear, or stay when you no longer want them:
497**4. Check the colors**
470498
471* **The colors don't change**: one cause is a theme that `makeColors` or the app refuses. Ask Claude to run the mod's `makeColors` call. Have Claude fix any error the call throws, and any entry in the `problems` list it returns that starts `Desktop won't paint this theme`.
472* **The colors or the [backdrop](#put-a-backdrop-behind-the-conversation) disappear**: pass `colors` and `backdrop` in the same `$.theme.set` call, and use one mod at a time that sets a theme.
473* **The colors stay when you no longer want them**: move the mod's directory out of `~/.claude/skills/`, or out of the [session's mods folder](https://code.claude.com/docs/en/plugins/mods/create.md#ask-claude-for-a-mod) if Claude wrote the mod. Start a new local session in the Code tab. If the colors are still there, go to **Settings > Appearance** or **Settings > Claude Code**, and select **Remove colors**.
499Start a new local session in the Code tab. With the example's values, the background is cream in light mode and dark brown in dark mode. If nothing changes, see [Fix missing mod colors](#fix-missing-mod-colors-in-the-desktop-app).
500
501### Fix missing mod colors in the Desktop app
502
503If you use a [third-party provider](https://code.claude.com/docs/en/third-party-integrations.md) instead of a Claude account in [Claude Desktop v5.11492.5 or earlier](https://code.claude.com/docs/en/desktop.md#check-your-version), the Code tab keeps its own colors, so skip these checks. Otherwise, if a mod's colors don't appear in the Code tab, or if they disappear, check for these causes:
504
505* **Old version**: [update the Desktop app](https://code.claude.com/docs/en/desktop.md#claude-code-version-in-the-code-tab), restart it, and start a new local session in the Code tab. If Claude wrote the mod, ask for it again there.
506* **Mod not loaded**: if Claude wrote the mod, see when it loads in [Ask Claude for a mod](https://code.claude.com/docs/en/plugins/mods/create.md#ask-claude-for-a-mod). If you wrote it, compare your files and their paths with [Write a colors mod yourself](#write-a-colors-mod-yourself).
507* **Refused theme**: ask Claude to run the mod's [`makeColors`](#write-a-colors-mod-yourself) call. If the call throws an error, or its `problems` list has an entry that starts `Desktop won't paint this theme`, have Claude fix the theme. If you installed the mod, send what Claude finds to its author.
508* **Another `$.theme` call**: when any mod in the session calls `$.theme.set` or `$.theme.clear()`, the colors and [backdrop](#put-a-backdrop-behind-the-conversation) from an earlier call disappear. In your own mod, pass `colors` and `backdrop` in the same `$.theme.set` call. Use one mod at a time that sets a theme.
509
510### Remove mod colors from the Desktop app
511
512To take a mod's colors off the Code tab, turn off the mod first. A mod that's still on can set its colors again.
513
514**1. Turn off the mod**
515
516* **Claude wrote the mod**: move its directory out of the [mods folder](https://code.claude.com/docs/en/plugins/mods/create.md#ask-claude-for-a-mod) of the session where Claude wrote it.
517* **You put the mod under `~/.claude/skills/`**: move its directory, such as `~/.claude/skills/paper/`, to a place outside `~/.claude/skills/`.
518* **You installed the mod**: in the Desktop app, [disable or uninstall its plugin](https://code.claude.com/docs/en/desktop.md#install-plugins) from **Manage plugins**. If you don't see **Manage plugins** and you have [the CLI](https://code.claude.com/docs/en/quickstart.md), you can [disable or uninstall a marketplace plugin from your shell](https://code.claude.com/docs/en/plugins/install.md#manage-plugins-from-your-shell).
519
520**2. Start a new session**
521
522Start a new local session in the Code tab.
523
524**3. Remove colors that stay**
525
526If the colors are still there, open **Settings** from the Code tab, and search there for `code appearance`. Open the result, and select **Remove colors**.
474527
475528## Build a tree from elements
476529
No line in this hunk matches that.