<?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: CSS Support For Public Notification Instant App in ArcGIS Instant Apps Questions</title>
    <link>https://community.esri.com/t5/arcgis-instant-apps-questions/css-support-for-public-notification-instant-app/m-p/1366220#M2236</link>
    <description>&lt;P&gt;Kelly, (Please see below). I'm just looking for some boilerplate CSS, that works to customize the app and so far none of this has elicited a response. It still shows the default dark mode CSS elements. Thank you!&lt;/P&gt;&lt;PRE&gt;h1.esri-widget__heading {&lt;BR /&gt;font-family: var(--calcite-sans-family);&lt;BR /&gt;font-size: var(--calcite-font-size-0);&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;.calcite-mode-dark {&lt;BR /&gt;--calcite-ui-brand: #d6b9eb;&lt;BR /&gt;--calcite-ui-brand-hover: #c59cd6;&lt;BR /&gt;--calcite-ui-brand-press: #b399c4;&lt;BR /&gt;--calcite-ui-background: #3e3342;&lt;BR /&gt;--calcite-ui-foreground-1: #2e2933;&lt;BR /&gt;--calcite-ui-foreground-2: #2b262c;&lt;BR /&gt;--calcite-ui-foreground-3: #1b181b; &lt;BR /&gt;}&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jan 2024 12:07:41 GMT</pubDate>
    <dc:creator>AlexManikas</dc:creator>
    <dc:date>2024-01-04T12:07:41Z</dc:date>
    <item>
      <title>CSS Support For Public Notification Instant App</title>
      <link>https://community.esri.com/t5/arcgis-instant-apps-questions/css-support-for-public-notification-instant-app/m-p/1365732#M2232</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've noticed the custom CSS box in the Public Notification Instant App; however, it does not seem to accept any CSS code I put in there. I've been copying and pasting some of the example code from (&lt;A href="https://developers.arcgis.com/documentation/app-builders/no-code/arcgis-instant-apps-calcite-variables/#how-it-works" target="_blank"&gt;Calcite variables | Documentation | ArcGIS Developers&lt;/A&gt;). Also, the app is not listed in the table of custom CSS apps; however, it has a custom CSS box. Is this app not available to customize yet? If it is, please send over some type of code that might trigger some sort of response.&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2024 13:23:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-instant-apps-questions/css-support-for-public-notification-instant-app/m-p/1365732#M2232</guid>
      <dc:creator>AlexManikas</dc:creator>
      <dc:date>2024-01-03T13:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: CSS Support For Public Notification Instant App</title>
      <link>https://community.esri.com/t5/arcgis-instant-apps-questions/css-support-for-public-notification-instant-app/m-p/1365901#M2233</link>
      <description>&lt;P&gt;Can you provide an example of the css you are trying to use with Public Notification?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2024 17:25:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-instant-apps-questions/css-support-for-public-notification-instant-app/m-p/1365901#M2233</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2024-01-03T17:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: CSS Support For Public Notification Instant App</title>
      <link>https://community.esri.com/t5/arcgis-instant-apps-questions/css-support-for-public-notification-instant-app/m-p/1366220#M2236</link>
      <description>&lt;P&gt;Kelly, (Please see below). I'm just looking for some boilerplate CSS, that works to customize the app and so far none of this has elicited a response. It still shows the default dark mode CSS elements. Thank you!&lt;/P&gt;&lt;PRE&gt;h1.esri-widget__heading {&lt;BR /&gt;font-family: var(--calcite-sans-family);&lt;BR /&gt;font-size: var(--calcite-font-size-0);&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;.calcite-mode-dark {&lt;BR /&gt;--calcite-ui-brand: #d6b9eb;&lt;BR /&gt;--calcite-ui-brand-hover: #c59cd6;&lt;BR /&gt;--calcite-ui-brand-press: #b399c4;&lt;BR /&gt;--calcite-ui-background: #3e3342;&lt;BR /&gt;--calcite-ui-foreground-1: #2e2933;&lt;BR /&gt;--calcite-ui-foreground-2: #2b262c;&lt;BR /&gt;--calcite-ui-foreground-3: #1b181b; &lt;BR /&gt;}&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 12:07:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-instant-apps-questions/css-support-for-public-notification-instant-app/m-p/1366220#M2236</guid>
      <dc:creator>AlexManikas</dc:creator>
      <dc:date>2024-01-04T12:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: CSS Support For Public Notification Instant App</title>
      <link>https://community.esri.com/t5/arcgis-instant-apps-questions/css-support-for-public-notification-instant-app/m-p/1366380#M2237</link>
      <description>&lt;P&gt;For public notification try to scope the css to the public notification element. Here's an example showing how to do that. For the h1 css you have which header are you trying to modify. It looks like the header for a widget maybe?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="css"&gt;public-notification{
