<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[MMM-CalendarExt3 color formatting]]></title><description><![CDATA[<p dir="auto">I’m new to Magic Mirror, but am running into an issue getting MMM-CalendarExt3 to format colors properly. I have been able to pass multiple calendars and the events are displaying the correct information, but the color formatting for each calendar is not working, they are all just showing white text or white background with black text. I know some color is working as the weekends were showing up red and “dodgerblue” before I commented those out (Go Padres!).  I’m running module version 1.8.0 and have the following calendar snippet in my config.js file:</p>
<pre><code>{
module: 'calendar',
header: 'Upcoming Events',
position: 'top_left',
config: {
     coloredText: true,
     coloredSymbol: true,
     customEvents: [{keyword: "Birthday", symbol: "birthday-cake", color: "#FFFF00"}],
     calendars: [
          {
          fetchInterval: 1000*60*60*24*7, //Holiday Calendar
          name: "holidays",
          color: "#385723", 
          symbol: 'umbrella-beach',
          broadcastPastEvents: true, 
          url: 'https://calendar.google.com/calendar/.../basic.ics',
          },
          {
          fetchInterval: 1000*60*5,  //Family Calendar
          name: "Family",
          color: "#7030A0",
          symbol: 'calendar-check',
          broadcastPastEvents: true, 
          url: "https://calendar.google.com/.../basic.ics",
          },
     ]
} //close config
}, //close module
</code></pre>
<p dir="auto">The keyword for birthdays is working within the default calendar, but that does not transfer over to the CalendarExt3 Module.<br />
Additionally, in looking at the .css file, I see the following snippet:</p>
<pre><code>.CX3 .event.fullday,
.CX3 .event.multiday {
  background-color: var(--calendarColor);
  mix-blend-mode: difference;
  border-radius: 4px;
  color: var(--oppositeColor);
}


.CX3 .event.singleday .headline:not(.useSymbol)::before,
.CX3 .event.singleday .headline.useSymbol .symbol.noSymbol::before {
  content: "⬤";
  color: var(--calendarColor);
  display: inline-block;
  padding-right: 2px;
  font-size: 75%;
}
</code></pre>
<p dir="auto">It appears the CalendarExt3 module should be pulling the color from the basic calendar module in the config file, but I’m not seeing it.<br />
I do see in the <code>.CX3 .event {}</code> block above this that uses <code>color:--defaultcolor</code>. Is this overriding something? Any guidance would be appreciated.</p>
]]></description><link>https://forum.magicmirror.builders/topic/18446/mmm-calendarext3-color-formatting</link><generator>RSS for Node</generator><lastBuildDate>Fri, 14 Aug 2026 18:59:00 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/18446.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 26 Jan 2024 06:51:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MMM-CalendarExt3 color formatting on Wed, 28 Feb 2024 14:23:58 GMT]]></title><description><![CDATA[<p dir="auto">@jlward73 many times the content pasted into the forum does not use a code wrapper.</p>
<p dir="auto">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)<br />
zoom in on these two sets of quotes<br />
’<br />
"</p>
<pre><code class="language-text">"'
</code></pre>
<p dir="auto">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.</p>
]]></description><link>https://forum.magicmirror.builders/post/115974</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115974</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 28 Feb 2024 14:23:58 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-CalendarExt3 color formatting on Wed, 28 Feb 2024 14:09:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a></p>
<p dir="auto">ok, thank you.<br />
I may have misread what he wrote.</p>
]]></description><link>https://forum.magicmirror.builders/post/115973</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115973</guid><dc:creator><![CDATA[greedyvegan]]></dc:creator><pubDate>Wed, 28 Feb 2024 14:09:20 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-CalendarExt3 color formatting on Wed, 28 Feb 2024 14:06:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/greedyvegan" aria-label="Profile: greedyvegan">@<bdi>greedyvegan</bdi></a> said in <a href="/post/115971">MMM-CalendarExt3 color formatting</a>:</p>
<blockquote>
<p dir="auto">What do I have to do to get config check to  diagnose the exact issue?</p>
</blockquote>
<p dir="auto">config check cannot get any closer…</p>
<p dir="auto">it ‘compiles’ the source, and dies when it discovers something incorrect.<br />
it cannot tell WHY it is incorrect…  that is a human thing</p>
<p dir="auto">all it can say is ‘here’ is bad. and this is the logical error I encountered. (‘unexpected token’ for example)</p>
]]></description><link>https://forum.magicmirror.builders/post/115972</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115972</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 28 Feb 2024 14:06:56 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-CalendarExt3 color formatting on Wed, 28 Feb 2024 13:59:44 GMT]]></title><description><![CDATA[<p dir="auto">@jlward73 said in <a href="/post/115134">MMM-CalendarExt3 color formatting</a>:</p>
<blockquote>
<p dir="auto">So I figured out what the problem was, and it was much simpler than I suspected. When I ran <code>npm run config:check</code>, it made me change many of my quotation marks to “correct” the syntax.</p>
</blockquote>
<p dir="auto">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.</p>
<p dir="auto">What do I have to do to get config check to  diagnose the exact issue?</p>
]]></description><link>https://forum.magicmirror.builders/post/115971</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115971</guid><dc:creator><![CDATA[greedyvegan]]></dc:creator><pubDate>Wed, 28 Feb 2024 13:59:44 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-CalendarExt3 color formatting on Mon, 29 Jan 2024 20:50:28 GMT]]></title><description><![CDATA[<p dir="auto">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<br />
<code>module: 'calendar'</code>  instead of <code>module: "calendar"</code> in the config file. When I ran <code>npm run config:check</code>, 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.</p>
]]></description><link>https://forum.magicmirror.builders/post/115134</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115134</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Mon, 29 Jan 2024 20:50:28 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-CalendarExt3 color formatting on Mon, 29 Jan 2024 18:59:55 GMT]]></title><description><![CDATA[<p dir="auto">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.</p>
<pre><code>* CalendarExtende3 */

