Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW

Difference between the CSS and JSON file in a Qlik Sense Theme

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Sonja_Bauernfeind
Digital Support
Digital Support

Difference between the CSS and JSON file in a Qlik Sense Theme

Last Update:

Jul 20, 2021 4:30:24 AM

Updated By:

Sonja_Bauernfeind

Created date:

Aug 9, 2017 6:28:15 AM

JSON is currently used to manipulate non-css things, such as chart colours which are drawn using canvas.

Css has been used for a few additional things outside of this, such as sheet backgrounds.

We aim to make it work with only JSON, so that managing CSS selectors won't be necessary. However, We will continue to inject a CSS file for each theme. We just don't want that to be a necessity to adjust most settings. Currently, we use the CSS to get the "cards" look in the example "sense-modern" theme that comes by default in the Themes folder of Qlik Sense. It adjusts things like paddings and add borders, which currently would be troublesome in JSON (as we need to translate in to CSS anyway). Long term plan is of course a theme editor or similar so that most attributes can be changed without knowing CSS OR JSON. 

 

Environment:

Qlik Sense Enterprise on Windows 

Labels (1)
Contributors
Version history
Last update:
‎2021-07-20 04:30 AM
Updated by: