Thank you very much for your effort. I try to describe as best as I can what is working now so that others can learn from it.
Okay, I did some further research based on the term symbol and saw that the symbols had to be added in the general calendar. I also saw them in MMM-CalendarExt3 as below.
Will show my config code here:
{
module: "calendar",
header: "Familie agenda",
position: "top_left",
config: {
calendars: [
{
fetchInterval: 7 * 24 * 60 * 60 * 1000,
symbol: "calendar-check",
url: "outlook url"
}
],
customEvents: [
{keyword: "zwemmen", symbol: "person-swimming fas fa-fw fa-person-swimming"},
{keyword: "padel", symbol: "running fas fa-fw fa-running"},
{keyword: "zingen", symbol: "music fas fa-fw fa-music"},
{keyword: "verjaardag", symbol: "cake-candles fas fa-fw fa-cake-candles"},
{keyword: "volleybal", symbol: "volleyball fas fa-fw fa-volleyball"}
],
}
},
{
module: "MMM-CalendarExt3",
position: "lower_third",
title: "",
config: {
eventTransformer: (ev) => {
if (ev.title.search('Uitje') > -1) ev.color = 'blue'
if (ev.title.search('Verjaardag') > -1) ev.color = '#FF69B4'
I will also try your previous code.
I would also like to control the color via CSS in the config file.
How are you doing this? I already tried something but this doesn’t seem to work.