I am using a v-switch in a ui-template and want to specify the colour when the switch is in the Off state. Reading the docs, and google, suggested to me that base-color
might do the job, though I am not sure, and can't find an example of using it. I can't get base-color
to make any difference at all. I have just this in the template
<template>
<div>
<v-switch color="blue" base-color="black">
</switch>
</div>
</template>
Using NR 4.0.0 Beta 2, Dashboard 1.7.1
[{"id":"3481af21e0e20c45","type":"ui-template","z":"997da33a0beedade","group":"4f87bd59a15b847e","name":"switch base-color test","order":0,"width":0,"height":0,"head":"","format":"<template>\n <div>\n <v-switch color=\"blue\" base-color=\"black\">\n </switch>\n </div>\n</template>\n\n","storeOutMessages":true,"passthru":true,"resendOnRefresh":true,"templateScope":"local","className":"","x":470,"y":5200,"wires":[[]]},{"id":"4f87bd59a15b847e","type":"ui-group","name":"test","page":"ebe9054315fb0b03","width":"6","height":"1","order":-1,"showTitle":false,"className":"","visible":"true","disabled":"false"},{"id":"ebe9054315fb0b03","type":"ui-page","name":"Test","ui":"ID-BASE-1","path":"/test","icon":"home","layout":"grid","theme":"f9b6670b127dc219","order":-1,"className":"","visible":"true","disabled":"false"},{"id":"ID-BASE-1","type":"ui-base","name":"Dashboard","path":"/dashboard"},{"id":"f9b6670b127dc219","type":"ui-theme","name":"FlowForge Theme","colors":{"surface":"#152a47","primary":"#005aff","bgPage":"#ffffff","groupBg":"#ffffff","groupOutline":"#cc3e3e"},"sizes":{"pagePadding":"12px","groupGap":"12px","groupBorderRadius":"4px","widgetGap":"12px"}}]