After rebuilding a site, merefield reported missing formatting, incorrect fonts, and menu overlay issues, suspecting a missing color_definitions.scss file. Upon checking logs, they found SCSS compilation errors due to @use "sass:color" appearing after other rules merefield. david identified the issue as related to ongoing SCSS merges across themes/plugins and linked a fix in the discourse-calendar repo david. The fix was merged, and merefield confirmed the issue was resolved after rebuilding. david also noted improvements to error detection to prevent similar issues in production.
I see scss compilation errors (makes sense, the raw color_definitions.scss file is present in the container)
SCSS compilation error: Error: @use rules must be written before any other rules.
╷
151 │ @use "sass:color";
│ ^^^^^^^^^^^^^^^^^
╵
/var/www/discourse/color_definitions.scss 151:1 root stylesheet