Read the statement by Michael Teeuw here.
Current Weather and Weather Forecast looks grey out.
-
I don’t have any reference to the custom.css in my config.js I feel bad al ready:disappointed_face:
-
@negrito put in your config.js after all global settings the custom.css path
var config = { ... language: "en", timeFormat: 24, units: "metric", customCss: "css/custom.css", ...
-
/home/pi/MagicMirror/modules/default/weatherforecast/weatherforecast.js
in this file change colored from false to true -
@raf please dont edit the code. use config.js
-
@negrito yes, you can put in your config.js
{ module: "weatherforecast", position: "top_right", header: "", config: { location: "Heemskerk", locationID: "2754696", appid: "key removed", fade: false, colored: true, } },
but this is not your issue, make sure you add custom.css path to your config,js
colored: true will change max and min temp colors, then you can change in custom.css:
.weatherforecast tr.colored .min-temp { color: skyblue; } .weatherforecast tr.colored .max-temp { color: orange; }
-
-
@sdetweil sure, whatever, you have this option in loader.js
… and I’m out of this topic! -
@sdetweil Following this: If not in config.js, where do we reference the custom.css?
-
@shagtimetim you never reference custom.css.
it is hard coded in the mm runtime to load custom.css last, to allow it to override any styles set before
u have to do nothing
-
@sdetweil As always, thank you sir.