MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    enhancing Text Readability on Bright Wallpapers: Adding Background Textures or Boxes with CSS?

    Scheduled Pinned Locked Moved Custom CSS
    11 Posts 3 Posters 1.5k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      sdetweil @Socrates
      last edited by sdetweil

      @Socrates there is no way currently to deal with this problem. i want it too.

      you can provide a background for a module in css, but it will be above the background. and the more opaque it is the more it obscures the background and starts to make MagicMirror screen like a bunch of post-it notes

      my background is pictures, so constantly changing

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @Socrates
        last edited by sdetweil

        @Socrates maybe invert
        https://developer.mozilla.org/en-US/docs/Web/CSS/filter-function/invert

        i dont know if its live or at draw time assuming a stable background

        mixed blend mode sounds better
        https://css-tricks.com/reverse-text-color-mix-blend-mode/

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          Socrates @sdetweil
          last edited by

          @sdetweil said in nhancing Text Readability on Bright Wallpapers: Adding Background Textures or Boxes with CSS?:

          @Socrates maybe invert
          https://developer.mozilla.org/en-US/docs/Web/CSS/filter-function/invert

          i dont know if its live or at draw time assuming a stable background

          mixed blend mode sounds better
          https://css-tricks.com/reverse-text-color-mix-blend-mode/

          Hello and Good Evening Sam, thanks for looking into my posts and helping with your valuable tips as always.
          I found something that might interest you too.
          Check out
          MMM-Glassy module.
          https://github.com/bugsounet/MMM-Glassy

          I was able to achieve this. In this module u dont need to add css layers for each module, they will automatically show up in all the modules u have. Infact you can add exceptions to which u dont want the mmm-glassy module wrap around the module.

          mm1.JPG

          This is how i did it.

          {
            module: "MMM-Glassy",
            disabled: false,
            config: {
              debug: false,
              ignoreModules: ["MMM-Worldclock","MMM-Remote-Control","MMM-OpenmapWeather","MMM-OpenWeatherMapForecast","MMM-Mov>
              modulePadding: "10px",
              moduleRadius: "10px",
              moduleShadow: "5px",
              moduleBackgroundRGB: "0,0,0",
              moduleBackgroundOpacity: "15%",
              moduleBorderRGB: "255,255,255",
              moduleBorderOpacity: "10%",
              moduleShadowOffsetX: "-5px",
              moduleShadowOffsetY: "-5px",
              moduleShadowBlur: "8px",
              moduleShadowColor: "black",
              moduleBlur: "5px",
              moduleSpacing: "15px",
              mirrorMargin: "10px",
              mirrorBackground: false,
              mirrorBackgroundOnSuspend: true
            }
          },
          
          
          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @Socrates
            last edited by

            @Socrates ok, don’t see the effect and don’t know what glassy means

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              Socrates
              last edited by

              I will further tweak the look of the layer so to make it look smart and classy

              1 Reply Last reply Reply Quote 0
              • S Offline
                Socrates @sdetweil
                last edited by

                Look at the calendar items on the left hand side of the screenshot for reminders and appointments, and national holidays, also ecobee module. I just added the glassy effect on the items that are hard to read

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @Socrates
                  last edited by

                  @Socrates does that mean the blur box?

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @sdetweil
                    last edited by sdetweil

                    @sdetweil ok, this is my screen with pages enabled
                    Screenshot at 2024-12-18 18-36-07.jpg

                    the date is completely washed out top left. above the time

                    using MMM-ImagesPhotos with blur(8) and fill

                    the unblurred section is the photo resized to keep aspect ratio consistent
                    (not cover or contain)
                    so it changes with every image

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @sdetweil
                      last edited by

                      @Socrates sometimes the blur is top and bottom
                      Screenshot at 2024-12-18 18-47-45.jpg

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      J 1 Reply Last reply Reply Quote 0
                      • J Offline
                        jakabasej4 @sdetweil
                        last edited by

                        @sdetweil said in enhancing Text Readability on Bright Wallpapers: Adding Background Textures or Boxes with CSS?:

                        @Socrates sometimes the blur is top and bottom https://eldfall-chronicles.com/eldfall-chronicles-northern-wind/
                        https://3dtrcek.com/en/asa-filament
                        Screenshot at 2024-12-18 18-47-45.jpg

                        cool

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy