{"version":"2.1.321","anchor":"theme-api-accepts-colors-as-well-as-backdrop","canonical_anchor":"theme-api-accepts-colors-as-well-as-backdrop","heading":"Plugins can set theme colours with theme.set , not only the backdrop","tier":"use","area":"Themes","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.321\/e\/theme-api-accepts-colors-as-well-as-backdrop","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.321","markdown":"### Plugins can set theme colours with `theme.set`, not only the backdrop\n\nThe plugin `theme.set` call now accepts colours as well as a backdrop, and needs at least one of the two\n\n**What**\n\n`theme.set` used to accept only a backdrop. It now also accepts `colors`, given either as a plain set of colour values or as a theme made with `defineTheme`, within size limits. A call must include `backdrop`, `colors` or both. `theme.clear` still clears the theme.\n\n**Why**\n\nPlugins can now recolour Claude Code's interface, not only change its background.\n\n- Area: Themes\n- Names: `theme.set`, `defineTheme`, `theme.clear`\n- Tier: Use it now\n- Useful: 4\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}