{# Pill primitive. Parameters: label — display text (required) tone — one of: doc | setup | experimental | remove | ignore | brand | accent | neutral Uses CSS token classes (.pill-). Omit (or leave empty) to use `color` fallback. color — hex fallback for runtime-colored pills (manager badges). Used only when `tone` is absent/empty. extra_class — additional Tailwind utility classes (optional) The `tone` system is the canonical disposition-to-style mapping. Manager badges pass `color` directly (sourced from presentation.toml). #} {% set _valid_tones = ["doc","setup","experimental","remove","ignore","brand","accent","neutral"] %} {% if tone and tone in _valid_tones %} {% if icon %}{{ icon }}{% endif %}{{ label }} {% elif color %} {% if icon %}{{ icon }}{% endif %}{{ label }} {% else %} {% if icon %}{{ icon }}{% endif %}{{ label }} {% endif %}