<?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 Dinamically change custom css on theme change in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Dinamically-change-custom-css-on-theme-change/m-p/507540#M9071</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I have a dashboard with custom stylesheet that works beautifully on light theme. When theme changes to dark the css is no longer compatible with visual requirements. I do have another stylesheet that i could use with that theme though.&lt;/P&gt;&lt;P&gt;My question here is: "Is it possible to automatize custom stylesheet change on theme change?".&lt;/P&gt;&lt;P&gt;So far i tried using token reference like:&amp;nbsp;&amp;lt;form stylesheet="$stylesheet$.css" theme="light"&amp;gt; and then change that token in an input accordingly. Also i was not able to solve this using custom JS as well.&lt;/P&gt;&lt;P&gt;Would appreciate any help on this.&lt;/P&gt;&lt;P&gt;Thanks &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 06 Jul 2020 12:35:12 GMT</pubDate>
    <dc:creator>Mladjo</dc:creator>
    <dc:date>2020-07-06T12:35:12Z</dc:date>
    <item>
      <title>Dinamically change custom css on theme change</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Dinamically-change-custom-css-on-theme-change/m-p/507540#M9071</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I have a dashboard with custom stylesheet that works beautifully on light theme. When theme changes to dark the css is no longer compatible with visual requirements. I do have another stylesheet that i could use with that theme though.&lt;/P&gt;&lt;P&gt;My question here is: "Is it possible to automatize custom stylesheet change on theme change?".&lt;/P&gt;&lt;P&gt;So far i tried using token reference like:&amp;nbsp;&amp;lt;form stylesheet="$stylesheet$.css" theme="light"&amp;gt; and then change that token in an input accordingly. Also i was not able to solve this using custom JS as well.&lt;/P&gt;&lt;P&gt;Would appreciate any help on this.&lt;/P&gt;&lt;P&gt;Thanks &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2020 12:35:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Dinamically-change-custom-css-on-theme-change/m-p/507540#M9071</guid>
      <dc:creator>Mladjo</dc:creator>
      <dc:date>2020-07-06T12:35:12Z</dc:date>
    </item>
  </channel>
</rss>

