<?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: Change to calcite-card font size and font weight in ArcGIS Hub Questions</title>
    <link>https://community.esri.com/t5/arcgis-hub-questions/change-to-calcite-card-font-size-and-font-weight/m-p/1349964#M5967</link>
    <description>&lt;P&gt;Please please please have your devs review HTML's ::part documentation. By adding the `part` attribute within your components we will be able to style them as needed.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.mozilla.org/en-US/docs/Web/CSS/::part" target="_blank"&gt;https://developer.mozilla.org/en-US/docs/Web/CSS/::part&lt;/A&gt;&lt;/P&gt;&lt;P&gt;As an example, the textarea field was recently modified to include a `min-inline-size: 12rem;` styling, which is too big for where I was placing it.&lt;/P&gt;&lt;P&gt;Ideally you'd be putting `part`s on just about every element.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your component:&lt;/P&gt;&lt;P&gt;&amp;lt;textarea ... part="textarea"&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;My CSS:&lt;/P&gt;&lt;P&gt;.esri-feature-form__input::part(textarea) { min-inline-size: auto; }&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;This works for me when mocking it up in dev tools, but without a part attribute to hook into, we're dead in the water on changing these stylings.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Wed, 15 Nov 2023 21:03:29 GMT</pubDate>
    <dc:creator>NicholasWright</dc:creator>
    <dc:date>2023-11-15T21:03:29Z</dc:date>
    <item>
      <title>Change to calcite-card font size and font weight</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/change-to-calcite-card-font-size-and-font-weight/m-p/1341391#M5919</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;It looks like the recent update to ArcGIS hub as changed the font size and weight of the&amp;nbsp;&lt;SPAN&gt;calcite-card (summary statistic), and I was wondering if there is a way to style it. I can see it is in a #shadow-root (open) but no specific part that I can use to change this new layout.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;We prefer how it was displayed before as now it sticks out like a sore thumb on the page.&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;slot[name="title"]::slotted(*)&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;::slotted([slot="title"])&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;OL class=""&gt;&lt;LI&gt;&lt;SPAN class=""&gt;margin&lt;/SPAN&gt;&lt;SPAN class=""&gt;: &lt;/SPAN&gt;&lt;SPAN class=""&gt;0px&lt;/SPAN&gt;&lt;SPAN class=""&gt;;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;font-size&lt;/SPAN&gt;&lt;SPAN class=""&gt;: &lt;/SPAN&gt;&lt;SPAN class=""&gt;var(&lt;SPAN class=""&gt;--calcite-font-size--2&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;line-height&lt;/SPAN&gt;&lt;SPAN class=""&gt;: &lt;/SPAN&gt;&lt;SPAN class=""&gt;1.375&lt;/SPAN&gt;&lt;SPAN class=""&gt;;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;font-weight&lt;/SPAN&gt;&lt;SPAN class=""&gt;: &lt;/SPAN&gt;&lt;SPAN class=""&gt;var(&lt;SPAN class=""&gt;--calcite-font-weight-medium&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;Any help would be much appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Before&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FWW_1-1698243653077.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/83945iB501B67B73CBB046/image-size/medium?v=v2&amp;amp;px=400" role="button" title="FWW_1-1698243653077.png" alt="FWW_1-1698243653077.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;After update&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FWW_0-1698243571103.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/83944iC8F695F6230B4A74/image-size/medium?v=v2&amp;amp;px=400" role="button" title="FWW_0-1698243571103.png" alt="FWW_0-1698243571103.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 14:21:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/change-to-calcite-card-font-size-and-font-weight/m-p/1341391#M5919</guid>
      <dc:creator>FWW</dc:creator>
      <dc:date>2023-10-25T14:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Change to calcite-card font size and font weight</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/change-to-calcite-card-font-size-and-font-weight/m-p/1342346#M5924</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/539073"&gt;@FWW&lt;/a&gt;,&amp;nbsp;we've recently upgraded the Summary Statistic Card (you can read more about the update&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-hub-blog/an-upgrade-to-hub-s-summary-statistic-card/ba-p/1341077" target="_self"&gt;here&lt;/A&gt;). The Summary Statistic Card is now built using web components, which will allow these cards (and others that are built using web components) to be easily embeddable and re-usable outside of Hub. One tradeoff, however, is that web components cannot be styled using custom CSS and can only be styled using built-in settings. With this in mind, we designed the new card to be clear and legible across sites and devices.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are open to feedback about additional styling options that could be built-in to the system. Are there specific styling options that you would like to see?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 20:56:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/change-to-calcite-card-font-size-and-font-weight/m-p/1342346#M5924</guid>
      <dc:creator>JayDev</dc:creator>
      <dc:date>2023-10-26T20:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: Change to calcite-card font size and font weight</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/change-to-calcite-card-font-size-and-font-weight/m-p/1343822#M5931</link>
      <description>&lt;P&gt;&amp;nbsp;I also encountered this when I was about to demo a hub site to executive level staff. My stats are now wrapping the text which does not look good and I will ahve to realign the stats cards &amp;amp; spacers to try and a consistent look like I had previously.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I donot have any suggestions reallly, just a comment about how my site's components no longer line up and look nice.&lt;/P&gt;&lt;P&gt;If these cards are going to be easily embeddable and reuseable outside of hub, thats great! Will we be able to use these stats cards in Story Maps? Right now we use one indicator dashboards and that isnt ideal. Looking forward to hearing more about this&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 14:04:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/change-to-calcite-card-font-size-and-font-weight/m-p/1343822#M5931</guid>
      <dc:creator>TPB_COGGIS_Team</dc:creator>
      <dc:date>2023-10-31T14:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: Change to calcite-card font size and font weight</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/change-to-calcite-card-font-size-and-font-weight/m-p/1343965#M5933</link>
      <description>&lt;P&gt;Hi JayDev,&lt;/P&gt;&lt;P&gt;Thank you for your response. Ideally some way to expose the font size and weight, or have it as a customisable option in the settings of the card on ArcGIS hub. My colleague had to go through 150 pages and change the cards on each page which was incredibly time consuming for them.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 16:35:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/change-to-calcite-card-font-size-and-font-weight/m-p/1343965#M5933</guid>
      <dc:creator>FWW</dc:creator>
      <dc:date>2023-10-31T16:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Change to calcite-card font size and font weight</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/change-to-calcite-card-font-size-and-font-weight/m-p/1349964#M5967</link>
      <description>&lt;P&gt;Please please please have your devs review HTML's ::part documentation. By adding the `part` attribute within your components we will be able to style them as needed.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.mozilla.org/en-US/docs/Web/CSS/::part" target="_blank"&gt;https://developer.mozilla.org/en-US/docs/Web/CSS/::part&lt;/A&gt;&lt;/P&gt;&lt;P&gt;As an example, the textarea field was recently modified to include a `min-inline-size: 12rem;` styling, which is too big for where I was placing it.&lt;/P&gt;&lt;P&gt;Ideally you'd be putting `part`s on just about every element.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your component:&lt;/P&gt;&lt;P&gt;&amp;lt;textarea ... part="textarea"&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;My CSS:&lt;/P&gt;&lt;P&gt;.esri-feature-form__input::part(textarea) { min-inline-size: auto; }&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;This works for me when mocking it up in dev tools, but without a part attribute to hook into, we're dead in the water on changing these stylings.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 21:03:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/change-to-calcite-card-font-size-and-font-weight/m-p/1349964#M5967</guid>
      <dc:creator>NicholasWright</dc:creator>
      <dc:date>2023-11-15T21:03:29Z</dc:date>
    </item>
  </channel>
</rss>

