<?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: Custom Theme with json and css is being ignored. in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Custom-Theme-with-json-and-css-is-being-ignored/m-p/1951596#M17019</link>
    <description>&lt;P&gt;You need to put in the code:&lt;/P&gt;
&lt;P&gt;"_inherit": false&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm now trying to deal with it because right now my background color when selection is being made, do not match&lt;/P&gt;</description>
    <pubDate>Tue, 05 Jul 2022 07:24:49 GMT</pubDate>
    <dc:creator>ester_pr</dc:creator>
    <dc:date>2022-07-05T07:24:49Z</dc:date>
    <item>
      <title>Custom Theme with json and css is being ignored.</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Custom-Theme-with-json-and-css-is-being-ignored/m-p/1893514#M16296</link>
      <description>&lt;P&gt;I try to create my own custom theme and I am an absolute beginner in this topic.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My problem is that only some configurations are implemented, and most are ignored.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is my json (theme.json):&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
    "_inherit": true,
    "_variables": {
        "@Orange": "#F98128",
        "@Blue": "#1b2953",
        "@White": "#ffffff"
    },
    "color": "@White",           /* ignored */
    "fontSize": "12px",
    "backgroundColor": "@Blue",  /* works */
    "object": {
        "title": {
            "main": {
                "fontSize": "20px"
            }
        },
        "label": {
            "name": {
                "color": "@White". /* ignored */
            },
            "value": {
                "color": "@White"  /* ignored */
            }

        }
    },
    "dataColors": {
        "primaryColor": "@Orange". /* ignored - data at least isn't orange */
    }
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;This is my CSS (theme.css; note that all of them work in the S&lt;EM&gt;tyles&lt;/EM&gt; field of a Multi KPI object.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="css"&gt;.qv-panel-sheet {
    background: #1b2953;  /* ignored */
}

.qv-object * {
    color: #ffffff;  /* only applied to axes of charts */
}

.qv-listbox {
    background-color: #1b2953;  /* works */
}

.lui-button.lui-active {
    background-color: #F98128; /* ignored */
}



&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am a little overwhelmed right now. My App has now blue background, white axes, but the rest is inherited (see attached image)&lt;/P&gt;
&lt;P&gt;Why does my CSS work in injected CSS but not in a theme.css file?&lt;/P&gt;
&lt;P&gt;Why are most configurations from the JSON ignored?&lt;BR /&gt;&lt;SPAN&gt;(For some reason backgroundColor was ignored, too, before I specified label in the JSON).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Why does it seem so erratic?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Any help would be greatly appreciated. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 07:25:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Custom-Theme-with-json-and-css-is-being-ignored/m-p/1893514#M16296</guid>
      <dc:creator>Kellerassel</dc:creator>
      <dc:date>2022-02-16T07:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Theme with json and css is being ignored.</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Custom-Theme-with-json-and-css-is-being-ignored/m-p/1951596#M17019</link>
      <description>&lt;P&gt;You need to put in the code:&lt;/P&gt;
&lt;P&gt;"_inherit": false&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm now trying to deal with it because right now my background color when selection is being made, do not match&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 07:24:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Custom-Theme-with-json-and-css-is-being-ignored/m-p/1951596#M17019</guid>
      <dc:creator>ester_pr</dc:creator>
      <dc:date>2022-07-05T07:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Theme with json and css is being ignored.</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Custom-Theme-with-json-and-css-is-being-ignored/m-p/1964028#M17148</link>
      <description>&lt;P&gt;You need&amp;nbsp; referenced your CSS file in json file like this:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;"customStyles":[&lt;BR /&gt;{&lt;BR /&gt;"cssRef":"theme.css",&lt;BR /&gt;"classRef":"sense-theme"&lt;BR /&gt;}&lt;BR /&gt;]&lt;/P&gt;
&lt;P&gt;Add above code after dataColors Object. Not sure why variables are not working in your case I guess try with direct hex values instead of varibles.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 12:03:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Custom-Theme-with-json-and-css-is-being-ignored/m-p/1964028#M17148</guid>
      <dc:creator>vighneshg</dc:creator>
      <dc:date>2022-08-03T12:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Theme with json and css is being ignored.</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Custom-Theme-with-json-and-css-is-being-ignored/m-p/2152783#M19626</link>
      <description>&lt;P&gt;Hi Kellerassel,&lt;/P&gt;
&lt;P&gt;I am new to coding just like you I want to know which tool you are using to code &amp;amp; how do you preview a file without importing it to qmc and Is only json, css and qext file enough to code or create a theme ?&lt;/P&gt;
&lt;P&gt;When I create the css file and json file with notepad and saved it than I imported the zip file via qmc but only name reflects but the script not works I mean I gave background color to blue &amp;amp; text color everything but it does not worked It was same like before.&lt;/P&gt;
&lt;P&gt;Please guide me where I am doing the mistake ?&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2023 04:08:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Custom-Theme-with-json-and-css-is-being-ignored/m-p/2152783#M19626</guid>
      <dc:creator>firoz24</dc:creator>
      <dc:date>2023-12-14T04:08:33Z</dc:date>
    </item>
  </channel>
</rss>

