Write maintainable CSS with variables, nesting, mixins, modules, maps, and compiled output.
Lessons
Update old projects to the supported compiler.
Migrating from node-sass to Dart Sass is easiest to learn by reading the example, changing it, and observing the result.
// node-sass is deprecated. Switch to Dart Sass:
// npm uninstall node-sass
// npm install -D sass
// Replace division with math.div:
@use 'sass:math';
.col { width: math.div(100%, 3); } // was: 100% / 3
// Replace @import with @use / @forward.Practice the Migrating from node-sass to Dart Sass example in a small scratch file, then explain what changed and why.