Replace solarized-dark-grey-nodes.css with a settings.js configuration
ristomatti opened this issue · 1 comments
ristomatti commented
Node-RED supports setting node colors in settings.js
. This removes the need for awkward CSS trickery to change the node colors in CSS. The CSS colors need to be moved to a JS/JSON file which can then be required directly from node_modules
in settings.js
.
Settings file syntax for reference:
{
editorTheme: {
palette: {
theme: [
// Override node colours - rules test against category/type by RegExp.
{ category: ".*", type: ".*", color: "#f0f" }
]
}
}
}
ctrl50 commented
Hi. wondering if there is any documention on this for node-red I dont understand how to convert the css files to work with this. and Regx Im horrible at.. lol