Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Qlik Community,
I'm customizing a Qlik theme and have two questions I could really use help with:
I want to define a default measure color (e.g., white for dark mode), but still allow designers to change the measure color in the property panel. Currently, it stays fixed and cannot be overridden.
theme.json:"object": {
"kpi": {
"value": {
"color": "@measureColor"
}
}
},
"color": {
"palette": {
"measureColor": "#FFFFFF"
}
}
theme.css:.qv-object * {
color: #FFFFFF !important;
}
But this seems to override everything and makes the measure color uneditable in the UI. What's the correct way to define a default color without locking it?
I'd like to set axis tick numbers (e.g., 0, 5, 10…) to a specific color like #E0E0E0, but keep titles/labels untouched.
theme.css:.qv-axis text,
text.qv-axis {
fill: #E0E0E0 !important;
}
Also tried:
.qv-object-axis text {
fill: #E0E0E0 !important;
}
Neither worked. Does anyone know the right selector or workaround for targeting just tick values?
I’ll include a screenshot for clarity.
Thanks so much in advance!
Could you please suggest what is the key objective of doing these via the Theme ? isn't it there or doable with the default options which we have.
If you can share some insights about your task, it would help me to share more details.