Author:
Source
A new approach to Drupal theming, just in time for Drupal 10
Sun, 11/06/2022 – 18:07

Over the past few months, I’ve fielded a lot of minor styling requests, and as I work through each problem, I’ve almost always ended up with substantially less code than was there before. When I look through our portfolio of sites, most of them use tons of CSS to style all the various parts of a site — and in many cases, the same styling reappears a bunch of different places. This leads to inconsistent styling, slow page loads, and more effort needed to make minor changes.