<?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 Custom widget match theme/text size? in ArcGIS Dashboards Questions</title>
    <link>https://community.esri.com/t5/arcgis-dashboards-questions/custom-widget-match-theme-text-size/m-p/498000#M2776</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any way when creating a custom JavaScript widget for the Operations Dashboard to have it match the theme or text size selected by the user? Obviously I can replicate specific font colors and sizes for the individual themes (Light, Medium, and Dark) and text sizes (Small, Medium, and Large), but how do we get the style of the custom widget to respond to the user changing either one of those things? For example, I can match the Dark theme and Medium text size:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/132803_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;But if the user changes to the Light theme and Small text size, things don't look so good:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/132804_pastedImage_3.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;Thanks for any assistance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Oct 2015 16:49:42 GMT</pubDate>
    <dc:creator>BenSaunders1</dc:creator>
    <dc:date>2015-10-22T16:49:42Z</dc:date>
    <item>
      <title>Custom widget match theme/text size?</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/custom-widget-match-theme-text-size/m-p/498000#M2776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any way when creating a custom JavaScript widget for the Operations Dashboard to have it match the theme or text size selected by the user? Obviously I can replicate specific font colors and sizes for the individual themes (Light, Medium, and Dark) and text sizes (Small, Medium, and Large), but how do we get the style of the custom widget to respond to the user changing either one of those things? For example, I can match the Dark theme and Medium text size:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/132803_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;But if the user changes to the Light theme and Small text size, things don't look so good:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/132804_pastedImage_3.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;Thanks for any assistance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2015 16:49:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/custom-widget-match-theme-text-size/m-p/498000#M2776</guid>
      <dc:creator>BenSaunders1</dc:creator>
      <dc:date>2015-10-22T16:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: Custom widget match theme/text size?</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/custom-widget-match-theme-text-size/m-p/498001#M2777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ben, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At this point our extensibility framework isn't capable of detecting theme switching, but this is definitely one of the features we want to do in out future release. For now, you might want to consider adding background color for your extension (see &lt;A href="https://github.com/Esri/dashboard-samples/tree/master/geoEnrichmentWidget"&gt;our elevation profile sample&lt;/A&gt;). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 01:24:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/custom-widget-match-theme-text-size/m-p/498001#M2777</guid>
      <dc:creator>TifPun</dc:creator>
      <dc:date>2015-12-15T01:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Custom widget match theme/text size?</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/custom-widget-match-theme-text-size/m-p/498002#M2778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply, Tif! I've gone ahead and have been using some Bootstrap templates that have worked fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the meantime I look forward to that enhancement!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 16:57:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/custom-widget-match-theme-text-size/m-p/498002#M2778</guid>
      <dc:creator>BenSaunders1</dc:creator>
      <dc:date>2015-12-16T16:57:29Z</dc:date>
    </item>
  </channel>
</rss>

