Theme selected : custom

Error: SassError: @use rules must be written before any other rules.

╷ 39 │ @use '@angular/material' as mat;

╵ src\custom-theme.scss 39:1 root stylesheet

enter image description here

1

There are 1 best solutions below

0
On

In file : src\custom-theme.scss

Check for the line : @use '@angular/material' as mat;

In my file were 2. There must be only one so delete the rest