<?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: How to import esri style into local scss in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-import-esri-style-into-local-scss/m-p/1145382#M76389</link>
    <description>&lt;P&gt;Figured out the following works.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;@import ~@arcgis/core/assets/esri/css/main.css&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Feb 2022 21:48:30 GMT</pubDate>
    <dc:creator>Annn</dc:creator>
    <dc:date>2022-02-17T21:48:30Z</dc:date>
    <item>
      <title>How to import esri style into local scss</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-import-esri-style-into-local-scss/m-p/1144734#M76377</link>
      <description>&lt;P&gt;In my Angular project, I need to import the ESRI stylesheet as part of my scss style. However, I tried to import the follow all failing. All examples I can find import the remote version from esri server. What is the proper way to import ESRI css or scss style?&lt;/P&gt;&lt;P&gt;I tried:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;@import &lt;/SPAN&gt;&lt;SPAN&gt;'node_modules/@arcgis/core/assets/esri/css/main'&lt;/SPAN&gt;;&lt;/PRE&gt;&lt;P&gt;Importing the scss directly seems to complain about unable to find path to `../themes/light/main.css`&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;@import &lt;/SPAN&gt;&lt;SPAN&gt;'node_modules/@arcgis/core/assets/esri/css/main.css&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;@import &lt;/SPAN&gt;&lt;SPAN&gt;'node_modules/@arcgis/core/assets/esri/themes/light/main.css'&lt;/SPAN&gt;;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Seem to have trouble finding the .css file even though it is actually found in the path&lt;/P&gt;&lt;P&gt;I even tried to make a copy of the compiled .css into my project and import, but that seemed to have trouble finding path to the font referenced.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm very confused, please help.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 17:20:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-import-esri-style-into-local-scss/m-p/1144734#M76377</guid>
      <dc:creator>Annn</dc:creator>
      <dc:date>2022-02-16T17:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to import esri style into local scss</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-import-esri-style-into-local-scss/m-p/1145382#M76389</link>
      <description>&lt;P&gt;Figured out the following works.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;@import ~@arcgis/core/assets/esri/css/main.css&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 21:48:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-import-esri-style-into-local-scss/m-p/1145382#M76389</guid>
      <dc:creator>Annn</dc:creator>
      <dc:date>2022-02-17T21:48:30Z</dc:date>
    </item>
  </channel>
</rss>

