<?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: Gallery Card Border Red in ArcGIS Hub Initiative in ArcGIS Hub Questions</title>
    <link>https://community.esri.com/t5/arcgis-hub-questions/gallery-card-border-red-in-arcgis-hub-initiative/m-p/1516987#M6314</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/129000"&gt;@KlaraSchmitt&lt;/a&gt;&amp;nbsp;The North Carolina Community Information Portal Team (&lt;A href="http://www.nccip.org" target="_blank"&gt;www.nccip.org&lt;/A&gt;) has figured out how to fix this issue.&amp;nbsp; The issue was that all of the gallery card borders in our initiative had changed to red. Upon inspection&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/139175"&gt;@RobHoward&lt;/a&gt;&amp;nbsp;found the following: It computes the border accent color from other values on the page. In this case, it computes the borderAccent using the following code:&lt;/P&gt;&lt;P&gt;&amp;lt;/&amp;gt; JavaScript&lt;/P&gt;&lt;P&gt;setBorderAccent: (e,t)=&amp;gt;(0,&lt;BR /&gt;n.default)(e).isLight() ? (0,&lt;BR /&gt;n.default)(t.body.text).lighten(40) : (0,&lt;BR /&gt;n.default)(t.body.text).darken(50)&lt;/P&gt;&lt;P&gt;The problem was in the body text color, which was set to a very dark red color, almost black. When the theme generator processed it, it made it 40% lighter since the call to isLight was false.&lt;/P&gt;&lt;P&gt;Solving this was an endeavor!&amp;nbsp; If I could make a recommendation: expose the border accent as a setting instead of computing it from text color.&lt;/P&gt;&lt;P&gt;Thank you to everyone who stepped in to help us fix this issue.&lt;/P&gt;</description>
    <pubDate>Thu, 08 Aug 2024 21:40:39 GMT</pubDate>
    <dc:creator>SarahRadel</dc:creator>
    <dc:date>2024-08-08T21:40:39Z</dc:date>
    <item>
      <title>Gallery Card Border Red in ArcGIS Hub Initiative</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/gallery-card-border-red-in-arcgis-hub-initiative/m-p/1516296#M6301</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was working in my hub, and I noticed that all of my gallery cards have a red border. I did not do this. Before, my cards did not have a border. Is there any way to fix this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sarah&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 18:58:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/gallery-card-border-red-in-arcgis-hub-initiative/m-p/1516296#M6301</guid>
      <dc:creator>SarahRadel</dc:creator>
      <dc:date>2024-08-07T18:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Gallery Card Border Red in ArcGIS Hub Initiative</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/gallery-card-border-red-in-arcgis-hub-initiative/m-p/1516298#M6302</link>
      <description>&lt;P&gt;Have you tried the Hub site on another browser and/or another computer?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 19:12:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/gallery-card-border-red-in-arcgis-hub-initiative/m-p/1516298#M6302</guid>
      <dc:creator>Ed_</dc:creator>
      <dc:date>2024-08-07T19:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Gallery Card Border Red in ArcGIS Hub Initiative</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/gallery-card-border-red-in-arcgis-hub-initiative/m-p/1516317#M6303</link>
      <description>&lt;P&gt;Hi Ed,&lt;/P&gt;&lt;P&gt;Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; I have tried the Hub site on other browsers and other computers, and I am still getting the same result &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sarah&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 19:34:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/gallery-card-border-red-in-arcgis-hub-initiative/m-p/1516317#M6303</guid>
      <dc:creator>SarahRadel</dc:creator>
      <dc:date>2024-08-07T19:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Gallery Card Border Red in ArcGIS Hub Initiative</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/gallery-card-border-red-in-arcgis-hub-initiative/m-p/1516322#M6304</link>
      <description>&lt;P&gt;Hmm that's interesting yeah because I don't see this on my end. Maybe&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/129000"&gt;@KlaraSchmitt&lt;/a&gt;&amp;nbsp;from the ESRI Hub Team might be able to help you on this&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 19:44:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/gallery-card-border-red-in-arcgis-hub-initiative/m-p/1516322#M6304</guid>
      <dc:creator>Ed_</dc:creator>
      <dc:date>2024-08-07T19:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Gallery Card Border Red in ArcGIS Hub Initiative</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/gallery-card-border-red-in-arcgis-hub-initiative/m-p/1516335#M6305</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/564646"&gt;@SarahRadel&lt;/a&gt;&amp;nbsp;Do you have any custom CSS used in your Hub site? Sometimes if you use a CSS selector that is too generic, your CSS will leak out of wherever you put it on the page and affect other elements. This is why we typically recommend at least setting a custom row class and then using that class in front of generic selectors.&lt;BR /&gt;&lt;BR /&gt;.my-special-row .card {border-color: red}&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 19:56:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/gallery-card-border-red-in-arcgis-hub-initiative/m-p/1516335#M6305</guid>
      <dc:creator>KlaraSchmitt</dc:creator>
      <dc:date>2024-08-07T19:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: Gallery Card Border Red in ArcGIS Hub Initiative</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/gallery-card-border-red-in-arcgis-hub-initiative/m-p/1516693#M6308</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/129000"&gt;@KlaraSchmitt&lt;/a&gt;&amp;nbsp;I do have a custom header, but I have never had this issue before with it.&amp;nbsp; When inspecting the page, I can see where the issue is, but it will not accept my changes. Is there any way that you can help me with this?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 14:39:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/gallery-card-border-red-in-arcgis-hub-initiative/m-p/1516693#M6308</guid>
      <dc:creator>SarahRadel</dc:creator>
      <dc:date>2024-08-08T14:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: Gallery Card Border Red in ArcGIS Hub Initiative</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/gallery-card-border-red-in-arcgis-hub-initiative/m-p/1516699#M6309</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/564646"&gt;@SarahRadel&lt;/a&gt;&amp;nbsp;Sure. Paste the code you think is responsible.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;When you say it's not accepting your changes, do you mean you cannot click the Apply button in the code editor? Do you see any warning icons in your code editor? (This would signify that you have a validation error and we cannot save code we know would compile in a way that would break things.)&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 14:44:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/gallery-card-border-red-in-arcgis-hub-initiative/m-p/1516699#M6309</guid>
      <dc:creator>KlaraSchmitt</dc:creator>
      <dc:date>2024-08-08T14:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: Gallery Card Border Red in ArcGIS Hub Initiative</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/gallery-card-border-red-in-arcgis-hub-initiative/m-p/1516715#M6310</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/554773"&gt;@Ed_&lt;/a&gt;&amp;nbsp;Thank you&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 15:01:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/gallery-card-border-red-in-arcgis-hub-initiative/m-p/1516715#M6310</guid>
      <dc:creator>SarahRadel</dc:creator>
      <dc:date>2024-08-08T15:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Gallery Card Border Red in ArcGIS Hub Initiative</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/gallery-card-border-red-in-arcgis-hub-initiative/m-p/1516722#M6311</link>
      <description>&lt;P&gt;No worries, I am glad that I was able to point you in the right direction and&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/129000"&gt;@KlaraSchmitt&lt;/a&gt;&amp;nbsp;is an excellent resource&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Good luck!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 15:23:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/gallery-card-border-red-in-arcgis-hub-initiative/m-p/1516722#M6311</guid>
      <dc:creator>Ed_</dc:creator>
      <dc:date>2024-08-08T15:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: Gallery Card Border Red in ArcGIS Hub Initiative</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/gallery-card-border-red-in-arcgis-hub-initiative/m-p/1516927#M6312</link>
      <description>&lt;P&gt;Hi Klara,&lt;/P&gt;&lt;P&gt;Thank you so much for taking the time to help me with this issue.&amp;nbsp; It looks like it is an inline style being defined on the HTML element itself. I do not think that my team and I can change the style at our level. Here is the link to our ArcGIS Hub: &lt;A href="http://www.nccip.org" target="_blank"&gt;www.nccip.org&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;lt;html lang="en-us" style="--vh: 12.89px; --headerBackground: #ffffff; --headerText: #0f2d50; --headerTextTransparent: hsla(212, 68%, 19%, 0); --headerSecondTierBackground: #e0e0e0; --bodyBackground: #ffffff; --bodyText: #170606; --bodyLink: #2c2c2c; --bodyLinkHoverColor: #121212; --bodyTextAlpha08: hsla(0, 59%, 6%, 0.08); --bodyTextAlpha15: hsla(0, 59%, 6%, 0.15); --bodyTextAlpha20: hsla(0, 59%, 6%, 0.2); --bodyLinkTransparent: hsla(0, 0%, 17%, 0); --bodyBackgroundMed: #f7f7f7; --bodyBackgroundDark: #f2f2f2; --bodyBackgroundAlpha50: hsla(0, 0%, 100%, 0.5); --bodyBackgroundTransparent: hsla(0, 0%, 100%, 0); --bodyBorderAccent: #b93030; --bodyTextLight: #3f1111; --bodyTextLighter: #7c2020; --bodyContrastSafeLink: #2c2c2c; --bodyContrastSafeLinkTransparent: hsla(0, 0%, 17%, 0); --bodyContrastSafeText: #170606; --bodyLinkAlpha60: hsla(0, 0%, 17%, 0.6); --bodyLinkForWhiteBackground: #2c2c2c; --fontsBaseFamily: Avenir Next; --fontsHeadingFamily: Avenir Next; --globalNavBackground: #172c4d; --globalNavText: #ffffff; --buttonBackgroundHoverColor: #121212; --buttonBackgroundAlpha08: hsla(0, 0%, 17%, 0.08); --header-height: 173px; --logoSmall: &lt;A href="https://water.ecu.edu/wp-content/pv-uploads/sites/292/2021/09/NSF-CoPe-logo-1024x328.png" target="_blank" rel="noopener"&gt;https://water.ecu.edu/wp-content/pv-uploads/sites/292/2021/09/NSF-CoPe-logo-1024x328.png&lt;/A&gt;; --footer-height: 46px;" hydrated="" class="hydrated" calcite-hydrated=""&amp;gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 20:06:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/gallery-card-border-red-in-arcgis-hub-initiative/m-p/1516927#M6312</guid>
      <dc:creator>SarahRadel</dc:creator>
      <dc:date>2024-08-08T20:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: Gallery Card Border Red in ArcGIS Hub Initiative</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/gallery-card-border-red-in-arcgis-hub-initiative/m-p/1516987#M6314</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/129000"&gt;@KlaraSchmitt&lt;/a&gt;&amp;nbsp;The North Carolina Community Information Portal Team (&lt;A href="http://www.nccip.org" target="_blank"&gt;www.nccip.org&lt;/A&gt;) has figured out how to fix this issue.&amp;nbsp; The issue was that all of the gallery card borders in our initiative had changed to red. Upon inspection&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/139175"&gt;@RobHoward&lt;/a&gt;&amp;nbsp;found the following: It computes the border accent color from other values on the page. In this case, it computes the borderAccent using the following code:&lt;/P&gt;&lt;P&gt;&amp;lt;/&amp;gt; JavaScript&lt;/P&gt;&lt;P&gt;setBorderAccent: (e,t)=&amp;gt;(0,&lt;BR /&gt;n.default)(e).isLight() ? (0,&lt;BR /&gt;n.default)(t.body.text).lighten(40) : (0,&lt;BR /&gt;n.default)(t.body.text).darken(50)&lt;/P&gt;&lt;P&gt;The problem was in the body text color, which was set to a very dark red color, almost black. When the theme generator processed it, it made it 40% lighter since the call to isLight was false.&lt;/P&gt;&lt;P&gt;Solving this was an endeavor!&amp;nbsp; If I could make a recommendation: expose the border accent as a setting instead of computing it from text color.&lt;/P&gt;&lt;P&gt;Thank you to everyone who stepped in to help us fix this issue.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 21:40:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/gallery-card-border-red-in-arcgis-hub-initiative/m-p/1516987#M6314</guid>
      <dc:creator>SarahRadel</dc:creator>
      <dc:date>2024-08-08T21:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: Gallery Card Border Red in ArcGIS Hub Initiative</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/gallery-card-border-red-in-arcgis-hub-initiative/m-p/1517485#M6315</link>
      <description>&lt;P&gt;Good job figuring it out! I appreciate your feedback and yes, we do run that function because previously we were hardcoded to a mid-level gray, but that couldn't been seen in dark themes, so then we switched to using a lightened version of the text color to try to account for theme variation. But I will pass along the feedback about exposing a method to set border-color and sorry it caused such mayhem for you.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2024 14:25:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/gallery-card-border-red-in-arcgis-hub-initiative/m-p/1517485#M6315</guid>
      <dc:creator>KlaraSchmitt</dc:creator>
      <dc:date>2024-08-09T14:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Gallery Card Border Red in ArcGIS Hub Initiative</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/gallery-card-border-red-in-arcgis-hub-initiative/m-p/1517616#M6316</link>
      <description>&lt;P&gt;You tagged to wrong Rob Howard&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Adding to Sarah's suggestion, I'd like to at least see the computed colors shown on the settings form even if they're read only. We've dealt with a lot of groups who lack the technical expertise to debug an issue like this and having the computed colors listed would give them a starting point that doesn't involve attaching a debugger.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2024 17:36:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/gallery-card-border-red-in-arcgis-hub-initiative/m-p/1517616#M6316</guid>
      <dc:creator>howardro</dc:creator>
      <dc:date>2024-08-09T17:36:50Z</dc:date>
    </item>
  </channel>
</rss>

