less pips for faders & set custome color on root widget's root element to allow css overriding
This commit is contained in:
parent
19f474ac69
commit
010fab2248
3 changed files with 8 additions and 8 deletions
|
|
@ -145,13 +145,13 @@ module.exports.widgets = function(data,parent) {
|
|||
</div>
|
||||
`)
|
||||
|
||||
if (widgetData.color && widgetData.color!='auto') widgetContainer[0].style.setProperty('--color-accent',widgetData.color)
|
||||
|
||||
if (widgetData.label===false) widgetContainer.addClass('nolabel')
|
||||
|
||||
// create widget
|
||||
var widgetInner = createWidget[widgetData.type](widgetData,widgetContainer)
|
||||
|
||||
if (widgetData.color && widgetData.color!='auto') widgetInner[0].style.setProperty('--color-accent',widgetData.color)
|
||||
|
||||
widgetContainer[0].appendChild(widgetInner[0])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue