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

    Posts

    Recent Best Controversial
    • RE: [MMM-calendarExtDays] Alternative days calendar view

      I really like this view so far. One change I like to do is this:

      eventContentWrapper.setAttribute(“title”, event.title);

      This sets a custom attribute called “title” and it allows a user to then custom color individual entries with css like this:

      .MMM-calendarExtDays .eventContent[title^=“C–”] { color:DarkViolet; }

      -Earle

      posted in Utilities
      emloweE
      emlowe
    • RE: MMM-MLB

      I made a small change to this module.

      If you add the following:

      awayTempColumn.setAttribute(“team-name”, games.away_team_name);
      homeTempColumn.setAttribute(“team-name”, games.home_team_name);

      Then you can do this in your custom.css:

      .MMM-MLB .awayteam[team-name=“Giants”] { color: #FB5B1F; font-weight: bold; }

      .MMM-MLB .hometeam[team-name=“Giants”] { color: #FB5B1F; font-weight: bold; }

      And now, my Giants are in Giant orange…

      -Earle

      posted in Sport
      emloweE
      emlowe
    • 1 / 1