Background
Blocked on #199 (switching production builds to GitHub Actions so Jekyll 4.4 is used in production).
The legacy GitHub Pages sandbox pins production to Jekyll 3.10 + LibSass. LibSass does not support Dart Sass @use/@forward directives, so when they were introduced in the site refresh (#194) they had to be reverted back to @import in commit 65163f9.
Once #199 is merged and Pages source is switched to GitHub Actions in repo settings, production will use Dart Sass and these changes are safe to make.
Tasks
Why this matters
@import is deprecated in Dart Sass and will eventually be removed
@use provides proper namespacing and avoids global variable leakage between partials
- Aligns local, Netlify preview, and production builds fully
Dependency
Must be done after #199 is merged and the Pages source is flipped to GitHub Actions in repo settings.
Background
Blocked on #199 (switching production builds to GitHub Actions so Jekyll 4.4 is used in production).
The legacy GitHub Pages sandbox pins production to Jekyll 3.10 + LibSass. LibSass does not support Dart Sass
@use/@forwarddirectives, so when they were introduced in the site refresh (#194) they had to be reverted back to@importin commit 65163f9.Once #199 is merged and Pages source is switched to GitHub Actions in repo settings, production will use Dart Sass and these changes are safe to make.
Tasks
@use/@forwardinassets/main.scss(reverting the workaround from 65163f9)@importrules inassets/sass/with@use/@forwardas appropriate (LibSass@importis deprecated in Dart Sass)bundle exec jekyll buildoutputWhy this matters
@importis deprecated in Dart Sass and will eventually be removed@useprovides proper namespacing and avoids global variable leakage between partialsDependency
Must be done after #199 is merged and the Pages source is flipped to GitHub Actions in repo settings.