Hi all,
looking for some help please as really struggling to get the mirror to show different events in people names to show a different colour.
I have one calendar linked to the mirror and looking to set up the calendar has a name in the title that the text is a different colour however can’t for the life of me figure it out via the various forums etc.
This is my config set up:
{
module: "calendar",
header: "Bradley Family",
position: "top_left",
config: {
calendars: [
{
fetchInterval: 7 * 24 * 60 * 60 * 1000,
symbol: "calendar-check",
url: "
}
]
}
},
{
module: "MMM-CalendarExt3",
position: "fullscreen_below",
},
I have tried various under custom ccs by none coming through:
.CX3 .event[data-calendar-name=“Evie”] {
color: #FF0000;
}
.CX3 .eventTransformer: (ev) => {
if (ev.title.search(‘Evie’) > -1) ev.color = ‘#FF0000’
return ev
}
.CX3 .event .eventTransformer: (ev) => {
if (ev.title.search(‘Liam’) > -1) ev.color = ‘#FF0000’
return ev
}
.CX3 .event .eventTransformer: (ev) => {
if (ev.title.search(‘Liam’) > -1) ev.color = ‘#FF0000’
}
return ev
Any ideas? not great with this so all help appreciated!