{% set classes = [
    'heading',
    'heading--' ~ level,
    alinment,
    text_color != 'none' ? text_color : '',
] %}

<{{ level }}{{ attributes.addClass(classes|filter(v => v)) }}>
  {{ text }}
</{{ level }}>
