• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

mmm-suncalc - Text only display of sunrise, sunset and other sun events

Scheduled Pinned Locked Moved Utilities
29 Posts 8 Posters 10.9k Views 8 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.
  • L Offline
    Lordy
    last edited by May 2, 2020, 8:47 AM

    Hello,

    can sunrise and sunset be colored, if so, can you please tell me the line (command) for css?

    R 1 Reply Last reply May 4, 2020, 7:28 AM Reply Quote 0
    • R Offline
      retroflex Project Sponsor Module Developer @Lordy
      last edited by May 4, 2020, 7:28 AM

      @Lordy There are no css names to distinguish sunrise and sunset. But you can add html directly to the config instead. See my previous answer to this thread for an example. So something like:

      text: 'Sunrise < span style="color: #ffff00" >< sunrise >< /span >
      

      Remove the extra spaces next to the brackets. Had to include them or otherwise the forum would show nothing.

      L 1 Reply Last reply May 4, 2020, 7:54 AM Reply Quote 1
      • L Offline
        Lordy @retroflex
        last edited by May 4, 2020, 7:54 AM

        @retroflex
        Where exactly? Here my config:

        text: ‘

        ’+‘’+‘’+‘
        ☀Sonnenaufgang: -
        ☾Sonnenuntergang: -
        ’

        L 1 Reply Last reply May 4, 2020, 7:55 AM Reply Quote 0
        • L Offline
          Lordy @Lordy
          last edited by Lordy May 4, 2020, 7:56 AM May 4, 2020, 7:55 AM

          Sunrise.JPG

          1 Reply Last reply Reply Quote 0
          • R Offline
            retroflex Project Sponsor Module Developer
            last edited by May 4, 2020, 12:00 PM

            @Lordy Aha. Then change one of the < td > to < td style=“color: #ffff00” >

            L 1 Reply Last reply May 4, 2020, 12:19 PM Reply Quote 1
            • L Offline
              Lordy @retroflex
              last edited by May 4, 2020, 12:19 PM

              @retroflex
              Thank U,that’s it. :thumbs_up_light_skin_tone:

              L 1 Reply Last reply May 4, 2020, 12:20 PM Reply Quote 0
              • L Offline
                Lordy @Lordy
                last edited by Lordy May 4, 2020, 12:27 PM May 4, 2020, 12:20 PM

                Corona Screen.JPG

                R 1 Reply Last reply May 4, 2020, 2:00 PM Reply Quote 1
                • R Offline
                  retroflex Project Sponsor Module Developer @Lordy
                  last edited by May 4, 2020, 2:00 PM

                  @Lordy Great that it worked out! I like the idea, I’ll colorize mine too now.

                  L 1 Reply Last reply May 4, 2020, 4:35 PM Reply Quote 0
                  • L Offline
                    Lordy @retroflex
                    last edited by May 4, 2020, 4:35 PM

                    @retroflex said in mmm-suncalc - Text only display of sunrise, sunset and other sun events:

                    Great that it worked out! I like the idea, I’ll colorize mine too now.

                    Enjoying working and i would like to see the results.:grinning_face_with_smiling_eyes:

                    R 1 Reply Last reply May 5, 2020, 11:22 AM Reply Quote 0
                    • R Offline
                      retroflex Project Sponsor Module Developer @Lordy
                      last edited by May 5, 2020, 11:22 AM

                      @Lordy b1274dcb-e80a-4904-adff-23b8f41dfdb6-image.png

                      L 2 Replies Last reply May 5, 2020, 11:37 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 2 / 3
                      2 / 3
                      • First post
                        17/29
                        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