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

    Posts

    Recent Best Controversial
    • RE: custom css for module question

      @greedyvegan said in custom css for module question:

      1 - multi-day or single event, can I move that to the right
      to make the row narrower ? “Tuesday, March 19th” is a little redundant because the mini month tells me that.
      I understand IF a day happens to have multiple events it would create multiple rows.

      As you know already, Events could be more than one. So what you want is; if there is only one event, it should be one-liner with the date(or with relative day identifier), but if there are N events, makes multi-rows.
      Maybe if it is possible, it will not be so pretty. And the look would be similar to the default calendar module. If so, use the default calendar module instead.

      2 - this is related but unrelated to the calendar, some modules don’t have the simple {font-size: 12px;color red;} they use classes of bright and dimmed and or use “1em” for the size or “var(–color-text)”

      There is no standard style guide for modules, so every module has it’s own look & feel. You have to override each style by yourself.
      Anyway, some modules respects the style of the default modules. They might use the values those are defined in css/main.css
      You can override some of the default styles in css/custom.css like below;

      /* css/custom.css */
      :root {
        --color-text: darkorange;
        --color-text-dimmed: darkgreen;
        --color-text-bright: crimson;
        --font-size: 16px;
        --font-size-small: 12px;
      }
      

      original
      64fe0f1f-874d-4476-a801-77b68a86981a-image.png

      transformed
      4d6e2716-8fbd-4ce6-a2d9-da312b0b375a-image.png

      posted in Custom CSS
      M
      MMRIZE
    • RE: MMM-MagicMover - transfer repo

      @C-son
      In my experience, it’s better to archive your module, not to transfer it to anyone.
      Or just leave it as it is.

      posted in Development
      M
      MMRIZE
    • RE: PIR sensor to turn on LED strip

      @Egnos
      ' USER_PRESENCE' !== 'USER_PRESENCE'

      posted in General Discussion
      M
      MMRIZE
    • RE: I have a question about the default alert

      @ray
      https://docs.magicmirror.builders/modules/alert.html#developer-notes

      posted in Troubleshooting
      M
      MMRIZE
    • RE: Font for non-latin characters

      @jv2007
      But, more simple way is; just use this;

      body {
        font-family: 'Open Sans Condensed', 'Noto Sans KR';
      }
      

      Open Sans Condensed font doesn’t have any Korean characters, so when the renderer meet Korean chars, the second fallback Noto Sans KR would be applied instead of Open Sans Condensed.

      5dad8c9d-2cf0-4c04-a3e7-542682a1f0d8-image.png

      posted in Custom CSS
      M
      MMRIZE
    • RE: Automatic checking of all MagicMirror² modules

      One of the most popular modules MMM-Remote-Control uses similar JSON as a module-list.
      And MMM-Remote-Control-Repository are serving that JSON file for MMM-Remote-Control.
      However, if it is possible to serve a similar JSON URI, it could be a good replacement.

      posted in Development
      M
      MMRIZE
    • RE: RPI 4 hibernation

      @Egnos
      Impossible. None of the Raspberry Pis has had a “sleeping” or “hibernating” mode.
      And Pi itself has no feature to wake up by time or WOL. So you may need additional h/w like a smart outlet or HAT (e.g. wittyPi) for controlling power externally, and their price is higher than the saving amount from Pi.

      posted in General Discussion
      M
      MMRIZE
    • RE: Connecting Modules to Each Other

      @tonkxy
      And there be already similar modules. Look inside and study how they did.

      posted in Troubleshooting
      M
      MMRIZE
    • RE: Dynamic Font Colors

      @ijoshea
      I had the same needs on building modules. (btw, GooglePhotos and CX3 were built by me :D )

      Sometimes I suggested other module’s background for the readability. Sometimes, I made an auto-calculated contrast color(e.g. CX3)

      My final conclusion is… waiting for new CSS feature contrast-color(). It will be introduced later this year in the most modern browsers.
      https://drafts.csswg.org/css-color-5/#contrast-color

      posted in Custom CSS
      M
      MMRIZE
    • RE: Automatic checking of all MagicMirror² modules

      @Jalibu Didn’t do that yet? :D

      posted in Development
      M
      MMRIZE
    • 1 / 1