Just rebuilt a site and a lot of formatting is missing

Menu’s are missing so much formatting they do not correctly over-lay.

The font is not arial.

Safe mode is ON.

On inspection, it looks like at least color_definitions.scss is missing …

… anyone know why this might happen?

I rebuilt twice just in case.

3 Likes

Can you look in /logs and see if there are any errors? We’re merging hundreds of (S)CSS formatting changes across themes/plugins right now, so it’s possibly related to that :eyes:

1 Like

Doh, should have checked.

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

3 Likes

Thanks! Revert on the way: FIX: Revert colors.scss changes by davidtaylorhq · Pull Request #705 · discourse/discourse-calendar · GitHub

4 Likes

Merged, so should be good after a rebuild @merefield. Sorry for the disruption!

4 Likes

no worries, thanks for the quick reversion! :rocket:

(and balance was returned)

2 Likes

Also improving the failure mode here so that we can detect it earlier, and also identify the cause more easily if issues do reach production: DEV: Improve color-definition stylesheet failure mode by davidtaylorhq · Pull Request #31858 · discourse/discourse · GitHub

4 Likes