<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error typescript CSS in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-typescript-css/m-p/1386680#M83748</link>
    <description>&lt;P&gt;I don't have a public repo for this project. I checked and is using default CRAS without any transformation or building steps for sass.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The only thing is when adding the&amp;nbsp;&lt;SPAN&gt;@import&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"@arcgis/core/assets/esri/themes/dark/main.css"&lt;/SPAN&gt;&lt;SPAN&gt;; in a scss file it brokes the build, but if I remove it built but without the styles needed.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 26 Feb 2024 13:19:56 GMT</pubDate>
    <dc:creator>tnascimento</dc:creator>
    <dc:date>2024-02-26T13:19:56Z</dc:date>
    <item>
      <title>Error typescript CSS</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-typescript-css/m-p/1385424#M83710</link>
      <description>&lt;P&gt;After I upgraded to version of arcgis/core to&amp;nbsp;&lt;SPAN&gt;4.28.10 I started receiving a compilation error related to some grayscale function missing $color&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;^^^^^^^^^^^ invocation&lt;BR /&gt;╵&lt;BR /&gt;┌──&amp;gt; sass:color&lt;BR /&gt;1 │ @function grayscale($color) {&lt;BR /&gt;│ ━━━━━━━━━━━━━━━━━ declaration&lt;BR /&gt;╵&lt;BR /&gt;node_modules/@arcgis/core/assets/esri/themes/dark/main.css 1:496278 root stylesheet&lt;/P&gt;&lt;P&gt;webpack compiled with 1 error&lt;/P&gt;&lt;P&gt;I'm importing the dark theme in my react component as&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;@import&lt;/SPAN&gt; &lt;SPAN&gt;"@arcgis/core/assets/esri/themes/dark/main.css"&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Anyone knows how this could be fixed?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 22 Feb 2024 14:29:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-typescript-css/m-p/1385424#M83710</guid>
      <dc:creator>tnascimento</dc:creator>
      <dc:date>2024-02-22T14:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error typescript CSS</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-typescript-css/m-p/1385443#M83711</link>
      <description>&lt;P&gt;Do you have a basic report project on GitHub to look at? Importing the css file shouldn't invoke the sass files, so it suggests something else in your build is referencing them.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 14:57:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-typescript-css/m-p/1385443#M83711</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2024-02-22T14:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error typescript CSS</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-typescript-css/m-p/1386680#M83748</link>
      <description>&lt;P&gt;I don't have a public repo for this project. I checked and is using default CRAS without any transformation or building steps for sass.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The only thing is when adding the&amp;nbsp;&lt;SPAN&gt;@import&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"@arcgis/core/assets/esri/themes/dark/main.css"&lt;/SPAN&gt;&lt;SPAN&gt;; in a scss file it brokes the build, but if I remove it built but without the styles needed.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2024 13:19:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-typescript-css/m-p/1386680#M83748</guid>
      <dc:creator>tnascimento</dc:creator>
      <dc:date>2024-02-26T13:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: Error typescript CSS</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-typescript-css/m-p/1386770#M83751</link>
      <description>&lt;P&gt;After some more digging, in the class '&lt;SPAN&gt;esri-elevation-profile-legend-item--disabled',&amp;nbsp; there's a missing parameter in&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;filter&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;grayscale&lt;/SPAN&gt;&lt;SPAN&gt;()&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 26 Feb 2024 15:32:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-typescript-css/m-p/1386770#M83751</guid>
      <dc:creator>tnascimento</dc:creator>
      <dc:date>2024-02-26T15:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: Error typescript CSS</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-typescript-css/m-p/1386879#M83754</link>
      <description>&lt;P&gt;Empty is just treated like 100%. Are you importing with the .css extension in your sass file? I would import the css in your JavaScript file rather than the sass file so it doesn't try to process it.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2024 17:06:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-typescript-css/m-p/1386879#M83754</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2024-02-26T17:06:36Z</dc:date>
    </item>
  </channel>
</rss>

