Do you still need Sass in 2023?

With so many new features being added to CSS in the past couple years, is Sass still needed in 2023? Is it time to remove Sass from your build process? What can native CSS and PostCSS do that can replace Sass functionality and how is PostCSS being used in Drupal 10?

In this session, I will discuss an overview of new CSS features that replace functionality in Sass:
* CSS custom properties
* Nesting
* New color functions

I will also go over some PostCSS plugins that replicate Sass functionality:
* Custom media
* Imports
* Mixins

I will also briefly touch on how PostCSS is being used in Drupal 10.

Lastly, I will discuss when you might not want to replace Sass *just yet* and how you can use Sass AND native CSS together to take advantage of your existing build process.

It’s an exciting time to be a CSS developer and the perfect time to learn more about what CSS can do natively without using Sass.

Aubrey Sambor
LEAD ENGINEER AT LULLABOT
Western Massachusetts, USA

Aubrey is a front-end developer who loves creating accessible websites using clean and modern CSS. She initially learned to code in the late 90s when her high school friends told her about this cool website called Geocities. She decided she wanted a site of her own, so she bought an HTML 4 book and taught herself the ways of code. Aubrey graduated from Indiana University with a computer science degree and started her career building custom PHP web portals for clients, eventually discovering Drupal in 2008.

Aubrey is a frequent attendee at Drupal events, enjoys contributing to the Drupal community, and is passionate about design systems, accessibility, and the latest and greatest CSS techniques.

In her spare time, Aubrey loves to knit, spin her own yarn on one of her two spinning wheels, and walk on the many trails and paths throughout western Massachusetts. She's left-handed and has always disliked it when her classmates took all the left-handed scissors in art class.

https://2023.tcdrupal.org/session/do-you-still-need-sass-2023

Drupal is a registered trademark of Dries Buytaert.