/* Sets event titles to configured color */
.CX3A .event .description {
  display: none;
}

.CX3A .event .location {
  display: none;
}
</code></pre>
<p dir="auto">I have 10 different calendars which my default calendar loads, all of which are displayed in CX3 with no issues.</p>
]]></description><link>https://forum.magicmirror.builders/post/115132</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115132</guid><dc:creator><![CDATA[ZiggidyZ]]></dc:creator><pubDate>Mon, 29 Jan 2024 18:59:55 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-CalendarExt3 color formatting on Mon, 29 Jan 2024 18:51:25 GMT]]></title><description><![CDATA[<p dir="auto">Why aren’t you guys using the transformer?</p>
<pre><code>eventTransformer: (ev) =&gt; {
					if (ev.title.search("🏠") &gt; -1) {
						ev.title = ev.title.replace("🏠 Personal Commitment", "🏠 Personal Event");
						ev.color = 'yellow';
					}
					if (ev.title.search("✈ Flight") &gt; -1) {
						ev.title = ev.title.replace("✈ Flight", "🏠 Personal Event");
						ev.color = 'yellow';
					}
					if (ev.title.search("busy") &gt; -1) {
						ev.title = ev.title.replace("busy", "🏠 Mom Event");
						ev.color = 'yellow';
					}
					if (ev.title.search("Weekley") &gt; -1) {
						ev.title = ev.title.replace("Weekley", "Weekly");
					}
					return ev
				}
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/115130</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115130</guid><dc:creator><![CDATA[BKeyport]]></dc:creator><pubDate>Mon, 29 Jan 2024 18:51:25 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-CalendarExt3 color formatting on Mon, 29 Jan 2024 08:49:27 GMT]]></title><description><![CDATA[<p dir="auto">@jlward73<br />
<a href="https://github.com/MMRIZE/MMM-LogExt" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/MMRIZE/MMM-LogExt</a><br />
You can track Frontend logs and notifications in the backend log with ease.</p>
]]></description><link>https://forum.magicmirror.builders/post/115105</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115105</guid><dc:creator><![CDATA[MMRIZE]]></dc:creator><pubDate>Mon, 29 Jan 2024 08:49:27 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-CalendarExt3 color formatting on Sun, 28 Jan 2024 21:21:34 GMT]]></title><description><![CDATA[<p dir="auto">@jlward73 look in the 3rd party modules list for one that shows the notifications in the developers window (ctrl-shift-i, select the console tab)</p>
]]></description><link>https://forum.magicmirror.builders/post/115083</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115083</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 28 Jan 2024 21:21:34 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-CalendarExt3 color formatting on Sun, 28 Jan 2024 18:05:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a>  How do I do that? As I’m reading the posts from you and MMRIZE, I feel like the code is right in my default calendar and in the css file for CalendarExt3, but maybe the color property is not being broadcast, so I would like to check that.</p>
]]></description><link>https://forum.magicmirror.builders/post/115079</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115079</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Sun, 28 Jan 2024 18:05:04 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-CalendarExt3 color formatting on Sat, 27 Jan 2024 01:07:08 GMT]]></title><description><![CDATA[<p dir="auto">@jlward73<br />
About the style of event;</p>
<p dir="auto"><img src="/assets/uploads/files/1706316884737-8c0b2af8-7a7d-4f88-9092-1dff9e791054-image.png" alt="8c0b2af8-7a7d-4f88-9092-1dff9e791054-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">The default styles are like these;</p>
<ul>
<li>Singleday Event (start and end in one day)
<ul>
<li>symbol : <code>calendarColor</code></li>
<li>text : white (<code>defaultColor</code>)</li>
<li>background : none</li>
</ul>
</li>
<li>Fullday Event &amp; Multiday Event
<ul>
<li>background : <code>calendarColor</code></li>
<li>symbol &amp; text : white or black (<code>oppositeColor</code>) / <code>oppositeColor</code> is calculated by <code>calendarColor</code> to get more visibility by contrast.</li>
</ul>
</li>
</ul>
<p dir="auto">So, I think you are asking <code>text of singleday event</code>.  To be honest, I don’t like the colorful text, so it is not considered in the default style.</p>
<p dir="auto">However, of course, you can override it.</p>
<pre><code class="language-css">/* In your custom.css */
.CX3 .event.singleday .headline .title,
.CX3 .event.singleday .headline .time {
  color: var(--calendarColor);
}
</code></pre>
<p dir="auto">Then you can get this.<br />
<img src="/assets/uploads/files/1706317611011-ebf942ae-b8dc-4fe5-aaae-0ab13db73a8a-image.png" alt="ebf942ae-b8dc-4fe5-aaae-0ab13db73a8a-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/115024</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115024</guid><dc:creator><![CDATA[MMRIZE]]></dc:creator><pubDate>Sat, 27 Jan 2024 01:07:08 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-CalendarExt3 color formatting on Fri, 26 Jan 2024 23:38:20 GMT]]></title><description><![CDATA[<p dir="auto">@jlward73 as the data is broadcast to all modules, you could install one of the notification modules and look at the event data to see what is there</p>
<p dir="auto">also try “red” or “green” as the color, altho that shouldn’t matter</p>
]]></description><link>https://forum.magicmirror.builders/post/115023</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115023</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 26 Jan 2024 23:38:20 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-CalendarExt3 color formatting on Fri, 26 Jan 2024 23:12:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mmrize" aria-label="Profile: MMRIZE">@<bdi>MMRIZE</bdi></a>  I’m not concerned about the keyword transformation custom color going through. What I am really trying to figure out is why the original colors that I assign (#385723 for ‘holidays’, and #7030A0 for ‘Family’) are not showing up on the CalendarExt3 Module. The symbols are passing properly, even the keyword transform for “birthday-cake”, but none of the colors are passing.</p>
]]></description><link>https://forum.magicmirror.builders/post/115022</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115022</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Fri, 26 Jan 2024 23:12:05 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-CalendarExt3 color formatting on Fri, 26 Jan 2024 15:58:23 GMT]]></title><description><![CDATA[<p dir="auto">@jlward73<br />
Unfortunately, default calendar module doesn’t broadcast custom color of events, only transfer original color assigned in calendar. Shamed.<br />
Instead you can transform events in CX3 itself.</p>
]]></description><link>https://forum.magicmirror.builders/post/115016</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115016</guid><dc:creator><![CDATA[MMRIZE]]></dc:creator><pubDate>Fri, 26 Jan 2024 15:58:23 GMT</pubDate></item></channel></rss>