<?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: ArcGIS Maps SDK for JavaScript 4.29 LayerList Widget ListItem Font Size Editing in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-maps-sdk-for-javascript-4-29-layerlist/m-p/1513325#M85167</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/598905"&gt;@DrewNemecekIp&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;We refactored the LayerList to use calcite components in between 4.21 and 4.29.&amp;nbsp; When styling calcite components you need to use css variables.&amp;nbsp; More info can be found here for calcite typography:&amp;nbsp;&lt;A href="https://developers.arcgis.com/calcite-design-system/foundations/typography/" target="_blank"&gt;https://developers.arcgis.com/calcite-design-system/foundations/typography/&lt;/A&gt;&lt;/P&gt;&lt;LI-CODE lang="css"&gt;      calcite-list, calcite-button {
        --calcite-font-size--1: 24px;
        --calcite-color-text-1: #3c83b7;
        --calcite-color-text-2: #3c83b7;
        --calcite-color-text-3: #3c83b7;
      }&lt;/LI-CODE&gt;&lt;P&gt;I modified the layer list sample to change the font size in the code pen&amp;nbsp;&lt;A href="https://codepen.io/sagewall/pen/yLdMVNo" target="_blank"&gt;https://codepen.io/sagewall/pen/yLdMVNo&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 31 Jul 2024 23:30:36 GMT</pubDate>
    <dc:creator>Sage_Wall</dc:creator>
    <dc:date>2024-07-31T23:30:36Z</dc:date>
    <item>
      <title>ArcGIS Maps SDK for JavaScript 4.29 LayerList Widget ListItem Font Size Editing</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-maps-sdk-for-javascript-4-29-layerlist/m-p/1513318#M85166</link>
      <description>&lt;P&gt;We are upgrading our JavaScript Maps SDK application, and I have noticed that the layer list widget has a much smaller font.&lt;/P&gt;&lt;P&gt;The widget looked like this at 4.21.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DrewNemecekIp_0-1722466581244.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/111286i1D73831687F1D6B7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DrewNemecekIp_0-1722466581244.png" alt="DrewNemecekIp_0-1722466581244.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now it looks like this at 4.29.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DrewNemecekIp_1-1722466641756.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/111287iEBA14F5EB4AEE779/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DrewNemecekIp_1-1722466641756.png" alt="DrewNemecekIp_1-1722466641756.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How can I increase the font size of the list items this widget?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attempted some CSS styling, but it is not working. My guess is because this styling is happening within ESRI's JavaScript code.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 22:59:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-maps-sdk-for-javascript-4-29-layerlist/m-p/1513318#M85166</guid>
      <dc:creator>DrewNemecekIp</dc:creator>
      <dc:date>2024-07-31T22:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Maps SDK for JavaScript 4.29 LayerList Widget ListItem Font Size Editing</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-maps-sdk-for-javascript-4-29-layerlist/m-p/1513325#M85167</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/598905"&gt;@DrewNemecekIp&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;We refactored the LayerList to use calcite components in between 4.21 and 4.29.&amp;nbsp; When styling calcite components you need to use css variables.&amp;nbsp; More info can be found here for calcite typography:&amp;nbsp;&lt;A href="https://developers.arcgis.com/calcite-design-system/foundations/typography/" target="_blank"&gt;https://developers.arcgis.com/calcite-design-system/foundations/typography/&lt;/A&gt;&lt;/P&gt;&lt;LI-CODE lang="css"&gt;      calcite-list, calcite-button {
        --calcite-font-size--1: 24px;
        --calcite-color-text-1: #3c83b7;
        --calcite-color-text-2: #3c83b7;
        --calcite-color-text-3: #3c83b7;
      }&lt;/LI-CODE&gt;&lt;P&gt;I modified the layer list sample to change the font size in the code pen&amp;nbsp;&lt;A href="https://codepen.io/sagewall/pen/yLdMVNo" target="_blank"&gt;https://codepen.io/sagewall/pen/yLdMVNo&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 23:30:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-maps-sdk-for-javascript-4-29-layerlist/m-p/1513325#M85167</guid>
      <dc:creator>Sage_Wall</dc:creator>
      <dc:date>2024-07-31T23:30:36Z</dc:date>
    </item>
  </channel>
</rss>

