<?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-homeassistant-sensors Text Color]]></title><description><![CDATA[<p dir="auto">So i have this module working great, but the text is grey and is almost invisible. I tried to edit it via custom.css. Any advice would be great.</p>
<p dir="auto">My custom.css looks like this:</p>
<pre><code>.MMM-homeassistant-sensors {
  color: #FFFFFF;
}
</code></pre>
]]></description><link>https://forum.magicmirror.builders/topic/11222/mmm-homeassistant-sensors-text-color</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Jul 2026 14:24:20 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/11222.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 25 Sep 2019 19:41:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MMM-homeassistant-sensors Text Color on Mon, 12 Jun 2023 17:42:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/edd189" aria-label="Profile: edd189">@<bdi>edd189</bdi></a> other than the above, you would have to change the code</p>
]]></description><link>https://forum.magicmirror.builders/post/109785</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/109785</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 12 Jun 2023 17:42:45 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-homeassistant-sensors Text Color on Mon, 12 Jun 2023 17:42:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/edd189" aria-label="Profile: edd189">@<bdi>edd189</bdi></a> find the element, see if it has a class,  if so use it</p>
<p dir="auto">if not, figure the html path to get there and use that</p>
<p dir="auto">either in custom.css</p>
<p dir="auto">each entry for magicmirror<br />
starts with the module name as a class</p>
<pre><code>.modulename xxxx {
   styles
}
</code></pre>
<p dir="auto">xxx is a selector clause (selects the elements the enclosed styles will apply to<br />
they can be quite explicit…<br />
here is one from my MMM-Config module, to hide a generated element I don’t want to show</p>
<pre><code>.possibly-hidden-tab div:nth-child(2)  &gt; div &gt; div &gt;div &gt;ul &gt;li:only-child &gt;a[rel*="Item 1"] {
  display: none;
}
</code></pre>
<p dir="auto">I use this to remind me of the css selector clause elements<br />
<a href="https://www.w3schools.com/cssref/css_selectors.php" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.w3schools.com/cssref/css_selectors.php</a></p>
<p dir="auto">there is currently no selector clause attribute that can examine the text content of an element…  there is a spec proposal to extend .has() to allow  text elements…</p>
]]></description><link>https://forum.magicmirror.builders/post/109784</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/109784</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 12 Jun 2023 17:42:04 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-homeassistant-sensors Text Color on Mon, 12 Jun 2023 17:15: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">Any idea how I can change the text color of one specific word in this module?</p>
<p dir="auto"><img src="/assets/uploads/files/1686590069405-2023-06-12-13_13_47-magicmirror.jpg" alt="2023-06-12 13_13_47-MagicMirror².jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto">I want “peak” to be red, “shoulder” yellow, and “off-peak” green.</p>
<p dir="auto">I messed around with the custom.css file, but it doesnt look like it accepts conditional formatting.</p>
]]></description><link>https://forum.magicmirror.builders/post/109783</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/109783</guid><dc:creator><![CDATA[edd189]]></dc:creator><pubDate>Mon, 12 Jun 2023 17:15:20 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-homeassistant-sensors Text Color on Thu, 26 Sep 2019 00:27:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/scuppasteve" aria-label="Profile: scuppasteve">@<bdi>scuppasteve</bdi></a> cool… how is that one different than your second one?</p>
]]></description><link>https://forum.magicmirror.builders/post/61718</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/61718</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 26 Sep 2019 00:27:08 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-homeassistant-sensors Text Color on Thu, 26 Sep 2019 00:25:40 GMT]]></title><description><![CDATA[<p dir="auto">I got it figured out, i appreciate the help in getting this figured out.</p>
<pre><code>.MMM-homeassistant-sensors .dimmed {
  color: #FFFFFF;
}
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/61717</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/61717</guid><dc:creator><![CDATA[scuppasteve]]></dc:creator><pubDate>Thu, 26 Sep 2019 00:25:40 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-homeassistant-sensors Text Color on Wed, 25 Sep 2019 23:57:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/scuppasteve" aria-label="Profile: scuppasteve">@<bdi>scuppasteve</bdi></a> said in <a href="/post/61714">MMM-homeassistant-sensors Text Color</a>:</p>
<blockquote>
<p dir="auto">.module.MMM-homeassistant-sensors .dimmed {<br />
color: #FFFFFF;<br />
}<br />
that one is wrong for sure</p>
</blockquote>
]]></description><link>https://forum.magicmirror.builders/post/61715</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/61715</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 25 Sep 2019 23:57:19 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-homeassistant-sensors Text Color on Wed, 25 Sep 2019 23:56:24 GMT]]></title><description><![CDATA[<p dir="auto">I tried the following to no effect, not sure what the issue is.</p>
<pre><code>wrapper.className = 'dimmed small';

.module.MMM-homeassistant-sensors .dimmed {
  color: #FFFFFF;
}
</code></pre>
<p dir="auto">and</p>
<pre><code>wrapper.className = 'dimmed small';

.MMM-homeassistant-sensors .dimmed {
  color: #FFFFFF;
}
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/61714</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/61714</guid><dc:creator><![CDATA[scuppasteve]]></dc:creator><pubDate>Wed, 25 Sep 2019 23:56:24 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-homeassistant-sensors Text Color on Wed, 25 Sep 2019 20:19:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/scuppasteve" aria-label="Profile: scuppasteve">@<bdi>scuppasteve</bdi></a> no… custom.css is force loaded by the runtime.</p>
<p dir="auto">try a space between the module name and the .dimmed</p>
]]></description><link>https://forum.magicmirror.builders/post/61710</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/61710</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 25 Sep 2019 20:19:52 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-homeassistant-sensors Text Color on Wed, 25 Sep 2019 20:18:48 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">I tried what you suggested and it didn’t seem to have an effect. Is there something that i need to do in the /css/main.css to make the /css/custom.css load?</p>
]]></description><link>https://forum.magicmirror.builders/post/61709</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/61709</guid><dc:creator><![CDATA[scuppasteve]]></dc:creator><pubDate>Wed, 25 Sep 2019 20:18:48 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-homeassistant-sensors Text Color on Wed, 25 Sep 2019 19:48:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/scuppasteve" aria-label="Profile: scuppasteve">@<bdi>scuppasteve</bdi></a> said in <a href="/post/61705">MMM-homeassistant-sensors Text Color</a>:</p>
<blockquote>
<p dir="auto">.MMM-homeassistant-sensors {</p>
</blockquote>
<p dir="auto">u need the class name of the  text… u are going to override the class values…</p>
<p dir="auto">wrapper.className = ‘dimmed small’;</p>
<p dir="auto">.MMM-homeassistant-sensors.dimmed  {<br />
color: #FFFFFF;<br />
}</p>
]]></description><link>https://forum.magicmirror.builders/post/61707</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/61707</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 25 Sep 2019 19:48:07 GMT</pubDate></item></channel></rss>