<?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: Accordion Border Color when Selected? in Calcite Design System Questions</title>
    <link>https://community.esri.com/t5/calcite-design-system-questions/accordion-border-color-when-selected/m-p/1597574#M819</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/574219"&gt;@KittyHurley&lt;/a&gt;&amp;nbsp; Aha! I didn't know the "focus" was even a thing—am still learning. Thank you so much for the quick answer, that worked perfectly.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Mar 2025 15:22:36 GMT</pubDate>
    <dc:creator>AaronKoelker</dc:creator>
    <dc:date>2025-03-20T15:22:36Z</dc:date>
    <item>
      <title>Accordion Border Color when Selected?</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/accordion-border-color-when-selected/m-p/1597285#M817</link>
      <description>&lt;P&gt;I'm trying to use the accordion component in an ArcGIS Hub page and have figured out how to change the colors for almost everything&amp;nbsp;&lt;EM&gt;except&lt;/EM&gt; this blue border that appears when you expand the component. I tried using &lt;STRONG&gt;--calcite-accordion-border-color&lt;/STRONG&gt; per&amp;nbsp;&lt;A href="https://developers.arcgis.com/calcite-design-system/components/accordion/#api-reference-styles---calcite-accordion-border-color" target="_blank"&gt;Accordion | Calcite Design System | Esri Developer&lt;/A&gt;&amp;nbsp;, but that only adds a very thin border to the bottom of the accordion. Any ideas? It's obviously not an urgent need but the perfectionist in me wants it to match our branding.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AaronKoelker_0-1742415745356.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/128297i23CD36BA4BB8E5F6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AaronKoelker_0-1742415745356.png" alt="AaronKoelker_0-1742415745356.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;calcite-accordion appearance="transparent" icon-position="start" scale="l" selection-mode="single" icon-type="chevron" calcite-hydrated=""&amp;gt;
&amp;lt;calcite-accordion-item heading="ArcMap Deprecation" style="background-color:#A2350A; color:#ffffff; border-bottom:5px solid #ffffff; --calcite-color-text-1:#fff; ;--calcite-color-text-2:#fff; --calcite-color-text-3:#fff; --calcite-accordion-border-color:#D07954;" calcite-hydrated=""&amp;gt;
            &amp;lt;div class="panel-body" style="background-color:#fff; color:#4c4c4c;"&amp;gt;
              Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi nec ligula sed elit cursus cursus. In porttitor nunc varius, interdum nisl et, fermentum mi. Maecenas eget justo at magna varius interdum. Integer gravida ipsum in fringilla hendrerit. Praesent cursus ligula id volutpat fringilla. Vivamus vestibulum placerat risus non congue. Integer tempor cursus mauris, sit amet dictum eros feugiat in. Praesent facilisis, ante at rutrum blandit, tortor mi placerat massa, id posuere purus lacus vitae nulla.
              &amp;lt;/div&amp;gt;
    &amp;lt;/calcite-accordion-item&amp;gt;
&amp;lt;/calcite-accordion&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 19 Mar 2025 20:26:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/accordion-border-color-when-selected/m-p/1597285#M817</guid>
      <dc:creator>AaronKoelker</dc:creator>
      <dc:date>2025-03-19T20:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: Accordion Border Color when Selected?</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/accordion-border-color-when-selected/m-p/1597550#M818</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/254600"&gt;@AaronKoelker&lt;/a&gt;&amp;nbsp;it looks like the Accordion Item is in focus, so the focus ring color is displaying on the component. You can customize, or modify the variable --calcite-color-focus, and in the upcoming 3.1 release will also default to the --calcite-color-brand CSS variable.&lt;/P&gt;&lt;P&gt;For instance, and also in this &lt;A href="https://codepen.io/geospatialem/pen/NPWMKez" target="_self"&gt;Codepen:&lt;/A&gt;&lt;/P&gt;&lt;LI-CODE lang="css"&gt;#a-custom-accordion-item {
  --calcite-accordion-item-background-color: #a2350a;
  --calcite-accordion-item-heading-text-color: #fff;
  --calcite-accordion-item-text-color: #fff;
  --calcite-accordion-border-color: #d07954;
  --calcite-color-focus: #fff;
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 14:58:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/accordion-border-color-when-selected/m-p/1597550#M818</guid>
      <dc:creator>KittyHurley</dc:creator>
      <dc:date>2025-03-20T14:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: Accordion Border Color when Selected?</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/accordion-border-color-when-selected/m-p/1597574#M819</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/574219"&gt;@KittyHurley&lt;/a&gt;&amp;nbsp; Aha! I didn't know the "focus" was even a thing—am still learning. Thank you so much for the quick answer, that worked perfectly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 15:22:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/accordion-border-color-when-selected/m-p/1597574#M819</guid>
      <dc:creator>AaronKoelker</dc:creator>
      <dc:date>2025-03-20T15:22:36Z</dc:date>
    </item>
  </channel>
</rss>

