diff_presets
Compare two UI presets to identify differences in tokens, components, or layouts, helping developers understand changes between base and override configurations.
Instructions
Compare two presets and return what changed between them. Useful for understanding what a client override changes vs the base.
Args:
preset_a (string): First preset ID
preset_b (string): Second preset ID
scope ('tokens' | 'components' | 'layouts' | 'all'): What to compare (default: 'all')
Returns: Object with added, removed, and changed keys with before/after values.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preset_a | Yes | First preset ID | |
| preset_b | Yes | Second preset ID | |
| scope | No | What to compare | all |