Upgrade and custom theme plugins

This is not mentioned in the upgrade docs explicitly:

During the preparation for upgrading I found that our custom themes plugin did not build anymore.
This is due to the change to dart-sass.

By looking at the changes to the cern themes, I found the following changed fixed that:

Change all

@import 'base/....'; 


@use 'base/....' as *;

Yes, you’re right. This is related to the move from the obsolete libsass to [dart-]sass.

PS: You may want to fix the quotes in your example in case someone else with the same problem finds your thread.

1 Like