The old theme relied on jQuery UI and a carousel plugin from 2014. Luca opened libraries.yml and grimaced. He deleted the entire jQuery block.
He updated his Drupal Slack status: “Modernizing Drupal themes, one component at a time. #SDC #Drupal10 #NoMoreSpaghettiCSS” luca lusso modernizing drupal 10 theme development
The real magic came when he integrated Tailwind’s @layer components with Drupal’s SDC (Single Directory Components). He configured postcss.config.js to scan the components/ folder. Now, unused CSS was purged automatically. Build times dropped from 12 seconds to 0.8 seconds. The old theme relied on jQuery UI and
He opened his terminal and ran the familiar commands: luca lusso modernizing drupal 10 theme development