--calcite-ui-brand: #d6b9eb;
--calcite-ui-brand-hover: #c59cd6;
--calcite-ui-brand-press: #b399c4;
--calcite-ui-background: #3e3342;
--calcite-ui-foreground-1: #2e2933;
--calcite-ui-foreground-2: #2b262c;
--calcite-ui-foreground-3: #1b181b; 
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 17:20:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-instant-apps-questions/css-support-for-public-notification-instant-app/m-p/1366380#M2237</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2024-01-04T17:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: CSS Support For Public Notification Instant App</title>
      <link>https://community.esri.com/t5/arcgis-instant-apps-questions/css-support-for-public-notification-instant-app/m-p/1366922#M2238</link>
      <description>&lt;P&gt;Thank you that worked! How would I have known to use the &lt;STRONG&gt;public-notification element&lt;/STRONG&gt;? Is there a resource that provides the acceptable elements in the instant app. Or if I want to customize the&amp;nbsp; &lt;STRONG&gt;&lt;EM&gt;.instant-apps-measurement-tool&amp;nbsp;&lt;/EM&gt;element,&amp;nbsp;&lt;/STRONG&gt;how do I know what custom properties can go inside it? I've scoured the GitHub, but it often seems fragmented with information in many places. Thank you, Kelly!&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 18:50:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-instant-apps-questions/css-support-for-public-notification-instant-app/m-p/1366922#M2238</guid>
      <dc:creator>AlexManikas</dc:creator>
      <dc:date>2024-01-05T18:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: CSS Support For Public Notification Instant App</title>
      <link>https://community.esri.com/t5/arcgis-instant-apps-questions/css-support-for-public-notification-instant-app/m-p/1366958#M2239</link>
      <description>&lt;P&gt;Unfortunately I don't have a quick answer for this one. It requires learning about CSS (specificity, CSS variables and more). I think there is some work we could do on the app side for Public Notification that could make it a little easier to figure out. I'll work on that for later this year. But it still can get complex quickly.&amp;nbsp; I think the &lt;A href="https://developer.mozilla.org/en-US/docs/Web/CSS" target="_self"&gt;MDN&lt;/A&gt; doc on CSS is a good place to start.&amp;nbsp; Its also helpful to become familiar with &lt;A href="https://developer.chrome.com/docs/devtools/css" target="_self"&gt;dev tool&lt;/A&gt;s to inspect the apps CSS.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Public Notification we can also get it to work with the example below.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="css"&gt;.App.calcite-mode-dark{
--calcite-ui-brand: #d6b9eb;
--calcite-ui-brand-hover: #c59cd6;
--calcite-ui-brand-press: #b399c4;
--calcite-ui-background: #3e3342;
--calcite-ui-foreground-1: #2e2933;
--calcite-ui-foreground-2: #2b262c;
--calcite-ui-foreground-3: #1b181b; 
}&lt;/LI-CODE&gt;&lt;P&gt;What are you trying to change with the measurement widget? It currently has a styling issue in the Public Notification app that will be fixed in the next release. This is how it will look after the next release.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-01-05 at 11.40.59 AM.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/90701iBB69CDAADCFCAFD1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-01-05 at 11.40.59 AM.png" alt="Screenshot 2024-01-05 at 11.40.59 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;One final note in regards to the custom CSS option is that we don't want people to have to use it.&amp;nbsp; We'd like to continue to expose configuration options that will remove the need for people to resort to custom css for styling the app. In some apps we allow additional color customization and we can look at adding these options to Public Notification later this year.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 19:44:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-instant-apps-questions/css-support-for-public-notification-instant-app/m-p/1366958#M2239</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2024-01-05T19:44:49Z</dc:date>
    </item>
  </channel>
</rss>

