<?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: Sketch widget in 4.21 - how to change color and size of the sketch tools in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketch-widget-in-4-21-how-to-change-color-and-size/m-p/1105607#M74906</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/22953"&gt;@MKY&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;This is a good question. The Sketch widget is using &lt;A href="https://developers.arcgis.com/calcite-design-system/components/action/" target="_self"&gt;calcite-actions,&lt;/A&gt;&amp;nbsp;so in order to update the default color of the Sketch widget buttons, then the following css override will work. This is documented here:&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/calcite-design-system/foundations/colors/#primary-colors" target="_blank"&gt;https://developers.arcgis.com/calcite-design-system/foundations/colors/#primary-colors&lt;/A&gt;&lt;/P&gt;&lt;LI-CODE lang="css"&gt;calcite-action {
  --calcite-ui-foreground-1: rgba(240,186,180,0.5);
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, you are currently unable to override the size of the calcite-actions in the Sketch widget. We are aware of this, and we are discussing how to improve this workflow.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jose&lt;/P&gt;</description>
    <pubDate>Thu, 07 Oct 2021 16:53:24 GMT</pubDate>
    <dc:creator>JoseBanuelos</dc:creator>
    <dc:date>2021-10-07T16:53:24Z</dc:date>
    <item>
      <title>Sketch widget in 4.21 - how to change color and size of the sketch tools</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketch-widget-in-4-21-how-to-change-color-and-size/m-p/1105270#M74895</link>
      <description>&lt;P&gt;In 4.20 I used .esr-widget--button class to chage color and size. In 4.21 the sketch widget uses calcite components and calcite icon. How can I overide the default color by using css?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Oct 2021 17:32:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketch-widget-in-4-21-how-to-change-color-and-size/m-p/1105270#M74895</guid>
      <dc:creator>MKY</dc:creator>
      <dc:date>2021-10-06T17:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Sketch widget in 4.21 - how to change color and size of the sketch tools</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketch-widget-in-4-21-how-to-change-color-and-size/m-p/1105607#M74906</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/22953"&gt;@MKY&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;This is a good question. The Sketch widget is using &lt;A href="https://developers.arcgis.com/calcite-design-system/components/action/" target="_self"&gt;calcite-actions,&lt;/A&gt;&amp;nbsp;so in order to update the default color of the Sketch widget buttons, then the following css override will work. This is documented here:&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/calcite-design-system/foundations/colors/#primary-colors" target="_blank"&gt;https://developers.arcgis.com/calcite-design-system/foundations/colors/#primary-colors&lt;/A&gt;&lt;/P&gt;&lt;LI-CODE lang="css"&gt;calcite-action {
  --calcite-ui-foreground-1: rgba(240,186,180,0.5);
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, you are currently unable to override the size of the calcite-actions in the Sketch widget. We are aware of this, and we are discussing how to improve this workflow.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jose&lt;/P&gt;</description>
      <pubDate>Thu, 07 Oct 2021 16:53:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketch-widget-in-4-21-how-to-change-color-and-size/m-p/1105607#M74906</guid>
      <dc:creator>JoseBanuelos</dc:creator>
      <dc:date>2021-10-07T16:53:24Z</dc:date>
    </item>
  </channel>
</rss>

