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.

    First MagicMirror

    Scheduled Pinned Locked Moved Show your Mirror
    28 Posts 13 Posters 28.5k Views 14 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.
    • F Offline
      flodus
      last edited by flodus

      Hello !
      Your theme is so beautiful and minimalistic, i love that !
      I want to know how can I change css files to have colored icons for the current weather and forecast weather ?

      I use this custom.css code with the weather an forecast modules

      .currentweather .wi-sunrise {
      color: #ffd700;
      }
      .currentweather .wi-sunset {
      color: #ffa500;
      }
      .currentweather .wi-day-sunny {
      color: #ffff00;
      }
      .currentweather .wi-night-showers {
      color: #55acee;
      }
      .currentweather .wi-degrees {
      color: #415;
      }
      .currentweather .wi-rain {
      color: #55acee;
      }
      .currentweather .wi-showers {
      color: #55acee;
      }
      .currentweather .wi-night-showers {
      color: #55acee;
      }
      .currentweather .wi-night-alt-cloudy-windy {
      color: #aaa;
      }
      .currentweather .wi-night-cloudy {
      color: #aaa;
      }
      .currentweather .wi-cloudy {
      color: #aaa;
      }
      .currentweather .wi-day-cloudy {
      color: #aaa;
      }
      .currentweather .wi-cloudy {
      color: #aaa;
      }
      .currentweather .wi-cloudy-windy {
      color: #aaa;
      }
      .currentweather .wi-showers {
      color: #55acee;
      }
      .currentweather .wi-thunderstorm {
      color: #ff00ff;
      }
      .currentweather .wi-snow {
      color: #fff;
      }
      .currentweather .wi-fog {
      color: #999;
      }
      .currentweather .wi-night-clear {
      color: #fff;
      }
      .currentweather .wi-night-rain {
      color: #55acee;
      }
      .currentweather .wi-night-thunderstorm {
      color: #ff00ff;
      }
      .currentweather .wi-night-snow {
      color: #fff;
      }
      
       
      .weatherforecast .wi-sunrise {
      color: #ffd700;
      }
      .weatherforecast .wi-sunset {
      color: #ffa500;
      }
      .weatherforecast .wi-day-sunny {
      color: #ffff00;
      }
      .weatherforecast .wi-night-showers {
      color: #55acee;
      }
      .weatherforecast .wi-degrees {
      color: #415;
      }
      .weatherforecast .wi-rain {
      color: #55acee;
      }
      .weatherforecast .wi-showers {
      color: #55acee;
      }
      .weatherforecast .wi-night-showers {
      color: #55acee;
      }
      .weatherforecast .wi-night-alt-cloudy-windy {
      color: #aaa;
      }
      .weatherforecast .wi-night-cloudy {
      color: #aaa;
      }
      .weatherforecast .wi-cloudy {
      color: #aaa;
      }
      .weatherforecast .wi-day-cloudy {
      color: #aaa;
      }
      .weatherforecast .wi-cloudy {
      color: #aaa;
      }
      .weatherforecast .wi-cloudy-windy {
      color: #aaa;
      }
      .weatherforecast .wi-showers {
      color: #55acee;
      }
      .weatherforecast .wi-thunderstorm {
      color: #ff00ff;
      }
      .weatherforecast .wi-snow {
      color: #fff;
      }
      .weatherforecast .wi-fog {
      color: #999;
      }
      .weatherforecast .wi-night-clear {
      color: #fff;
      }
      .weatherforecast .wi-night-rain {
      color: #55acee;
      }
      .weatherforecast .wi-night-thunderstorm {
      color: #ff00ff;
      }
      
      delightedCrowD 1 Reply Last reply Reply Quote 1
      • bheplerB Offline
        bhepler Module Developer
        last edited by

        Please use the markdown features of the board when posting code.

        F 1 Reply Last reply Reply Quote 0
        • F Offline
          flodus @bhepler
          last edited by

          @bhepler
          thank you for this reminder :smiling_face_with_open_mouth_cold_sweat:
          i’ve edited my post !

          1 Reply Last reply Reply Quote 0
          • delightedCrowD Offline
            delightedCrow Project Sponsor Module Developer @flodus
            last edited by

            @flodus thanks for the comments, sorry for the wait in reply :)

            I’m using the Weather Icons class names for the DarkSky API (formerly Forecast.io), so you can add a CSS color rule for each of these icon classes (this listed taken from the API here):

            wi-forecast-io-clear-day: day-sunny
            wi-forecast-io-clear-night: night-clear
            wi-forecast-io-rain: rain
            wi-forecast-io-snow: snow
            wi-forecast-io-sleet: sleet
            wi-forecast-io-wind: strong-wind
            wi-forecast-io-fog: fog
            wi-forecast-io-cloudy: cloudy
            wi-forecast-io-partly-cloudy-day: day-cloudy
            wi-forecast-io-partly-cloudy-night: night-cloudy
            wi-forecast-io-hail: hail
            wi-forecast-io-thunderstorm: thunderstorm
            wi-forecast-io-tornado: tornado
            

            So for example, if you wanted to change the sunny day icon color you would add the following rule to your custom.css file:

            .wi-forecast-io-clear-day {
              color: #ffff00;
            }
            

            If you want to target the forecast sunny day icon specifically you would add .forecast before the icon class name like this:

            .forecast .wi-forecast-io-clear-day {
              color: #ffff00;
            }
            

            And if you want to target the current day’s sunny day icon specifically you would add .current__temperature before the icon class name like this:

            .current__temperature .wi-forecast-io-clear-day {
              color: #ffff00;
            }
            

            Hope this helps!

            1 Reply Last reply Reply Quote 0
            • WILLIAM_WANDIEW Offline
              WILLIAM_WANDIE
              last edited by

              This is really nice…

              delightedCrowD 1 Reply Last reply Reply Quote 0
              • delightedCrowD Offline
                delightedCrow Project Sponsor Module Developer @WILLIAM_WANDIE
                last edited by

                @WILLIAM_WANDIE Thanks a ton :D

                1 Reply Last reply Reply Quote 0
                • P Offline
                  pnobrega
                  last edited by

                  Hi. Great look.
                  By any change you took pics while mounting?
                  Looking for ideias for the frame and how to put all together and secure…
                  thanks

                  delightedCrowD 1 Reply Last reply Reply Quote 0
                  • delightedCrowD Offline
                    delightedCrow Project Sponsor Module Developer @pnobrega
                    last edited by

                    @pnobrega Thanks, I did a couple of blog posts about the monitor tear down and the framing process which show some pics.

                    This version of Wallberry is mostly a prototype held together with hope and electrical tape, so I don’t know how great a model it will be for you (others have done it much better with better tools), but it’s a fun example of doing a wall display with few resources.

                    1 Reply Last reply Reply Quote 0
                    • HayyatAliH Offline
                      HayyatAli
                      last edited by

                      well done…liked your work…i m interested to build this mirror but really don’t know how to start???from where should i start???any help???

                      mumblebajM delightedCrowD 2 Replies Last reply Reply Quote 0
                      • mumblebajM Offline
                        mumblebaj Module Developer @HayyatAli
                        last edited by

                        @HayyatAli
                        In my opinion, get a Pi 3 B+, download the software and follow the instructions to install. Then play around with some of the modules and see how far you get. Took me only a few hours to get mine up an running and I explore different modules as often as I can.

                        Check out my modules at: https://github.com/mumblebaj?tab=repositories
                        Check my blog-post: https://mumblebaj.xyz/

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 1 / 3
                        • 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