Read the statement by Michael Teeuw here.
MMM-CalendarExt3
-
I thought it was pretty easy
.MMM-CalendarExt3 .calendar_name { color:?????: }
color is foreground, background-color is background
-
@sdetweil I added “background-color: var(–calendarcolor);” to the .CX3.event block to make all events look the same as the full day events. As far as I can tell, that pulls the color I specify for each calendar in the config file. I’m not finding a way to specify the text color for each calendar.
-
@bruteforce well, i had it right, but wrong words
.CX3 .calendar_mytest { color:blue; }
i n the dev window with that element selected
calendar config entry
{ url:"...", name:'mytest', color: 'red' }
note the thing highlighted to the right…
background-color same as cal color, color is reverse...(white)
-
in css , the thing to the left of {
is called the selector clause
it ALWAYS selects ALL of whatever
so --calendarcolor is ALWAYS the same
but prefixing w .calendar_name
eliminates all other entries which do NOT have the same class applied -
‘–oppositeColor’ CSS variable is that. It would be decided as white or black by calculation with the lighteness of ‘–calendarColor’ automatically. Anyway, mid-range color would be the issue.
You can specify special event with this CSS selector;
.CX3 .event.fullday.CALENDAR_NAME, .CX3 .event.multiday.CALENDAR_NAME { background-color: var(--calendarColor); color: black; /* whatever you want */ ... }
-
@sdetweil Hi I’m a beginner to css. Do I only change it in custom css?
Thank-you for any help -
@videogame95
ALL of your changes for css go in custom.css
ALL of your config goes in config.jsnever edit any of the distributed files, MM or module… as they would break updates…
-
This post is deleted! -
@videogame95 I’m sorry. none of that makes sense
what is googlecalendar, and what does your phone have to do w that?
3 events?
Google assistant and phone ‘contact’ won’t connect?
web connection w Jarvis?
trying to change the board (border?) around text ?
-
@sdetweil
Hi sorry when I had my old googleassistant install
I could ask it what my daughters name and it new
And answer is Megan etc.With the new bugsonuent .fr googleassistant
It say I have give permission in my phone if ask the same question. I have turning all my setting in phone give it the permission. But it not working .
I used Bugsounet.ft default configuration setting what sets up activation word as javisAny help thanks