trace_property
Trace a CSS property across files to see which rules set it, group competing selectors, and identify the winning value. Understand impact before editing or debug unexpected styles.
Instructions
Traces a CSS property across all provided files — finding every rule that sets it, grouping competing rules that target overlapping selectors, and showing who wins in each group. Use this to understand the blast radius of a property before changing it, or to find out why a property value isn't applying as expected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | Absolute paths to CSS/SCSS files to analyze. | |
| property | Yes | CSS property name to trace, e.g. "color", "background-color", "padding" | |
| projectRoot | No | Optional: path to a project root. All CSS/SCSS files will be discovered recursively. |