Skip to content

Instantly share code, notes, and snippets.

View askeijaz's full-sized avatar
😊
Working...

Eijaz Sheikh askeijaz

😊
Working...
View GitHub Profile
@askeijaz
askeijaz / README.md
Created July 13, 2025 17:11
Guide to configuring Hugo with Dart Sass and SCSS modules

💡 Using Dart Sass in Hugo (Extended Version) with SCSS Modules

This guide walks through how to fully switch to Dart Sass for styling in a Hugo static site. This removes all dependency on deprecated LibSass and uses the recommended Dart Sass SCSS module system (@use, @forward).

✅ Prerequisites

  • Hugo Extended version (brew install hugo)
  • Dart Sass installed (brew install sass/sass/sass)
  • A proper SCSS folder structure under /assets/scss/