MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. Fuergrissa
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    F
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 2
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: MMM-MonthlyCalendar, config and .css

      Thanks I did all of the things you suggest. The developer pane is really handy, but when I drill all the way down to individual calendar events there is no difference in class for events coming from different calendars (which do have the titleClass assigned). Looking in MMM-MonthlyCalendar.js there is a section at the end that looks like it is intended to inherit the color information from the event, but this doesn’t actually happen?

      if (e.color) {
                  var c = e.color;
      
                  if (e.fullDayEvent) {
                    div.style.backgroundColor = c;
                    if (getLuminance(div.style.backgroundColor) >= self.config.luminanceThreshold) {
                      div.style.color = "black";
                    }
                  } else {
                    div.style.color = c;
                  }
                }
      
      posted in Troubleshooting
      F
      Fuergrissa
    • RE: MMM-MonthlyCalendar, config and .css

      I’m trying to work through the same issue. I have specified a titleClass in the calendars module, in the main.css I have:

      .family {
           color: rgba(255,52,255,0.7);
      }
      

      and this causes events in the calandar module to show as magenta, however in the fourweeks calendar (MMM_MonthlyCalendar) thet still appear in white.

      Does this imply that this module does not use the event title, but some other part of the event? or am I missing something? I also tried

      .MMM-MonthlyCalendar.family {
           color: rgba(255,52,255,0.7);
      }
      
      posted in Troubleshooting
      F
      Fuergrissa
    • 1 / 1