After I upgraded to version of arcgis/core to 4.28.10 I started receiving a compilation error related to some grayscale function missing $color
^^^^^^^^^^^ invocation
╵
┌──> sass:color
1 │ @function grayscale($color) {
│ ━━━━━━━━━━━━━━━━━ declaration
╵
node_modules/@arcgis/core/assets/esri/themes/dark/main.css 1:496278 root stylesheet
webpack compiled with 1 error
I'm importing the dark theme in my react component as
@import "@arcgis/core/assets/esri/themes/dark/main.css";
Anyone knows how this could be fixed?