• Resolved ruferryman

    (@ruferryman)


    Hello! Your plugin is great, but lacks automatic switching styles depending on the time of day (day – light, night – dark). I found this code, but I do not know how to apply it:

     var date = new Date ();
      var h = date.getHours ();
      if (h>20 || h<8) [night mode activation function]

    tell Me how you can implement it? Thanks in advance!

    • This topic was modified 6 years, 6 months ago by ruferryman.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author markoarula

    (@markoarula)

    Hello,

    I think I will add this to plugin options. Please give me a couple of days for this, I’m very busy at this moment.

    Best regards

    Is it possible to create a branch with that feature and you could review it whenever you have time?

    Plugin Author markoarula

    (@markoarula)

    Hi Prodigy,

    of course, you can create a new branch and if everything is ok I’ll push the changes to the new version.

    Best regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Switching depending on the time of day’ is closed to new replies.