Hi there,
Today I've installed digital clock on my dashboard.
I would like to change it's color , but I have no success.It is black now.
The information I've found was useless and didn't help me.
Node red v.3.0.2, node-red-contrib-ui-digital-clock v.1.0.0
Any advice?
- Upgrade Node-red. The current version is 4.1.
- The original dashboard is now deprecated. Consider moving from node-red-dashboard to @flowfuse/node-red-dashboard or uibuilder.
- Try a CSS template like this
<style>
.nr-dashboard-template.nr-dashboard-ui_digital_clock svg path {
fill: red;
}
</style>
Thank You jbudd!
I'm using Node red almost for year and I have to learn a lot of things.
I don't how to upgrade to new version , neither @flowfuse/node-red-dashbor or uibuilder.
But You gave me the direction! Thank's!
I will read, I will try and if than I have some questions, will come back here.
It depends on what platform you have Node-red installed on.
If it's a Debian based Linux machine such as a Raspberry Pi then it's usually as simple as rerunning the Raspberry Pi installation script.
Unfortunately either of these will involve a considerable effort to adapt your existing dashboard.