Group Tailwind classes in Twig for readability
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3556312. -->
Reported by: [pameeela](https://www.drupal.org/user/1431110)
Related to !108
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>Adding all of the Tailwind classes in Twig can result in very long lines of inscrutable class names.</p>
<p>We should establish a convention where the classes are added via Twig variables, so they can use new lines and group similar classes on the same line, for better readability.</p>
<p>Going to use the Text component just as an example to establish a simple version of this.</p>
issue