doc: better explaination of css vars

This commit is contained in:
jean-emmanuel 2021-09-29 09:41:05 +02:00
parent 55cc2bdab3
commit e8004e2db5

View file

@ -93,7 +93,7 @@ class Widget extends EventEmitter {
]},
css: {type: 'string', value: '', help: [
'CSS rules. See <a href="https://openstagecontrol.ammd.net/docs/customization/css-tips/">documentation</a>.',
'Available css variables:',
'Some style-related properties can be set or read from css using css variables:',
...Class.cssVariables.map(x=>'- `' + x.css + '`: `' + x.js + '`')
]},
},