A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
MMM-Calendar Ext2 google calendar colors
-
-
Impossible to inherit Google’s colour setting (The event itself has no information about how it shows in Google calendar)
-
You can
transform
your event to get a different CSS className by the condition of events.
See theSort, Filter, Transform
parts of MMM-CalendarExt2 documents.
-
-
@MMRIZE thanks i try that.
-
@MMRIZE thanks for helping me in the right direction. This worked for me
In config.js
Under views:transform: function(event) { if (event.title.search("Holiday") > -1) { event.className = "Holiday"; } else if(event.title.search("Work") > -1) { event.className = "Work" } return event; }, },
In the custom.css
.CX2 .Holiday.fullday { background-color:rgba(0,0,255); color:#000; } .CX2 .Work.fullday { background-color:rgba(0,128,128); color:#000;
-
@fedale always put your code or config or css entries in a code wrapper
paste, select the text you just pasted
and hit the </> button above the edit windowfixed for u this time
-
@sdetweil Sorry about that, thank you