Modern Drupal themes should be constructed on Single Directory Components. It makes theme following the modular patterns known from other well working ecosystems, like React, and is crucial for Canvas module.
As a theme developer, i expect starterkit to have components directory with some basic SDC, wich are used literally on every project.
Here are the candidates:
- Section - includes centering container with max width, paddings and definable background, can be used also in page.html.twig
- Rich text - Tailwind prose class wrapper, ideal for rendering the content from WYSiWYG fields.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | rich-text.png | 154.26 KB | ravi kant |
Issue fork tailwindcss-3581145
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
firflantComment #4
firflantComment #5
ravi kant commentedWorking fine for me.
Comment #6
ravi kant commentedComment #8
ravi kant commentedComment #10
firflant@ravi-kant Please update the credit to the contributors in the contribution record.