{# @description Fills the words it wraps with one of the theme's colour pairs. Headings only. #} {# @prop color:select['primary', 'secondary', 'accent'] | default:"primary" | description:"Which colour pair fills the swash" #} {# @prop class:text | description:"Extra classes on the span" #} {# @slot not the CSS — The words to mark #} {% comment %} The colour-and-content pairs are built for large text and can clear 3:1 without 4.5:1, so this belongs in a heading and nowhere else (#21). {% endcomment %} {% if color == 'secondary' %} {{ slot }} {% elif color == 'accent' %} {{ slot }} {% else %} {{ slot }} {% endif %}