Add single-line visual headers to 66 command files across 10 plugins: - clarity-assist (2 commands): 💬 - claude-config-maintainer (5 commands): ⚙️ - cmdb-assistant (11 commands): 🖥️ - code-sentinel (3 commands): 🔒 - contract-validator (5 commands): ✅ - data-platform (10 commands): 📊 - doc-guardian (5 commands): 📝 - git-flow (8 commands): 🔀 - pr-review (7 commands): 🔍 - viz-platform (10 commands): 🎨 Each command now displays a consistent header at execution start: ┌────────────────────────────────────────────────────────────────┐ │ [icon] PLUGIN-NAME · Command Description │ └────────────────────────────────────────────────────────────────┘ Addresses #275 (other plugin commands visual output) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1.8 KiB
1.8 KiB
description
| description |
|---|
| Apply an existing theme to the current context |
Apply Theme
Visual Output
When executing this command, display the plugin header:
┌──────────────────────────────────────────────────────────────────┐
│ 🎨 VIZ-PLATFORM · Apply Theme │
└──────────────────────────────────────────────────────────────────┘
Then proceed with the theme activation.
Apply an existing theme to activate its design tokens.
Usage
/theme {name}
Arguments
name(required): Theme name to activate
Examples
/theme dark
/theme corporate-blue
/theme my-custom-theme
Tool Mapping
This command uses the theme_activate MCP tool:
theme_activate(theme_name="dark")
Workflow
- User invokes:
/theme dark - Tool activates: Theme becomes active for subsequent operations
- Charts/layouts: Automatically use active theme tokens
Built-in Themes
| Theme | Description |
|---|---|
light |
Mantine default light mode |
dark |
Mantine default dark mode |
Listing Available Themes
To see all available themes:
theme_list()
Returns both built-in and custom themes.
Theme Effects
When a theme is activated:
- New charts inherit theme colors
- New layouts use theme spacing
- Components use theme typography
- Callbacks can read active theme tokens
Related Commands
/theme-new {name}- Create a new theme/theme-css {name}- Export theme as CSS