Read the statement by Michael Teeuw here.
MMM-CalendarExt3 color formatting
-
I understand 100% what you are saying, I had this same issue. What you are experiencing is the DEFAULT of CX3, that is how it looks if you don’t edit anything. By default the ICON next to the event will be the color you configured, but the event text will all be white. To change this you will need to edit your CUSTOM css file, DO NOT edit the css file inside of the module. I started off making that same mistake. The trouble in doing that, is that when a module gets updated, you lose anything you did. The customizations should be done in that custom.css file and should be backed up. Copy the code below into your ~MagicMirror/css/custom.css file, save, then refresh the browser window (I use the MMM-Remote-Control to refresh mine remotely), and you should see it load with the colors you configured in the default calendar module.
* CalendarExtende3 */ /* Sets event titles to configured color */ .CX3A .event .description { display: none; } .CX3A .event .location { display: none; }
I have 10 different calendars which my default calendar loads, all of which are displayed in CX3 with no issues.
-
So I figured out what the problem was, and it was much simpler than I suspected. For some reason, in my default calendar module, I used
module: 'calendar'
instead ofmodule: "calendar"
in the config file. When I rannpm run config:check
, it made me change many of my quotation marks to “correct” the syntax. When I went through and changed everything to the double quotes, the color coding passed through to CalendarExt3 just as expected/designed. Now, I think I can go through and tweak the single day events as MMRIZE was suggesting to match my background pictures so they stand out appropriately for my set up. Thank you for all the guidance. -
@jlward73 said in MMM-CalendarExt3 color formatting:
So I figured out what the problem was, and it was much simpler than I suspected. When I ran
npm run config:check
, it made me change many of my quotation marks to “correct” the syntax.whenever I run con fig check, it just says syntax error and I gotta figure what the issue is and it’s usually a missing comma.
What do I have to do to get config check to diagnose the exact issue?
-
@greedyvegan said in MMM-CalendarExt3 color formatting:
What do I have to do to get config check to diagnose the exact issue?
config check cannot get any closer…
it ‘compiles’ the source, and dies when it discovers something incorrect.
it cannot tell WHY it is incorrect… that is a human thingall it can say is ‘here’ is bad. and this is the logical error I encountered. (‘unexpected token’ for example)
-
ok, thank you.
I may have misread what he wrote. -
@jlward73 many times the content pasted into the forum does not use a code wrapper.
when this happens, the content is assumed to be word processing ( ms word or like), and the double and single quotes are changed to match (curved)
zoom in on these two sets of quotes
’
""'
JavaScript uses text mode, (quotes are vertical not curved) and freaks out when encountering the word processing quotes, as they don’t match anything expected.